diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 698e2b557..e8ba69c85 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -7711,14 +7711,71 @@ }, { "$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 report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" }, { - "$ref": "#/components/parameters/billing-usage-report-hour" + "$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_report_org" + "$ref": "#/components/responses/billing_usage_summary_report_org" }, "400": { "$ref": "#/components/responses/bad_request" @@ -12886,6 +12943,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -30363,165 +30428,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project-column" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -76494,14 +76400,71 @@ }, { "$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 report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ { - "$ref": "#/components/parameters/billing-usage-report-hour" + "$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_report_user" + "$ref": "#/components/responses/billing_usage_summary_report_user" }, "400": { "$ref": "#/components/responses/bad_request" @@ -76509,6 +76472,9 @@ "403": { "$ref": "#/components/responses/forbidden" }, + "404": { + "$ref": "#/components/responses/not_found" + }, "500": { "$ref": "#/components/responses/internal_error" }, @@ -109143,6 +109109,112 @@ } } }, + "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": "Organization Full", @@ -136631,6 +136703,112 @@ } } }, + "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/admin/overview/about-enterprise-accounts).\"", @@ -281536,6 +281714,28 @@ ] } }, + "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", @@ -289202,20 +289402,6 @@ } } }, - "project-column-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - }, "rate-limit-overview": { "value": { "resources": { @@ -307176,6 +307362,28 @@ ] } }, + "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", @@ -309267,13 +309475,22 @@ "type": "integer" } }, - "billing-usage-report-hour": { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", "in": "query", "required": false, "schema": { - "type": "integer" + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" } }, "actions-custom-image-definition-id": { @@ -310882,6 +311099,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-org" + } + } + } + } + }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -311140,6 +311372,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 96397c564..f9bd32e6c 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -5436,7 +5436,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_org" @@ -5453,6 +5452,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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-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 @@ -9305,6 +9344,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -21939,117 +21991,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#list-project-columns - parameters: - - "$ref": "#/components/parameters/project-id" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project-column" - examples: - default: - "$ref": "#/components/examples/project-column-items" - headers: - Link: - "$ref": "#/components/headers/link" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-column" - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '422': - "$ref": "#/components/responses/validation_failed_simple" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -55369,7 +55310,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_user" @@ -55386,6 +55326,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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-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 @@ -79385,6 +79367,85 @@ components: - discountAmount - netAmount - organizationName + 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: Organization Full @@ -100684,6 +100745,85 @@ components: - 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: |- @@ -210871,6 +211011,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + 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 @@ -217409,16 +217565,6 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - project-column-items: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' rate-limit-overview: value: resources: @@ -232878,6 +233024,22 @@ components: 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 @@ -234759,15 +234921,20 @@ components: required: false schema: type: integer - billing-usage-report-hour: - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` - is specified, the default `year`, `month`, and `day` are used. + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. in: query required: false schema: - type: integer + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string actions-custom-image-definition-id: name: image_definition_id description: Image definition ID of custom image @@ -236095,6 +236262,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-org" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-org" actions_runner_jitconfig: description: Response content: @@ -236261,6 +236437,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 698e2b557..e8ba69c85 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -7711,14 +7711,71 @@ }, { "$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 report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" }, { - "$ref": "#/components/parameters/billing-usage-report-hour" + "$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_report_org" + "$ref": "#/components/responses/billing_usage_summary_report_org" }, "400": { "$ref": "#/components/responses/bad_request" @@ -12886,6 +12943,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -30363,165 +30428,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project-column" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -76494,14 +76400,71 @@ }, { "$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 report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ { - "$ref": "#/components/parameters/billing-usage-report-hour" + "$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_report_user" + "$ref": "#/components/responses/billing_usage_summary_report_user" }, "400": { "$ref": "#/components/responses/bad_request" @@ -76509,6 +76472,9 @@ "403": { "$ref": "#/components/responses/forbidden" }, + "404": { + "$ref": "#/components/responses/not_found" + }, "500": { "$ref": "#/components/responses/internal_error" }, @@ -109143,6 +109109,112 @@ } } }, + "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": "Organization Full", @@ -136631,6 +136703,112 @@ } } }, + "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/admin/overview/about-enterprise-accounts).\"", @@ -281536,6 +281714,28 @@ ] } }, + "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", @@ -289202,20 +289402,6 @@ } } }, - "project-column-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - }, "rate-limit-overview": { "value": { "resources": { @@ -307176,6 +307362,28 @@ ] } }, + "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", @@ -309267,13 +309475,22 @@ "type": "integer" } }, - "billing-usage-report-hour": { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", "in": "query", "required": false, "schema": { - "type": "integer" + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" } }, "actions-custom-image-definition-id": { @@ -310882,6 +311099,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-org" + } + } + } + } + }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -311140,6 +311372,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 96397c564..f9bd32e6c 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -5436,7 +5436,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_org" @@ -5453,6 +5452,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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-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 @@ -9305,6 +9344,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -21939,117 +21991,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#list-project-columns - parameters: - - "$ref": "#/components/parameters/project-id" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project-column" - examples: - default: - "$ref": "#/components/examples/project-column-items" - headers: - Link: - "$ref": "#/components/headers/link" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-column" - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '422': - "$ref": "#/components/responses/validation_failed_simple" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -55369,7 +55310,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_user" @@ -55386,6 +55326,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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-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 @@ -79385,6 +79367,85 @@ components: - discountAmount - netAmount - organizationName + 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: Organization Full @@ -100684,6 +100745,85 @@ components: - 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: |- @@ -210871,6 +211011,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + 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 @@ -217409,16 +217565,6 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - project-column-items: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' rate-limit-overview: value: resources: @@ -232878,6 +233024,22 @@ components: 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 @@ -234759,15 +234921,20 @@ components: required: false schema: type: integer - billing-usage-report-hour: - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` - is specified, the default `year`, `month`, and `day` are used. + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. in: query required: false schema: - type: integer + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string actions-custom-image-definition-id: name: image_definition_id description: Image definition ID of custom image @@ -236095,6 +236262,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-org" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-org" actions_runner_jitconfig: description: Response content: @@ -236261,6 +236437,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 550b61713..20e5ccb7a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -53819,15 +53819,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -54070,6 +54061,363 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -71884,6 +72232,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -182549,428 +182905,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -605028,15 +604962,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -605273,6 +605198,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 938565e73..2f272cca7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &300 + type: &302 type: string description: The type of credit the user is receiving. enum: @@ -990,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &110 + schema: &112 title: Validation Error Simple description: Validation Error Simple type: object @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &634 + - &636 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1579,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &192 + - &194 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 @@ -1595,7 +1595,7 @@ paths: application/json: schema: type: array - items: &193 + items: &195 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1675,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &194 + default: &196 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &109 + schema: &111 title: Validation Error description: Validation Error type: object @@ -1803,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &197 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1917,7 +1917,7 @@ paths: - request - response examples: - default: &196 + default: &198 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &266 + properties: &268 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &267 + required: &269 - archive_url - assignees_url - blobs_url @@ -7414,7 +7414,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &166 + code_scanning_options: &168 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7608,7 +7608,7 @@ paths: description: Response content: application/json: - schema: &168 + schema: &170 type: array description: A list of default code security configurations items: @@ -7624,7 +7624,7 @@ paths: default configuration: *43 examples: - default: &169 + default: &171 value: - default_for_new_repos: public configuration: @@ -7955,7 +7955,7 @@ paths: - *42 - *45 responses: - '204': &170 + '204': &172 description: A header with no content is returned. '400': *14 '403': *29 @@ -8082,7 +8082,7 @@ paths: default: value: default_for_new_repos: all - configuration: &167 + configuration: &169 value: id: 1325 target_type: organization @@ -8167,7 +8167,7 @@ paths: application/json: schema: type: array - items: &171 + items: &173 type: object description: Repositories associated with a code security configuration and attachment status @@ -8468,7 +8468,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &172 + repository: &174 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8562,7 +8562,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &177 + - &179 name: state in: query description: |- @@ -8571,7 +8571,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &178 + - &180 name: severity in: query description: |- @@ -8580,7 +8580,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &179 + - &181 name: ecosystem in: query description: |- @@ -8589,14 +8589,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &180 + - &182 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 - - &181 + - &183 name: epss_percentage in: query description: |- @@ -8608,7 +8608,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 - - &473 + - &475 name: has in: query description: |- @@ -8622,7 +8622,7 @@ paths: type: string enum: - patch - - &182 + - &184 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8632,7 +8632,7 @@ paths: enum: - development - runtime - - &183 + - &185 name: sort in: query description: |- @@ -8658,11 +8658,11 @@ paths: application/json: schema: type: array - items: &184 + items: &186 type: object description: A Dependabot alert. properties: - number: &156 + number: &158 type: integer description: The security alert number. readOnly: true @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &474 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8927,29 +8927,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &159 + url: &161 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &160 + html_url: &162 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &157 + created_at: &159 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &158 + updated_at: &160 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &162 + dismissed_at: &164 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8979,14 +8979,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &161 + fixed_at: &163 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &475 + auto_dismissed_at: &477 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9012,7 +9012,7 @@ paths: - repository additionalProperties: false examples: - default: &185 + default: &187 value: - number: 2 state: dismissed @@ -9796,7 +9796,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &174 + properties: &176 login: type: string example: github @@ -9837,7 +9837,7 @@ paths: type: string example: A great organization nullable: true - required: &175 + required: &177 - login - url - id @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &523 + properties: &525 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &254 + properties: &256 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &255 + required: &257 - closed_issues - creator - description @@ -10543,7 +10543,7 @@ paths: timeline_url: type: string format: uri - type: &214 + type: &216 title: Issue Type description: The type of issue. type: object @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &646 + sub_issues_summary: &648 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &647 + issue_dependencies_summary: &649 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &650 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &524 + required: &526 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &521 + comment: &523 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &660 + user: &662 title: Public User description: Public User type: object @@ -13214,7 +13214,7 @@ paths: - closed - all default: open - - &217 + - &219 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13265,7 +13265,7 @@ paths: type: array items: *82 examples: - default: &218 + default: &220 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14650,14 +14650,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &323 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &324 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14719,7 +14719,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &332 + '301': &334 description: Moved permanently content: application/json: @@ -14741,7 +14741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &553 + - &555 name: all description: If `true`, show notifications marked as read. in: query @@ -14749,7 +14749,7 @@ paths: schema: type: boolean default: false - - &554 + - &556 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14759,7 +14759,7 @@ paths: type: boolean default: false - *72 - - &555 + - &557 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: @@ -14791,11 +14791,11 @@ paths: properties: id: type: string - repository: &140 + repository: &142 title: Minimal Repository description: Minimal Repository type: object - properties: &187 + properties: &189 id: type: integer format: int64 @@ -15071,7 +15071,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &268 + security_and_analysis: &270 nullable: true type: object properties: @@ -15145,7 +15145,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &188 + required: &190 - archive_url - assignees_url - blobs_url @@ -15233,7 +15233,7 @@ paths: - url - subscription_url examples: - default: &556 + default: &558 value: - id: '1' repository: @@ -16101,7 +16101,7 @@ paths: - property_name - value examples: - default: &562 + default: &564 value: - property_name: environment value: production @@ -16151,7 +16151,7 @@ paths: required: - properties examples: - default: &563 + default: &565 value: properties: - property_name: environment @@ -16196,7 +16196,7 @@ paths: required: false schema: type: integer - - &702 + - &107 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 @@ -16220,14 +16220,14 @@ paths: required: false schema: type: string - - &703 + - &704 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &704 + - &108 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -16376,15 +16376,6 @@ paths: schema: type: integer - *106 - - &708 - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or - `day` is specified, the default `year`, `month`, and `day` are used. - in: query - required: false - schema: - type: integer responses: '200': description: Billing usage report response for an organization @@ -16466,6 +16457,152 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - *63 + - *105 + - *107 + - *106 + - &708 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *108 + - &709 + 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 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -16492,7 +16629,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &109 title: Organization Full description: Organization Full type: object @@ -16811,7 +16948,7 @@ paths: - updated_at - archived_at examples: - default-response: &108 + default-response: &110 value: login: github id: 1 @@ -17127,17 +17264,17 @@ paths: description: Response content: application/json: - schema: *107 + schema: *109 examples: - default: *108 + default: *110 '422': description: Validation failed content: application/json: schema: oneOf: - - *109 - - *110 + - *111 + - *112 '409': *47 x-github: githubCloudOnly: false @@ -17251,7 +17388,7 @@ paths: type: integer repository_cache_usages: type: array - items: &337 + items: &339 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17324,7 +17461,7 @@ paths: type: integer runners: type: array - items: &111 + items: &113 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17378,7 +17515,7 @@ paths: - display_name - source nullable: true - machine_size_details: &119 + machine_size_details: &121 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17474,7 +17611,7 @@ paths: - public_ip_enabled - platform examples: - default: &139 + default: &141 value: total_count: 2 runners: @@ -17611,9 +17748,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: &120 + default: &122 value: id: 5 name: My hosted ubuntu runner @@ -17670,7 +17807,7 @@ paths: type: integer images: type: array - items: &112 + items: &114 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -17721,7 +17858,7 @@ paths: - latest_version - state examples: - default: &114 + default: &116 value: total_count: 2 image_versions: @@ -17753,7 +17890,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - *63 - - &113 + - &115 name: image_definition_id description: Image definition ID of custom image in: path @@ -17765,7 +17902,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: default: value: @@ -17796,7 +17933,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - *63 - - *113 + - *115 responses: '204': description: Response @@ -17819,7 +17956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *113 + - *115 - *63 responses: '200': @@ -17836,7 +17973,7 @@ paths: type: integer image_versions: type: array - items: &115 + items: &117 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -17869,7 +18006,7 @@ paths: - created_on - state_details examples: - default: *114 + default: *116 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17890,8 +18027,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - *63 - - *113 - - &116 + - *115 + - &118 name: version description: Version of a custom image in: path @@ -17904,7 +18041,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: default: value: @@ -17931,8 +18068,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - *63 - - *113 - - *116 + - *115 + - *118 responses: '204': description: Response @@ -17969,7 +18106,7 @@ paths: type: integer images: type: array - items: &117 + items: &119 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18005,7 +18142,7 @@ paths: - display_name - source examples: - default: &118 + default: &120 value: id: ubuntu-20.04 platform: linux-x64 @@ -18045,9 +18182,9 @@ paths: type: integer images: type: array - items: *117 + items: *119 examples: - default: *118 + default: *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18133,7 +18270,7 @@ paths: type: integer machine_specs: type: array - items: *119 + items: *121 examples: default: value: @@ -18203,7 +18340,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *63 - - &121 + - &123 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18215,9 +18352,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 headers: Link: *54 x-github: @@ -18238,7 +18375,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 requestBody: required: true content: @@ -18281,9 +18418,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18300,15 +18437,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 responses: '202': description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18334,7 +18471,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &122 + schema: &124 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18348,7 +18485,7 @@ paths: required: - include_claim_keys examples: - default: &123 + default: &125 value: include_claim_keys: - repo @@ -18375,15 +18512,15 @@ paths: required: true content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 responses: '201': description: Empty response content: application/json: - schema: &149 + schema: &151 title: Empty Object description: An object without any properties. type: object @@ -18422,7 +18559,7 @@ paths: schema: type: object properties: - enabled_repositories: &124 + enabled_repositories: &126 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18435,7 +18572,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &125 + allowed_actions: &127 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18443,12 +18580,12 @@ paths: - all - local_only - selected - selected_actions_url: &343 + selected_actions_url: &345 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &126 + sha_pinning_required: &128 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18490,9 +18627,9 @@ paths: schema: type: object properties: - enabled_repositories: *124 - allowed_actions: *125 - sha_pinning_required: *126 + enabled_repositories: *126 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled_repositories examples: @@ -18526,7 +18663,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 type: object properties: days: @@ -18568,7 +18705,7 @@ paths: required: true content: application/json: - schema: &348 + schema: &350 type: object properties: days: @@ -18611,7 +18748,7 @@ paths: description: Response content: application/json: - schema: &127 + schema: &129 type: object properties: approval_policy: @@ -18625,7 +18762,7 @@ paths: required: - approval_policy examples: - default: &349 + default: &351 value: approval_policy: first_time_contributors '404': *6 @@ -18656,7 +18793,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -18684,7 +18821,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -18710,7 +18847,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &128 + default: &130 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18738,7 +18875,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -18761,7 +18898,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -18811,7 +18948,7 @@ paths: type: array items: *66 examples: - default: &132 + default: &134 value: total_count: 1 repositories: @@ -18996,7 +19133,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - &129 + - &131 name: repository_id description: The unique identifier of the repository. in: path @@ -19025,7 +19162,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -19054,7 +19191,7 @@ paths: description: Response content: application/json: - schema: &130 + schema: &132 type: object properties: github_owned_allowed: @@ -19076,7 +19213,7 @@ paths: items: type: string examples: - default: &131 + default: &133 value: github_owned_allowed: true verified_allowed: false @@ -19109,9 +19246,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19243,7 +19380,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 '403': *29 '404': *6 x-github: @@ -19312,7 +19449,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19339,7 +19476,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19373,17 +19510,17 @@ paths: description: Response content: application/json: - schema: &352 + schema: &354 type: object properties: - default_workflow_permissions: &133 + default_workflow_permissions: &135 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &134 + can_approve_pull_request_reviews: &136 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19391,7 +19528,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &135 + default: &137 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19424,13 +19561,13 @@ paths: required: false content: application/json: - schema: &353 + schema: &355 type: object properties: - default_workflow_permissions: *133 - can_approve_pull_request_reviews: *134 + default_workflow_permissions: *135 + can_approve_pull_request_reviews: *136 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19475,7 +19612,7 @@ paths: type: number runner_groups: type: array - items: &136 + items: &138 type: object properties: id: @@ -19663,9 +19800,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: &138 + default: &140 value: id: 2 name: octo-runner-group @@ -19701,7 +19838,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - &137 + - &139 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19713,7 +19850,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -19750,7 +19887,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -19804,9 +19941,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: *138 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19826,7 +19963,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *63 - - *137 + - *139 responses: '204': description: Response @@ -19850,7 +19987,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -19868,9 +20005,9 @@ paths: type: number runners: type: array - items: *111 + items: *113 examples: - default: *139 + default: *141 headers: Link: *54 x-github: @@ -19893,7 +20030,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 - *19 - *17 responses: @@ -19911,9 +20048,9 @@ paths: type: number repositories: type: array - items: *140 + items: *142 examples: - default: &663 + default: &665 value: total_count: 1 repositories: @@ -20166,7 +20303,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20211,8 +20348,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20235,8 +20372,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20260,7 +20397,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -20278,7 +20415,7 @@ paths: type: number runners: type: array - items: &142 + items: &144 title: Self hosted runners description: A self hosted runner type: object @@ -20307,7 +20444,7 @@ paths: type: boolean labels: type: array - items: &145 + items: &147 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20337,7 +20474,7 @@ paths: - busy - labels examples: - default: &143 + default: &145 value: total_count: 2 runners: @@ -20397,7 +20534,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20442,8 +20579,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *63 - - *137 - - &141 + - *139 + - &143 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20472,8 +20609,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *63 - - *137 - - *141 + - *139 + - *143 responses: '204': description: Response @@ -20521,9 +20658,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -20555,7 +20692,7 @@ paths: application/json: schema: type: array - items: &354 + items: &356 title: Runner Application description: Runner Application type: object @@ -20580,7 +20717,7 @@ paths: - download_url - filename examples: - default: &355 + default: &357 value: - os: osx architecture: x64 @@ -20666,7 +20803,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &356 + '201': &358 description: Response content: application/json: @@ -20676,7 +20813,7 @@ paths: - runner - encoded_jit_config properties: - runner: *142 + runner: *144 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20739,7 +20876,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &146 title: Authentication Token description: Authentication Token type: object @@ -20777,7 +20914,7 @@ paths: - token - expires_at examples: - default: &357 + default: &359 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20814,9 +20951,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: &358 + default: &360 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20842,15 +20979,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: &359 + default: &361 value: id: 23 name: MBP @@ -20892,7 +21029,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *63 - - *141 + - *143 responses: '204': description: Response @@ -20919,9 +21056,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &146 + '200': &148 description: Response content: application/json: @@ -20935,7 +21072,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -20975,7 +21112,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -20999,7 +21136,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21024,7 +21161,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -21049,7 +21186,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21074,9 +21211,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &360 + '200': &362 description: Response content: application/json: @@ -21090,7 +21227,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -21132,8 +21269,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 - - &361 + - *143 + - &363 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21141,7 +21278,7 @@ paths: schema: type: string responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21184,7 +21321,7 @@ paths: type: integer secrets: type: array - items: &147 + items: &149 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21263,7 +21400,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &375 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21292,7 +21429,7 @@ paths: - key_id - key examples: - default: &374 + default: &376 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21318,7 +21455,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *63 - - &148 + - &150 name: secret_name description: The name of the secret. in: path @@ -21330,7 +21467,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: default: value: @@ -21361,7 +21498,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21418,7 +21555,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21445,7 +21582,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -21472,7 +21609,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -21490,9 +21627,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: &152 + default: &154 value: total_count: 1 repositories: @@ -21585,7 +21722,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21638,7 +21775,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21672,7 +21809,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21705,7 +21842,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &342 + - &344 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -21729,7 +21866,7 @@ paths: type: integer variables: type: array - items: &150 + items: &152 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21862,7 +21999,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21888,7 +22025,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *63 - - &151 + - &153 name: name description: The name of the variable. in: path @@ -21900,7 +22037,7 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: default: value: @@ -21931,7 +22068,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -21994,7 +22131,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *63 - - *151 + - *153 responses: '204': description: Response @@ -22021,7 +22158,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 - *19 - *17 responses: @@ -22039,9 +22176,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22068,7 +22205,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -22118,7 +22255,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22153,7 +22290,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22235,6 +22372,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -22425,12 +22575,12 @@ paths: required: - subject_digests examples: - default: &691 + default: &693 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &692 + withPredicateType: &694 value: subject_digests: - sha256:abc123 @@ -22488,7 +22638,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &693 + default: &695 value: attestations_subject_digests: - sha256:abc: @@ -22837,7 +22987,7 @@ paths: initiator: type: string examples: - default: &387 + default: &389 value: attestations: - bundle: @@ -23056,7 +23206,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &153 + schema: &155 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23082,7 +23232,7 @@ paths: application/json: schema: type: array - items: &154 + items: &156 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23113,7 +23263,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &176 + items: &178 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23188,7 +23338,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &229 + properties: &231 id: description: Unique identifier of the team type: integer @@ -23260,7 +23410,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &230 + required: &232 - id - node_id - url @@ -23303,7 +23453,7 @@ paths: type: string format: date-time nullable: true - state: *153 + state: *155 contact_link: description: The contact link of the campaign. type: string @@ -23523,9 +23673,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: &155 + default: &157 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23608,9 +23758,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '404': *6 '422': description: Unprocessable Entity @@ -23687,7 +23837,7 @@ paths: type: string format: uri nullable: true - state: *153 + state: *155 examples: default: value: @@ -23697,9 +23847,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '400': description: Bad Request content: @@ -23766,17 +23916,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &413 + - &415 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &163 + schema: &165 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &416 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 @@ -23784,7 +23934,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &164 + schema: &166 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23799,7 +23949,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &418 type: string description: State of a code scanning alert. enum: @@ -23822,7 +23972,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &419 type: string description: Severity of a code scanning alert. enum: @@ -23843,18 +23993,18 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: &418 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: &420 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &165 + state: &167 type: string description: State of a code scanning alert. nullable: true @@ -23862,7 +24012,7 @@ paths: - open - dismissed - fixed - fixed_at: *161 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -23870,8 +24020,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: &419 + dismissed_at: *164 + dismissed_reason: &421 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23880,13 +24030,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &422 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &423 type: object properties: id: @@ -23939,25 +24089,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &424 type: object properties: - name: *163 + name: *165 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *164 - most_recent_instance: &423 + guid: *166 + most_recent_instance: &425 type: object properties: - ref: &415 + ref: &417 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &435 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23968,13 +24118,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &434 + category: &436 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *165 + state: *167 commit_sha: type: string message: @@ -24481,7 +24631,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *166 + code_scanning_options: *168 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24624,7 +24774,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24652,9 +24802,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: *169 + default: *171 '304': *37 '403': *29 '404': *6 @@ -24706,7 +24856,7 @@ paths: - 32 - 91 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -24741,7 +24891,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 '304': *37 '403': *29 '404': *6 @@ -25025,7 +25175,7 @@ paths: - *63 - *45 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -25163,7 +25313,7 @@ paths: default: value: default_for_new_repos: all - configuration: *167 + configuration: *169 '403': *29 '404': *6 x-github: @@ -25216,13 +25366,13 @@ paths: application/json: schema: type: array - items: *171 + items: *173 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *172 + repository: *174 '403': *29 '404': *6 x-github: @@ -25262,7 +25412,7 @@ paths: type: integer codespaces: type: array - items: &219 + items: &221 type: object title: Codespace description: A codespace. @@ -25287,12 +25437,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *140 + repository: *142 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &448 name: type: string description: The name of the machine. @@ -25334,7 +25484,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &449 - name - display_name - operating_system @@ -25539,7 +25689,7 @@ paths: - pulls_url - recent_folders examples: - default: &220 + default: &222 value: total_count: 3 codespaces: @@ -26163,7 +26313,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &175 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26202,7 +26352,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &450 value: total_count: 2 secrets: @@ -26240,7 +26390,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &451 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26269,7 +26419,7 @@ paths: - key_id - key examples: - default: &450 + default: &452 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26293,15 +26443,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: - default: &452 + default: &454 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26329,7 +26479,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26384,7 +26534,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -26411,7 +26561,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -26437,7 +26587,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -26455,9 +26605,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '404': *6 x-github: githubCloudOnly: false @@ -26480,7 +26630,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26531,7 +26681,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26565,7 +26715,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26768,7 +26918,7 @@ paths: currently being billed. seats: type: array - items: &222 + items: &224 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26785,14 +26935,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *174 - required: *175 + properties: *176 + required: *177 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *176 + - *178 - *55 nullable: true pending_cancellation_date: @@ -27299,7 +27449,7 @@ paths: application/json: schema: type: array - items: &305 + items: &307 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27606,7 +27756,7 @@ paths: - date additionalProperties: true examples: - default: &306 + default: &308 value: - date: '2024-06-24' total_active_users: 24 @@ -27708,7 +27858,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &307 + '422': &309 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27736,11 +27886,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *63 - - *177 - - *178 - *179 - *180 - *181 + - *182 + - *183 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27778,8 +27928,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *182 - - *183 + - *184 + - *185 - *48 - *40 - *41 @@ -27791,9 +27941,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 '304': *37 '400': *14 '403': *29 @@ -27837,7 +27987,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &188 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27914,7 +28064,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27931,7 +28081,7 @@ paths: - key_id - key examples: - default: &479 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27955,13 +28105,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *186 + schema: *188 examples: default: value: @@ -27990,7 +28140,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28049,7 +28199,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -28074,7 +28224,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -28099,7 +28249,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -28117,9 +28267,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28141,7 +28291,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28192,7 +28342,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28224,7 +28374,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28262,7 +28412,7 @@ paths: application/json: schema: type: array - items: &232 + items: &234 title: Package description: A software package type: object @@ -28312,8 +28462,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *187 - required: *188 + properties: *189 + required: *190 nullable: true created_at: type: string @@ -28332,7 +28482,7 @@ paths: - created_at - updated_at examples: - default: &233 + default: &235 value: - id: 197 name: hello_docker @@ -28502,7 +28652,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 title: Organization Invitation description: Organization Invitation type: object @@ -28549,7 +28699,7 @@ paths: - invitation_teams_url - node_id examples: - default: &212 + default: &214 value: - id: 1 login: monalisa @@ -28616,7 +28766,7 @@ paths: application/json: schema: type: array - items: &189 + items: &191 title: Org Hook description: Org Hook type: object @@ -28787,9 +28937,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28837,7 +28987,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *63 - - &191 + - &193 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. @@ -28850,9 +29000,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '404': *6 x-github: githubCloudOnly: false @@ -28880,7 +29030,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -28925,7 +29075,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: default: value: @@ -28967,7 +29117,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -28995,7 +29145,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 responses: '200': description: Response @@ -29026,7 +29176,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -29077,9 +29227,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -29087,9 +29237,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -29115,16 +29265,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -29150,7 +29300,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '202': *39 @@ -29180,7 +29330,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -29203,7 +29353,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *63 - - &201 + - &203 name: actor_type in: path description: The type of the actor @@ -29216,14 +29366,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &202 + - &204 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &197 + - &199 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`.' @@ -29231,7 +29381,7 @@ paths: required: true schema: type: string - - &198 + - &200 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) @@ -29325,12 +29475,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 - *19 - *17 - *48 - - &207 + - &209 name: sort description: The property to sort the results by. in: query @@ -29409,14 +29559,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: &199 + schema: &201 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29432,7 +29582,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &202 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29453,23 +29603,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *63 - - &203 + - &205 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29488,18 +29638,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *63 - - *197 - - *198 - - *201 - - *202 + - *199 + - *200 + - *203 + - *204 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29517,9 +29667,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *63 - - *197 - - *198 - - &204 + - *199 + - *200 + - &206 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29532,7 +29682,7 @@ paths: description: Response content: application/json: - schema: &205 + schema: &207 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29548,7 +29698,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &208 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29585,18 +29735,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *63 - - *203 - - *197 - - *198 - - *204 + - *205 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29614,19 +29764,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *63 - - *201 - - *202 - - *197 - - *198 + - *203 - *204 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29644,13 +29794,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *63 - - *203 - - *197 - - *198 + - *205 + - *199 + - *200 - *19 - *17 - *48 - - *207 + - *209 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29731,7 +29881,7 @@ paths: application/json: schema: *22 examples: - default: &517 + default: &519 value: id: 1 account: @@ -29897,12 +30047,12 @@ paths: application/json: schema: anyOf: - - &209 + - &211 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &208 + limit: &210 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29927,7 +30077,7 @@ paths: properties: {} additionalProperties: false examples: - default: &210 + default: &212 value: limit: collaborators_only origin: organization @@ -29956,13 +30106,13 @@ paths: required: true content: application/json: - schema: &518 + schema: &520 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *208 + limit: *210 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29986,9 +30136,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *210 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -30064,9 +30214,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 '404': *6 @@ -30143,7 +30293,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -30198,7 +30348,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *63 - - &213 + - &215 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30229,7 +30379,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *63 - - *213 + - *215 - *17 - *19 responses: @@ -30239,9 +30389,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: &231 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30284,7 +30434,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -30369,9 +30519,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30404,7 +30554,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *63 - - &216 + - &218 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30457,9 +30607,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '422': *7 x-github: @@ -30484,7 +30634,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *63 - - *216 + - *218 responses: '204': description: Response @@ -30547,7 +30697,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: type description: Can be the name of an issue type. in: query @@ -30578,7 +30728,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -30737,9 +30887,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -30766,7 +30916,7 @@ paths: parameters: - *63 - *59 - - &221 + - &223 name: codespace_name in: path required: true @@ -30801,15 +30951,15 @@ paths: parameters: - *63 - *59 - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: &445 + default: &447 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30989,7 +31139,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -31065,7 +31215,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &225 title: Org Membership description: Org Membership type: object @@ -31132,7 +31282,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &224 + response-if-user-has-an-active-admin-membership-with-organization: &226 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31229,9 +31379,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: - response-if-user-already-had-membership-with-organization: *224 + response-if-user-already-had-membership-with-organization: *226 '422': *15 '403': *29 x-github: @@ -31302,7 +31452,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Migration description: A migration. type: object @@ -31631,7 +31781,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -31810,7 +31960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *63 - - &226 + - &228 name: migration_id description: The unique identifier of the migration. in: path @@ -31837,7 +31987,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -32007,7 +32157,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '302': description: Response @@ -32029,7 +32179,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '204': description: Response @@ -32053,8 +32203,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *63 - - *226 - - &676 + - *228 + - &678 name: repo_name description: repo_name parameter in: path @@ -32082,7 +32232,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *63 - - *226 + - *228 - *17 - *19 responses: @@ -32092,9 +32242,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: &238 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32247,7 +32397,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &228 + items: &230 title: Organization Role description: Organization roles type: object @@ -32422,7 +32572,7 @@ paths: parameters: - *63 - *64 - - &227 + - &229 name: role_id description: The unique identifier of the role. in: path @@ -32459,7 +32609,7 @@ paths: parameters: - *63 - *64 - - *227 + - *229 responses: '204': description: Response @@ -32512,7 +32662,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32544,7 +32694,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32573,13 +32723,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *63 - - *227 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *230 examples: default: value: @@ -32630,7 +32780,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32708,8 +32858,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true type: description: The ownership type of the team @@ -32741,7 +32891,7 @@ paths: - type - parent examples: - default: *231 + default: *233 headers: Link: *54 '404': @@ -32771,7 +32921,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32799,13 +32949,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &301 + items: &303 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 name: nullable: true type: string @@ -33093,7 +33243,7 @@ paths: - nuget - container - *63 - - &677 + - &679 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33129,12 +33279,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *233 + default: *235 '403': *29 '401': *25 - '400': &679 + '400': &681 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33156,7 +33306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &234 + - &236 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 @@ -33174,7 +33324,7 @@ paths: - docker - nuget - container - - &235 + - &237 name: package_name description: The name of the package. in: path @@ -33187,7 +33337,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *234 examples: default: value: @@ -33239,8 +33389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 responses: '204': @@ -33273,8 +33423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - name: token description: package token @@ -33307,8 +33457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - *19 - *17 @@ -33329,7 +33479,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Package Version description: A version of a software package type: object @@ -33454,10 +33604,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - - &237 + - &239 name: package_version_id description: Unique identifier of the package version. in: path @@ -33469,7 +33619,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -33505,10 +33655,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33540,10 +33690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33573,7 +33723,7 @@ paths: - *63 - *17 - *19 - - &239 + - &241 name: sort description: The property by which to sort the results. in: query @@ -33584,7 +33734,7 @@ paths: - created_at default: created_at - *48 - - &240 + - &242 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33595,7 +33745,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &241 + - &243 name: repository description: The name of the repository to use to filter the results. in: query @@ -33603,7 +33753,7 @@ paths: schema: type: string example: Hello-World - - &242 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -33611,7 +33761,7 @@ paths: schema: type: string example: issues_read - - &243 + - &245 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) @@ -33621,7 +33771,7 @@ paths: schema: type: string format: date-time - - &244 + - &246 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) @@ -33631,7 +33781,7 @@ paths: schema: type: string format: date-time - - &245 + - &247 name: token_id description: The ID of the token in: query @@ -33901,7 +34051,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33942,9 +34092,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -33970,14 +34120,14 @@ paths: - *63 - *17 - *19 - - *239 - - *48 - - *240 - *241 + - *48 - *242 - *243 - *244 - *245 + - *246 + - *247 responses: '500': *103 '422': *15 @@ -34216,7 +34366,7 @@ paths: responses: '500': *103 '404': *6 - '204': *170 + '204': *172 '403': *29 '422': *15 x-github: @@ -34257,9 +34407,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -34301,7 +34451,7 @@ paths: type: integer configurations: type: array - items: &246 + items: &248 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34554,7 +34704,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &247 + org-private-registry-with-selected-visibility: &249 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34644,15 +34794,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -34674,7 +34824,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -34770,7 +34920,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -34816,7 +34966,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 title: Project description: Projects are a way to organize columns and cards of work. @@ -34989,7 +35139,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -35027,7 +35177,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &329 + '410': &331 description: Gone content: application/json: @@ -35070,7 +35220,7 @@ paths: application/json: schema: type: array - items: &249 + items: &251 title: Projects v2 Project description: A projects v2 project type: object @@ -35140,7 +35290,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &759 + properties: &760 id: type: number description: The unique identifier of the status update. @@ -35188,7 +35338,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &760 + required: &761 - id - node_id - created_at @@ -35213,7 +35363,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &252 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35316,7 +35466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &251 + - &253 name: project_number description: The project's number. in: path @@ -35329,9 +35479,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -35353,7 +35503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *251 + - *253 - *63 - *17 - *40 @@ -35365,7 +35515,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35512,7 +35662,7 @@ paths: - updated_at - project_url examples: - default: &253 + default: &255 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35555,8 +35705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *251 - - &696 + - *253 + - &698 name: field_id description: The unique identifier of the field. in: path @@ -35569,9 +35719,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *54 '304': *37 @@ -35594,7 +35744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35627,7 +35777,7 @@ paths: application/json: schema: type: array - items: &259 + items: &261 title: Projects v2 Item description: An item belonging to a project type: object @@ -35643,7 +35793,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &257 + content_type: &259 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35693,7 +35843,7 @@ paths: - updated_at - archived_at examples: - default: &260 + default: &262 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36388,7 +36538,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *63 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -36425,7 +36575,7 @@ paths: description: Response content: application/json: - schema: &697 + schema: &699 title: Projects v2 Item description: An item belonging to a project type: object @@ -36439,7 +36589,7 @@ paths: content: oneOf: - *82 - - &460 + - &462 title: Pull Request Simple description: Pull Request Simple type: object @@ -36545,8 +36695,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 nullable: true active_lock_reason: type: string @@ -36591,7 +36741,7 @@ paths: nullable: true requested_teams: type: array - items: *176 + items: *178 nullable: true head: type: object @@ -36642,7 +36792,7 @@ paths: _links: type: object properties: - comments: &256 + comments: &258 title: Link description: Hypermedia Link type: object @@ -36651,13 +36801,13 @@ paths: type: string required: - href - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + commits: *258 + statuses: *258 + html: *258 + issue: *258 + review_comments: *258 + review_comment: *258 + self: *258 required: - comments - commits @@ -36668,7 +36818,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: &565 + auto_merge: &567 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36770,7 +36920,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *257 + content_type: *259 creator: *4 created_at: type: string @@ -36803,7 +36953,7 @@ paths: - updated_at - archived_at examples: - issue: &258 + issue: &260 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36858,7 +37008,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *258 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -36878,9 +37028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - - &261 + - &263 name: item_id description: The unique identifier of the project item. in: path @@ -36906,9 +37056,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 headers: Link: *54 '304': *37 @@ -36929,9 +37079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37001,13 +37151,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -37027,9 +37177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *263 responses: '204': description: Response @@ -37061,7 +37211,7 @@ paths: application/json: schema: type: array - items: &262 + items: &264 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37127,7 +37277,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &265 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37186,7 +37336,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *264 minItems: 1 maxItems: 100 required: @@ -37216,9 +37366,9 @@ paths: application/json: schema: type: array - items: *262 + items: *264 examples: - default: *263 + default: *265 '403': *29 '404': *6 x-github: @@ -37240,7 +37390,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &264 + - &266 name: custom_property_name description: The custom property name in: path @@ -37252,9 +37402,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *264 examples: - default: &265 + default: &267 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37289,7 +37439,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *266 requestBody: required: true content: @@ -37358,9 +37508,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *264 examples: - default: *265 + default: *267 '403': *29 '404': *6 x-github: @@ -37384,9 +37534,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *266 responses: - '204': *170 + '204': *172 '403': *29 '404': *6 x-github: @@ -37704,9 +37854,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -37908,7 +38058,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 title: Full Repository description: Full Repository type: object @@ -38185,8 +38335,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *266 - required: *267 + properties: *268 + required: *269 nullable: true temp_clone_token: type: string @@ -38301,7 +38451,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &465 + properties: &467 url: type: string format: uri @@ -38317,12 +38467,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &466 + required: &468 - url - key - name - html_url - security_and_analysis: *268 + security_and_analysis: *270 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38406,7 +38556,7 @@ paths: - network_count - subscribers_count examples: - default: &333 + default: &335 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38927,7 +39077,7 @@ paths: - *63 - *17 - *19 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38945,7 +39095,7 @@ paths: application/json: schema: type: array - items: &294 + items: &296 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38980,7 +39130,7 @@ paths: source: type: string description: The name of the source - enforcement: &271 + enforcement: &273 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38993,7 +39143,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &272 + items: &274 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39063,7 +39213,7 @@ paths: conditions: nullable: true anyOf: - - &269 + - &271 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39087,7 +39237,7 @@ paths: match. items: type: string - - &273 + - &275 title: Organization ruleset conditions type: object description: |- @@ -39101,7 +39251,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *269 + - *271 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39135,7 +39285,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *269 + - *271 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39157,7 +39307,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *269 + - *271 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39170,7 +39320,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &270 + items: &272 title: Repository ruleset property targeting definition type: object @@ -39203,17 +39353,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *270 + items: *272 required: - repository_property rules: type: array - items: &589 + items: &591 title: Repository Rule type: object description: A repository rule. oneOf: - - &274 + - &276 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39225,7 +39375,7 @@ paths: type: string enum: - creation - - &275 + - &277 title: update description: Only allow users with bypass permission to update matching refs. @@ -39246,7 +39396,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &276 + - &278 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39258,7 +39408,7 @@ paths: type: string enum: - deletion - - &277 + - &279 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39270,7 +39420,7 @@ paths: type: string enum: - required_linear_history - - &586 + - &588 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39348,7 +39498,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &278 + - &280 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39372,7 +39522,7 @@ paths: type: string required: - required_deployment_environments - - &279 + - &281 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39384,7 +39534,7 @@ paths: type: string enum: - required_signatures - - &280 + - &282 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39446,7 +39596,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &281 + - &283 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39494,7 +39644,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &282 + - &284 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39506,7 +39656,7 @@ paths: type: string enum: - non_fast_forward - - &283 + - &285 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39542,7 +39692,7 @@ paths: required: - operator - pattern - - &284 + - &286 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39578,7 +39728,7 @@ paths: required: - operator - pattern - - &285 + - &287 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39614,7 +39764,7 @@ paths: required: - operator - pattern - - &286 + - &288 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39650,7 +39800,7 @@ paths: required: - operator - pattern - - &287 + - &289 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39686,7 +39836,7 @@ paths: required: - operator - pattern - - &288 + - &290 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39711,7 +39861,7 @@ paths: type: string required: - restricted_file_paths - - &289 + - &291 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39735,7 +39885,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &290 + - &292 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39758,7 +39908,7 @@ paths: type: string required: - restricted_file_extensions - - &291 + - &293 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39783,7 +39933,7 @@ paths: maximum: 100 required: - max_file_size - - &292 + - &294 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39833,7 +39983,7 @@ paths: - repository_id required: - workflows - - &293 + - &295 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39894,7 +40044,7 @@ paths: - tool required: - code_scanning_tools - - &587 + - &589 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -39992,22 +40142,20 @@ paths: - push - repository default: branch - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *274 + conditions: *275 rules: type: array description: An array of rules within the ruleset. - items: &296 + items: &298 title: Repository Rule type: object description: A repository rule. oneOf: - - *274 - - *275 - *276 - *277 - *278 @@ -40026,6 +40174,8 @@ paths: - *291 - *292 - *293 + - *294 + - *295 required: - name - enforcement @@ -40063,9 +40213,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: &295 + default: &297 value: id: 21 name: super cool ruleset @@ -40120,7 +40270,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &590 + - &592 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 @@ -40135,7 +40285,7 @@ paths: in: query schema: type: string - - &591 + - &593 name: time_period description: |- The time period to filter by. @@ -40151,14 +40301,14 @@ paths: - week - month default: day - - &592 + - &594 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 - - &593 + - &595 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40178,7 +40328,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 title: Rule Suites description: Response type: array @@ -40233,7 +40383,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &597 value: - id: 21 actor_id: 12 @@ -40277,7 +40427,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &596 + - &598 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40293,7 +40443,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 title: Rule Suite description: Response type: object @@ -40392,7 +40542,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &600 value: id: 21 actor_id: 12 @@ -40465,9 +40615,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '500': *103 put: @@ -40511,16 +40661,16 @@ paths: - tag - push - repository - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *274 + conditions: *275 rules: description: An array of rules within the ruleset. type: array - items: *296 + items: *298 examples: default: value: @@ -40555,9 +40705,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '500': *103 delete: @@ -40614,7 +40764,7 @@ paths: application/json: schema: type: array - items: &297 + items: &299 title: Ruleset version type: object description: The historical version of a ruleset @@ -40638,7 +40788,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &602 value: - version_id: 3 actor: @@ -40691,9 +40841,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 allOf: - - *297 + - *299 - type: object required: - state @@ -40763,7 +40913,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &602 + - &604 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -40774,7 +40924,7 @@ paths: enum: - open - resolved - - &603 + - &605 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -40784,7 +40934,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -40793,7 +40943,7 @@ paths: required: false schema: type: string - - &605 + - &607 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. @@ -40808,7 +40958,7 @@ paths: - *48 - *19 - *17 - - &606 + - &608 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -40818,7 +40968,7 @@ paths: required: false schema: type: string - - &607 + - &609 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -40828,7 +40978,7 @@ paths: required: false schema: type: string - - &608 + - &610 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -40837,7 +40987,7 @@ paths: required: false schema: type: string - - &609 + - &611 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -40846,7 +40996,7 @@ paths: schema: type: boolean default: false - - &610 + - &612 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -40855,7 +41005,7 @@ paths: schema: type: boolean default: false - - &611 + - &613 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -40874,8 +41024,8 @@ paths: items: type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -40883,21 +41033,21 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &612 + state: &614 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: &613 + resolution: &615 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -41004,8 +41154,8 @@ paths: pull request. ' - oneOf: &614 - - &616 + oneOf: &616 + - &618 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41057,7 +41207,7 @@ paths: - blob_url - commit_sha - commit_url - - &617 + - &619 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. @@ -41112,7 +41262,7 @@ paths: - page_url - commit_sha - commit_url - - &618 + - &620 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41126,7 +41276,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &619 + - &621 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41140,7 +41290,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &620 + - &622 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41154,7 +41304,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &621 + - &623 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41168,7 +41318,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &622 + - &624 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41182,7 +41332,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &623 + - &625 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41196,7 +41346,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &624 + - &626 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. @@ -41210,7 +41360,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &625 + - &627 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. @@ -41224,7 +41374,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &626 + - &628 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. @@ -41238,7 +41388,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &627 + - &629 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. @@ -41252,7 +41402,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &628 + - &630 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -41494,7 +41644,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &301 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41503,7 +41653,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &300 type: object properties: token_type: @@ -41569,7 +41719,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *298 + items: *300 examples: default: value: @@ -41626,7 +41776,7 @@ paths: schema: type: object properties: - pattern_config_version: *299 + pattern_config_version: *301 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41652,7 +41802,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *299 + custom_pattern_version: *301 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41750,7 +41900,7 @@ paths: application/json: schema: type: array - items: &632 + items: &634 description: A repository security advisory. type: object properties: @@ -41970,7 +42120,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *302 credits_detailed: type: array nullable: true @@ -41980,7 +42130,7 @@ paths: type: object properties: user: *4 - type: *300 + type: *302 state: type: string description: The state of the user's acceptance of the @@ -42004,7 +42154,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *176 + items: *178 private_fork: readOnly: true nullable: true @@ -42041,7 +42191,7 @@ paths: - private_fork additionalProperties: false examples: - default: &633 + default: &635 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42428,9 +42578,9 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42515,7 +42665,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &700 type: object properties: total_minutes_used: @@ -42585,7 +42735,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &699 + default: &701 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42621,7 +42771,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &702 type: object properties: total_gigabytes_bandwidth_used: @@ -42639,7 +42789,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &701 + default: &703 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42837,9 +42987,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42908,7 +43058,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42931,7 +43081,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42972,7 +43122,7 @@ paths: type: integer network_configurations: type: array - items: &302 + items: &304 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43092,9 +43242,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: &303 + default: &305 value: id: 123456789ABCDEF name: My network configuration @@ -43123,7 +43273,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &304 + - &306 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43135,9 +43285,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 headers: Link: *54 x-github: @@ -43159,7 +43309,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *304 + - *306 requestBody: required: true content: @@ -43198,9 +43348,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43370,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *304 + - *306 responses: '204': description: Response @@ -43360,13 +43510,13 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *306 + default: *308 '500': *103 '403': *29 '404': *6 - '422': *307 + '422': *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43394,9 +43544,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '403': *29 @@ -43490,7 +43640,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &310 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43553,8 +43703,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true members_count: type: integer @@ -43817,7 +43967,7 @@ paths: - repos_count - organization examples: - default: &309 + default: &311 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43894,9 +44044,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -43980,16 +44130,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '201': description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '403': *29 @@ -44059,7 +44209,7 @@ paths: application/json: schema: type: array - items: &310 + items: &312 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44158,7 +44308,7 @@ paths: - updated_at - url examples: - default: &650 + default: &652 value: - author: login: octocat @@ -44267,9 +44417,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: &311 + default: &313 value: author: login: octocat @@ -44343,7 +44493,7 @@ paths: parameters: - *63 - *64 - - &312 + - &314 name: discussion_number description: The number that identifies the discussion. in: path @@ -44355,9 +44505,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44381,7 +44531,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 requestBody: required: false content: @@ -44404,9 +44554,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: &651 + default: &653 value: author: login: octocat @@ -44478,7 +44628,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 responses: '204': description: Response @@ -44506,7 +44656,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 - *48 - *17 - *19 @@ -44517,7 +44667,7 @@ paths: application/json: schema: type: array - items: &313 + items: &315 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44589,7 +44739,7 @@ paths: - updated_at - url examples: - default: &652 + default: &654 value: - author: login: octocat @@ -44659,7 +44809,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 requestBody: required: true content: @@ -44681,9 +44831,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: &314 + default: &316 value: author: login: octocat @@ -44751,8 +44901,8 @@ paths: parameters: - *63 - *64 - - *312 - - &315 + - *314 + - &317 name: comment_number description: The number that identifies the comment. in: path @@ -44764,9 +44914,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *314 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44790,8 +44940,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 requestBody: required: true content: @@ -44813,9 +44963,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: &653 + default: &655 value: author: login: octocat @@ -44881,8 +45031,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 responses: '204': description: Response @@ -44910,8 +45060,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -44937,7 +45087,7 @@ paths: application/json: schema: type: array - items: &316 + items: &318 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44980,7 +45130,7 @@ paths: - content - created_at examples: - default: &318 + default: &320 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45032,8 +45182,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 requestBody: required: true content: @@ -45066,9 +45216,9 @@ paths: team discussion comment content: application/json: - schema: *316 + schema: *318 examples: - default: &317 + default: &319 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45097,9 +45247,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45124,9 +45274,9 @@ paths: parameters: - *63 - *64 - - *312 - - *315 - - &319 + - *314 + - *317 + - &321 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45160,7 +45310,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45186,9 +45336,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 x-github: @@ -45216,7 +45366,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 requestBody: required: true content: @@ -45248,16 +45398,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45282,8 +45432,8 @@ paths: parameters: - *63 - *64 - - *312 - - *319 + - *314 + - *321 responses: '204': description: Response @@ -45318,9 +45468,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -45404,7 +45554,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &322 title: Team Membership description: Team Membership type: object @@ -45431,7 +45581,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &654 + response-if-user-is-a-team-maintainer: &656 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45494,9 +45644,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &655 + response-if-users-membership-with-team-is-now-pending: &657 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45569,7 +45719,7 @@ paths: application/json: schema: type: array - items: &321 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -45637,7 +45787,7 @@ paths: - updated_at - permissions examples: - default: &656 + default: &658 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45702,7 +45852,7 @@ paths: parameters: - *63 - *64 - - &322 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -45714,9 +45864,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: &657 + default: &659 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45780,7 +45930,7 @@ paths: parameters: - *63 - *64 - - *322 + - *324 requestBody: required: false content: @@ -45848,7 +45998,7 @@ paths: parameters: - *63 - *64 - - *322 + - *324 responses: '204': description: Response @@ -45886,9 +46036,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -45919,14 +46069,14 @@ paths: parameters: - *63 - *64 - - *323 - - *324 + - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &658 + schema: &660 title: Team Repository description: A team's access to a repository. type: object @@ -46497,8 +46647,8 @@ paths: parameters: - *63 - *64 - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -46545,8 +46695,8 @@ paths: parameters: - *63 - *64 - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -46581,9 +46731,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: &659 + response-if-child-teams-exist: &661 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46710,7 +46860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &325 + - &327 name: column_id description: The unique identifier of the column. in: path @@ -46722,7 +46872,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: Project Column description: Project columns contain cards of work. type: object @@ -46768,7 +46918,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &329 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46803,7 +46953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *325 + - *327 requestBody: required: true content: @@ -46827,9 +46977,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *327 + default: *329 '304': *37 '403': *29 '401': *25 @@ -46854,7 +47004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *325 + - *327 responses: '204': description: Response @@ -46883,7 +47033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *325 + - *327 requestBody: required: true content: @@ -46943,15 +47093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *322 + - *324 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: &328 + default: &330 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47008,7 +47158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *322 + - *324 requestBody: required: false content: @@ -47054,9 +47204,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *330 '404': description: Not Found if the authenticated user does not have access to the project @@ -47077,7 +47227,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -47100,7 +47250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *322 + - *324 responses: '204': description: Delete Success @@ -47121,7 +47271,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *331 '404': *6 x-github: githubCloudOnly: false @@ -47145,7 +47295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *322 + - *324 - 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 @@ -47202,7 +47352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *322 + - *324 - *59 requestBody: required: false @@ -47255,7 +47405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *322 + - *324 - *59 responses: '204': @@ -47287,7 +47437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *322 + - *324 - *59 responses: '200': @@ -47347,115 +47497,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#list-project-columns - parameters: - - *322 - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *326 - examples: - default: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - headers: - Link: *54 - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column - parameters: - - *322 - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: *326 - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': *37 - '403': *29 - '422': *7 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -47497,7 +47538,7 @@ paths: resources: type: object properties: - core: &330 + core: &332 title: Rate Limit type: object properties: @@ -47514,21 +47555,21 @@ paths: - remaining - reset - used - graphql: *330 - search: *330 - code_search: *330 - source_import: *330 - integration_manifest: *330 - code_scanning_upload: *330 - actions_runner_registration: *330 - scim: *330 - dependency_snapshots: *330 - dependency_sbom: *330 - code_scanning_autofix: *330 + graphql: *332 + search: *332 + code_search: *332 + source_import: *332 + integration_manifest: *332 + code_scanning_upload: *332 + actions_runner_registration: *332 + scim: *332 + dependency_snapshots: *332 + dependency_sbom: *332 + code_scanning_autofix: *332 required: - core - search - rate: *330 + rate: *332 required: - rate - resources @@ -47633,14 +47674,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: default-response: summary: Default response @@ -48141,7 +48182,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *332 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48159,8 +48200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -48407,10 +48448,10 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 - '307': &334 + default: *335 + '307': &336 description: Temporary Redirect content: application/json: @@ -48439,8 +48480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -48462,7 +48503,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *334 + '307': *336 '404': *6 '409': *47 x-github: @@ -48486,11 +48527,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - - &365 + - &367 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48513,7 +48554,7 @@ paths: type: integer artifacts: type: array - items: &335 + items: &337 title: Artifact description: An artifact type: object @@ -48591,7 +48632,7 @@ paths: - expires_at - updated_at examples: - default: &366 + default: &368 value: total_count: 2 artifacts: @@ -48652,9 +48693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *323 - - *324 - - &336 + - *325 + - *326 + - &338 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48666,7 +48707,7 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: default: value: @@ -48704,9 +48745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *323 - - *324 - - *336 + - *325 + - *326 + - *338 responses: '204': description: Response @@ -48730,9 +48771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *323 - - *324 - - *336 + - *325 + - *326 + - *338 - name: archive_format in: path required: true @@ -48746,7 +48787,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48769,14 +48810,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -48802,11 +48843,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - - &338 + - &340 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 @@ -48840,7 +48881,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &341 title: Repository actions caches description: Repository actions caches type: object @@ -48882,7 +48923,7 @@ paths: - total_count - actions_caches examples: - default: &340 + default: &342 value: total_count: 1 actions_caches: @@ -48914,23 +48955,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *323 - - *324 + - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *338 + - *340 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48950,8 +48991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *323 - - *324 + - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48982,9 +49023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *323 - - *324 - - &341 + - *325 + - *326 + - &343 name: job_id description: The unique identifier of the job. in: path @@ -48996,7 +49037,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &371 title: Job description: Information of a job execution in a workflow run type: object @@ -49303,9 +49344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *323 - - *324 - - *341 + - *325 + - *326 + - *343 responses: '302': description: Response @@ -49333,9 +49374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *323 - - *324 - - *341 + - *325 + - *326 + - *343 requestBody: required: false content: @@ -49356,7 +49397,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49380,8 +49421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Status response @@ -49431,8 +49472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -49466,7 +49507,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49495,8 +49536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -49514,7 +49555,7 @@ paths: type: integer secrets: type: array - items: &371 + items: &373 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49534,7 +49575,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &374 value: total_count: 2 secrets: @@ -49567,9 +49608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *323 - - *324 - - *342 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -49586,7 +49627,7 @@ paths: type: integer variables: type: array - items: &375 + items: &377 title: Actions Variable type: object properties: @@ -49616,7 +49657,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &378 value: total_count: 2 variables: @@ -49649,8 +49690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -49659,12 +49700,12 @@ paths: schema: type: object properties: - enabled: &344 + enabled: &346 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *125 - selected_actions_url: *343 - sha_pinning_required: *126 + allowed_actions: *127 + selected_actions_url: *345 + sha_pinning_required: *128 required: - enabled examples: @@ -49692,8 +49733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -49704,9 +49745,9 @@ paths: schema: type: object properties: - enabled: *344 - allowed_actions: *125 - sha_pinning_required: *126 + enabled: *346 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled examples: @@ -49736,14 +49777,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &345 + schema: &347 type: object properties: access_level: @@ -49760,7 +49801,7 @@ paths: required: - access_level examples: - default: &346 + default: &348 value: access_level: organization x-github: @@ -49784,15 +49825,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *345 + schema: *347 examples: - default: *346 + default: *348 responses: '204': description: Response @@ -49816,14 +49857,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: default: value: @@ -49847,8 +49888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -49858,7 +49899,7 @@ paths: required: true content: application/json: - schema: *348 + schema: *350 examples: default: summary: Set retention days @@ -49882,16 +49923,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *127 + schema: *129 examples: - default: *349 + default: *351 '404': *6 x-github: enabledForGitHubApps: true @@ -49910,8 +49951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -49921,7 +49962,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -49945,16 +49986,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *128 + default: *130 '403': *29 '404': *6 x-github: @@ -49974,15 +50015,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *351 + schema: *353 examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -50006,16 +50047,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50034,8 +50075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -50043,9 +50084,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50067,16 +50108,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50097,8 +50138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Success response @@ -50109,9 +50150,9 @@ paths: required: true content: application/json: - schema: *353 + schema: *355 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50138,8 +50179,8 @@ paths: in: query schema: type: string - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -50157,9 +50198,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -50183,8 +50224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -50192,9 +50233,9 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50216,8 +50257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -50260,7 +50301,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *356 + '201': *358 '404': *6 '422': *7 '409': *47 @@ -50291,16 +50332,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50328,16 +50369,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50359,17 +50400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50390,9 +50431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: '204': description: Response @@ -50418,11 +50459,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: - '200': *146 + '200': *148 '404': *6 x-github: githubCloudOnly: false @@ -50444,9 +50485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 requestBody: required: true content: @@ -50470,7 +50511,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50494,9 +50535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 requestBody: required: true content: @@ -50521,7 +50562,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50545,11 +50586,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: - '200': *360 + '200': *362 '404': *6 x-github: githubCloudOnly: false @@ -50576,12 +50617,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 - - *361 + - *325 + - *326 + - *143 + - *363 responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50607,9 +50648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *323 - - *324 - - &379 + - *325 + - *326 + - &381 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. @@ -50617,7 +50658,7 @@ paths: required: false schema: type: string - - &380 + - &382 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50625,7 +50666,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50634,7 +50675,7 @@ paths: required: false schema: type: string - - &382 + - &384 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 @@ -50661,7 +50702,7 @@ paths: - pending - *17 - *19 - - &383 + - &385 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -50670,7 +50711,7 @@ paths: schema: type: string format: date-time - - &362 + - &364 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50679,13 +50720,13 @@ paths: schema: type: boolean default: false - - &384 + - &386 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &385 + - &387 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50708,7 +50749,7 @@ paths: type: integer workflow_runs: type: array - items: &363 + items: &365 title: Workflow Run description: An invocation of a workflow type: object @@ -50803,7 +50844,7 @@ paths: that triggered the run. type: array nullable: true - items: &404 + items: &406 title: Pull Request Minimal type: object properties: @@ -50922,7 +50963,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &410 id: type: string description: SHA for the commit @@ -50973,7 +51014,7 @@ paths: - name - email nullable: true - required: &409 + required: &411 - id - tree_id - message @@ -50981,8 +51022,8 @@ paths: - author - committer nullable: true - repository: *140 - head_repository: *140 + repository: *142 + head_repository: *142 head_repository_id: type: integer example: 5 @@ -51020,7 +51061,7 @@ paths: - workflow_url - pull_requests examples: - default: &386 + default: &388 value: total_count: 1 workflow_runs: @@ -51256,24 +51297,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *323 - - *324 - - &364 + - *325 + - *326 + - &366 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *362 + - *364 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: &367 + default: &369 value: id: 30433642 name: Build @@ -51514,9 +51555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '204': description: Response @@ -51539,9 +51580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -51660,15 +51701,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51695,12 +51736,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 - *17 - *19 - - *365 + - *367 responses: '200': description: Response @@ -51716,9 +51757,9 @@ paths: type: integer artifacts: type: array - items: *335 + items: *337 examples: - default: *366 + default: *368 headers: Link: *54 x-github: @@ -51742,25 +51783,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *323 - - *324 - - *364 - - &368 + - *325 + - *326 + - *366 + - &370 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *362 + - *364 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51783,10 +51824,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *323 - - *324 - - *364 - - *368 + - *325 + - *326 + - *366 + - *370 - *17 - *19 responses: @@ -51804,9 +51845,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *371 examples: - default: &370 + default: &372 value: total_count: 1 jobs: @@ -51919,10 +51960,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *323 - - *324 - - *364 - - *368 + - *325 + - *326 + - *366 + - *370 responses: '302': description: Response @@ -51950,15 +51991,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51985,9 +52026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52054,15 +52095,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52089,9 +52130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 - 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 @@ -52121,9 +52162,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *371 examples: - default: *370 + default: *372 headers: Link: *54 x-github: @@ -52148,9 +52189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '302': description: Response @@ -52177,9 +52218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '204': description: Response @@ -52206,9 +52247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52268,7 +52309,7 @@ paths: items: type: object properties: - type: &487 + type: &489 type: string description: The type of reviewer. enum: @@ -52278,7 +52319,7 @@ paths: reviewer: anyOf: - *4 - - *176 + - *178 required: - environment - wait_timer @@ -52353,9 +52394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52402,7 +52443,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52508,7 +52549,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &485 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52564,9 +52605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -52587,7 +52628,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52610,9 +52651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -52633,7 +52674,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52665,9 +52706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52804,8 +52845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -52823,9 +52864,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *373 examples: - default: *372 + default: *374 headers: Link: *54 x-github: @@ -52850,16 +52891,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: *374 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52881,17 +52922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: &500 + default: &502 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52917,9 +52958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 requestBody: required: true content: @@ -52950,7 +52991,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52976,9 +53017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '204': description: Response @@ -53003,9 +53044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *323 - - *324 - - *342 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -53022,9 +53063,9 @@ paths: type: integer variables: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *54 x-github: @@ -53047,8 +53088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -53075,7 +53116,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -53100,17 +53141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *323 - - *324 - - *151 + - *325 + - *326 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: &501 + default: &503 value: name: USERNAME value: octocat @@ -53136,9 +53177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *323 - - *324 - - *151 + - *325 + - *326 + - *153 requestBody: required: true content: @@ -53180,9 +53221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *323 - - *324 - - *151 + - *325 + - *326 + - *153 responses: '204': description: Response @@ -53207,8 +53248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -53226,7 +53267,7 @@ paths: type: integer workflows: type: array - items: &377 + items: &379 title: Workflow description: A GitHub Actions workflow type: object @@ -53333,9 +53374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *323 - - *324 - - &378 + - *325 + - *326 + - &380 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53350,7 +53391,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -53383,9 +53424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53410,9 +53451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53463,9 +53504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53492,19 +53533,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *323 - - *324 - - *378 - - *379 + - *325 + - *326 - *380 - *381 - *382 - - *17 - - *19 - *383 - - *362 - *384 + - *17 + - *19 - *385 + - *364 + - *386 + - *387 responses: '200': description: Response @@ -53520,9 +53561,9 @@ paths: type: integer workflow_runs: type: array - items: *363 + items: *365 examples: - default: *386 + default: *388 headers: Link: *54 x-github: @@ -53554,9 +53595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '200': description: Response @@ -53617,8 +53658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *323 - - *324 + - *325 + - *326 - *48 - *17 - *40 @@ -53782,8 +53823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -53820,8 +53861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *323 - - *324 + - *325 + - *326 - name: assignee in: path required: true @@ -53857,8 +53898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -53970,8 +54011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *40 - *41 @@ -54028,7 +54069,7 @@ paths: initiator: type: string examples: - default: *387 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54048,8 +54089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -54057,7 +54098,7 @@ paths: application/json: schema: type: array - items: &388 + items: &390 title: Autolink reference description: An autolink reference. type: object @@ -54111,8 +54152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -54151,9 +54192,9 @@ paths: description: response content: application/json: - schema: *388 + schema: *390 examples: - default: &389 + default: &391 value: id: 1 key_prefix: TICKET- @@ -54184,9 +54225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *323 - - *324 - - &390 + - *325 + - *326 + - &392 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54198,9 +54239,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '404': *6 x-github: githubCloudOnly: false @@ -54220,9 +54261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *323 - - *324 - - *390 + - *325 + - *326 + - *392 responses: '204': description: Response @@ -54246,8 +54287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54295,8 +54336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -54317,8 +54358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -54338,8 +54379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *323 - - *324 + - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54377,7 +54418,7 @@ paths: - url protected: type: boolean - protection: &392 + protection: &394 title: Branch Protection description: Branch Protection type: object @@ -54419,7 +54460,7 @@ paths: required: - contexts - checks - enforce_admins: &395 + enforce_admins: &397 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54434,7 +54475,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &397 + required_pull_request_reviews: &399 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54455,7 +54496,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *176 + items: *178 apps: description: The list of apps with review dismissal access. @@ -54484,7 +54525,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *176 + items: *178 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54510,7 +54551,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &394 + restrictions: &396 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54573,7 +54614,7 @@ paths: type: string teams: type: array - items: *176 + items: *178 apps: type: array items: @@ -54787,9 +54828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *323 - - *324 - - &393 + - *325 + - *326 + - &395 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -54803,14 +54844,14 @@ paths: description: Response content: application/json: - schema: &403 + schema: &405 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &458 title: Commit description: Commit type: object @@ -54844,7 +54885,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &391 + properties: &393 name: type: string example: '"Chris Wanstrath"' @@ -54859,7 +54900,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *393 nullable: true message: type: string @@ -54880,7 +54921,7 @@ paths: required: - sha - url - verification: &507 + verification: &509 title: Verification type: object properties: @@ -54914,12 +54955,12 @@ paths: nullable: true oneOf: - *4 - - *149 + - *151 committer: nullable: true oneOf: - *4 - - *149 + - *151 parents: type: array items: @@ -54950,7 +54991,7 @@ paths: type: integer files: type: array - items: &469 + items: &471 title: Diff Entry description: Diff Entry type: object @@ -55034,7 +55075,7 @@ paths: - self protected: type: boolean - protection: *392 + protection: *394 protection_url: type: string format: uri @@ -55141,7 +55182,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *332 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -55163,15 +55204,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -55365,9 +55406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -55622,7 +55663,7 @@ paths: url: type: string format: uri - required_status_checks: &400 + required_status_checks: &402 title: Status Check Policy description: Status Check Policy type: object @@ -55698,7 +55739,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55716,7 +55757,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55774,7 +55815,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *394 + restrictions: *396 required_conversation_resolution: type: object properties: @@ -55886,9 +55927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -55913,17 +55954,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &396 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55945,17 +55986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55974,9 +56015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56001,17 +56042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: &398 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56107,9 +56148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56207,9 +56248,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -56230,9 +56271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56259,17 +56300,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &399 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56292,17 +56333,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *399 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -56322,9 +56363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56349,17 +56390,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: &401 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56385,9 +56426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56439,9 +56480,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: *401 + default: *403 '404': *6 '422': *15 x-github: @@ -56463,9 +56504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56489,9 +56530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -56525,9 +56566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56594,9 +56635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56660,9 +56701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -56728,15 +56769,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: default: value: @@ -56827,9 +56868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56852,9 +56893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -56864,7 +56905,7 @@ paths: type: array items: *5 examples: - default: &402 + default: &404 value: - id: 1 slug: octoapp @@ -56921,9 +56962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -56957,7 +56998,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -56978,9 +57019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57014,7 +57055,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57035,9 +57076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57071,7 +57112,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57093,9 +57134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57103,9 +57144,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -57125,9 +57166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57163,9 +57204,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57186,9 +57227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57224,9 +57265,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57247,9 +57288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -57284,9 +57325,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57308,9 +57349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57344,9 +57385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57404,9 +57445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57464,9 +57505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57526,9 +57567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57550,7 +57591,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: default: value: @@ -57666,8 +57707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -57946,7 +57987,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &407 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58065,8 +58106,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *404 - deployment: &717 + items: *406 + deployment: &718 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58346,9 +58387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *323 - - *324 - - &406 + - *325 + - *326 + - &408 name: check_run_id description: The unique identifier of the check run. in: path @@ -58360,9 +58401,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &407 + default: &409 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58462,9 +58503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *323 - - *324 - - *406 + - *325 + - *326 + - *408 requestBody: required: true content: @@ -58704,9 +58745,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58726,9 +58767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *323 - - *324 - - *406 + - *325 + - *326 + - *408 - *17 - *19 responses: @@ -58823,15 +58864,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *323 - - *324 - - *406 + - *325 + - *326 + - *408 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -58869,8 +58910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -58892,7 +58933,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &412 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58956,7 +58997,7 @@ paths: nullable: true pull_requests: type: array - items: *404 + items: *406 nullable: true app: title: GitHub app @@ -58969,7 +59010,7 @@ paths: nullable: true properties: *67 required: *68 - repository: *140 + repository: *142 created_at: type: string format: date-time @@ -58978,12 +59019,12 @@ paths: type: string format: date-time nullable: true - head_commit: &743 + head_commit: &744 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 latest_check_runs_count: type: integer check_runs_url: @@ -59011,7 +59052,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &413 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59302,9 +59343,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59323,8 +59364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -59385,7 +59426,7 @@ paths: required: - app_id - setting - repository: *140 + repository: *142 examples: default: value: @@ -59633,9 +59674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *323 - - *324 - - &412 + - *325 + - *326 + - &414 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59647,9 +59688,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59672,17 +59713,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *323 - - *324 - - *412 - - &462 + - *325 + - *326 + - *414 + - &464 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &465 name: status description: Returns check runs with the specified `status`. in: query @@ -59721,9 +59762,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: &464 + default: &466 value: total_count: 1 check_runs: @@ -59825,15 +59866,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *323 - - *324 - - *412 + - *325 + - *326 + - *414 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -59860,21 +59901,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *323 - - *324 - - *413 - - *414 + - *325 + - *326 + - *415 + - *416 - *19 - *17 - - &431 + - &433 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: *415 - - &432 + schema: *417 + - &434 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59899,13 +59940,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *418 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *419 responses: '200': description: Response @@ -59916,14 +59957,14 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *420 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -59931,12 +59972,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_at: *164 + dismissed_reason: *421 + dismissed_comment: *422 + rule: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60062,7 +60103,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &426 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60089,9 +60130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *323 - - *324 - - &425 + - *325 + - *326 + - &427 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60099,23 +60140,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: &426 + schema: &428 type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *420 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -60123,9 +60164,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_at: *164 + dismissed_reason: *421 + dismissed_comment: *422 rule: type: object properties: @@ -60179,8 +60220,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60279,7 +60320,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60299,9 +60340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 requestBody: required: true content: @@ -60316,8 +60357,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60336,7 +60377,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -60412,7 +60453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &432 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60439,15 +60480,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 responses: '200': description: Response content: application/json: - schema: &427 + schema: &429 type: object properties: status: @@ -60473,13 +60514,13 @@ paths: - description - started_at examples: - default: &428 + default: &430 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &431 description: Bad Request content: application/json: @@ -60490,7 +60531,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': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60515,29 +60556,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 responses: '200': description: OK content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '202': description: Accepted content: application/json: - schema: *427 + schema: *429 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *431 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60569,9 +60610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 requestBody: required: false content: @@ -60616,8 +60657,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *431 + '403': *432 '404': *6 '422': description: Unprocessable Entity @@ -60641,13 +60682,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 - *19 - *17 - - *431 - - *432 + - *433 + - *434 responses: '200': description: Response @@ -60655,7 +60696,7 @@ paths: application/json: schema: type: array - items: *423 + items: *425 examples: default: value: @@ -60694,7 +60735,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60728,25 +60769,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *323 - - *324 - - *413 - - *414 + - *325 + - *326 + - *415 + - *416 - *19 - *17 - - *432 + - *434 - 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: *415 + schema: *417 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &437 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60767,23 +60808,23 @@ paths: application/json: schema: type: array - items: &436 + items: &438 type: object properties: - ref: *415 - commit_sha: &444 + ref: *417 + commit_sha: &446 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: *433 + analysis_key: *435 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *434 + category: *436 error: type: string example: error reading field xyz @@ -60807,8 +60848,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *422 + sarif_id: *437 + tool: *424 deletable: type: boolean warning: @@ -60869,7 +60910,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60905,8 +60946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60919,7 +60960,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: response: summary: application/json response @@ -60973,7 +61014,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *426 '404': *6 '422': description: Response if analysis could not be processed @@ -61060,8 +61101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61114,7 +61155,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': *430 + '403': *432 '404': *6 '503': *104 x-github: @@ -61136,8 +61177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -61145,7 +61186,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: CodeQL Database description: A CodeQL database. type: object @@ -61256,7 +61297,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': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -61285,8 +61326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61298,7 +61339,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -61330,9 +61371,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': &471 + '302': &473 description: Found - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -61354,8 +61395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *323 - - *324 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61365,7 +61406,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *432 '404': *6 '503': *104 x-github: @@ -61393,8 +61434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -61403,7 +61444,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &440 type: string description: The language targeted by the CodeQL query enum: @@ -61482,7 +61523,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &444 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61492,7 +61533,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *438 + query_language: *440 query_pack_url: type: string description: The download url for the query pack. @@ -61539,7 +61580,7 @@ paths: items: type: object properties: - repository: &439 + repository: &441 title: Repository Identifier description: Repository Identifier type: object @@ -61575,7 +61616,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &445 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61607,7 +61648,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &442 type: object properties: repository_count: @@ -61621,7 +61662,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: *439 + items: *441 required: - repository_count - repositories @@ -61643,8 +61684,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *442 + over_limit_repos: *442 required: - access_mismatch_repos - not_found_repos @@ -61660,7 +61701,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &443 summary: Default response value: id: 1 @@ -61812,10 +61853,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *443 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *443 '404': *6 '422': description: Unable to process variant analysis submission @@ -61843,8 +61884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *323 - - *324 + - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -61856,9 +61897,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *441 + default: *443 '404': *6 '503': *104 x-github: @@ -61881,7 +61922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *323 + - *325 - name: repo in: path description: The name of the controller repository. @@ -61916,7 +61957,7 @@ paths: type: object properties: repository: *53 - analysis_status: *443 + analysis_status: *445 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62041,8 +62082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -62127,7 +62168,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -62148,8 +62189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -62216,7 +62257,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -62241,7 +62282,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *432 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62312,8 +62353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -62321,7 +62362,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *446 ref: type: string description: |- @@ -62379,7 +62420,7 @@ paths: schema: type: object properties: - id: *435 + id: *437 url: type: string description: The REST API URL for checking the status of the upload. @@ -62393,7 +62434,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': *430 + '403': *432 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62416,8 +62457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *323 - - *324 + - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62463,7 +62504,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': *424 + '403': *426 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62488,8 +62529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -62545,7 +62586,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *170 + '204': *172 '304': *37 '403': *29 '404': *6 @@ -62570,8 +62611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -62691,8 +62732,8 @@ paths: parameters: - *17 - *19 - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -62708,7 +62749,7 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: default: value: @@ -63006,8 +63047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -63070,17 +63111,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '400': *14 '401': *25 '403': *29 @@ -63109,8 +63150,8 @@ paths: parameters: - *17 - *19 - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -63174,8 +63215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63210,14 +63251,14 @@ paths: type: integer machines: type: array - items: &666 + items: &668 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *448 + required: *449 examples: - default: &667 + default: &669 value: total_count: 2 machines: @@ -63257,8 +63298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *323 - - *324 + - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63342,8 +63383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -63409,8 +63450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -63428,7 +63469,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &453 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63448,7 +63489,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *450 headers: Link: *54 x-github: @@ -63471,16 +63512,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63500,17 +63541,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '200': description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63530,9 +63571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 requestBody: required: true content: @@ -63560,7 +63601,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -63584,9 +63625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '204': description: Response @@ -63614,8 +63655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *323 - - *324 + - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63657,7 +63698,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &455 login: type: string example: octocat @@ -63750,7 +63791,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &456 - avatar_url - events_url - followers_url @@ -63824,8 +63865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *323 - - *324 + - *325 + - *326 - *59 responses: '204': @@ -63872,8 +63913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *323 - - *324 + - *325 + - *326 - *59 requestBody: required: false @@ -63900,7 +63941,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &520 + schema: &522 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -63911,7 +63952,7 @@ paths: example: 42 type: integer format: int64 - repository: *140 + repository: *142 invitee: title: Simple User description: A GitHub user. @@ -64089,7 +64130,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *109 + schema: *111 '403': *29 x-github: triggersNotification: true @@ -64129,8 +64170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *323 - - *324 + - *325 + - *326 - *59 responses: '204': @@ -64162,8 +64203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *323 - - *324 + - *325 + - *326 - *59 responses: '200': @@ -64184,8 +64225,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *455 + required: *456 nullable: true required: - permission @@ -64240,8 +64281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -64251,7 +64292,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: Commit Comment description: Commit Comment type: object @@ -64309,7 +64350,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &460 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64368,17 +64409,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: &459 + default: &461 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64435,8 +64476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -64459,7 +64500,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -64510,8 +64551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '204': @@ -64533,8 +64574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64561,9 +64602,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -64584,8 +64625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -64618,16 +64659,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -64649,10 +64690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *323 - - *324 + - *325 + - *326 - *81 - - *319 + - *321 responses: '204': description: Response @@ -64701,8 +64742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *323 - - *324 + - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64758,9 +64799,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64854,9 +64895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *323 - - *324 - - &457 + - *325 + - *326 + - &459 name: commit_sha description: The SHA of the commit. in: path @@ -64928,9 +64969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 - *17 - *19 responses: @@ -64940,9 +64981,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *458 + default: *460 headers: Link: *54 x-github: @@ -64970,9 +65011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 requestBody: required: true content: @@ -65007,9 +65048,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *459 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65037,9 +65078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 - *17 - *19 responses: @@ -65049,9 +65090,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &564 + default: &566 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65588,11 +65629,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *323 - - *324 + - *325 + - *326 - *19 - *17 - - &461 + - &463 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)" @@ -65607,9 +65648,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &549 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65722,11 +65763,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *323 - - *324 - - *461 - - *462 + - *325 + - *326 - *463 + - *464 + - *465 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65760,9 +65801,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: *464 + default: *466 headers: Link: *54 x-github: @@ -65787,9 +65828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *323 - - *324 - - *461 + - *325 + - *326 + - *463 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65797,7 +65838,7 @@ paths: schema: type: integer example: 1 - - *462 + - *464 - *17 - *19 responses: @@ -65815,7 +65856,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *412 examples: default: value: @@ -66015,9 +66056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *323 - - *324 - - *461 + - *325 + - *326 + - *463 - *17 - *19 responses: @@ -66084,7 +66125,7 @@ paths: type: string total_count: type: integer - repository: *140 + repository: *142 commit_url: type: string format: uri @@ -66215,9 +66256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *323 - - *324 - - *461 + - *325 + - *326 + - *463 - *17 - *19 responses: @@ -66227,7 +66268,7 @@ paths: application/json: schema: type: array - items: &637 + items: &639 title: Status description: The status of a commit. type: object @@ -66308,7 +66349,7 @@ paths: site_admin: false headers: Link: *54 - '301': *332 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66336,8 +66377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -66366,20 +66407,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *465 - required: *466 + properties: *467 + required: *468 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &467 + properties: &469 url: type: string format: uri html_url: type: string format: uri - required: &468 + required: &470 - url - html_url nullable: true @@ -66393,26 +66434,26 @@ paths: contributing: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true readme: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true issue_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true pull_request_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true required: - code_of_conduct @@ -66539,8 +66580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *323 - - *324 + - *325 + - *326 - *19 - *17 - name: basehead @@ -66583,8 +66624,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *458 + merge_base_commit: *458 status: type: string enum: @@ -66604,10 +66645,10 @@ paths: example: 6 commits: type: array - items: *456 + items: *458 files: type: array - items: *469 + items: *471 required: - url - html_url @@ -66893,8 +66934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *323 - - *324 + - *325 + - *326 - name: path description: path parameter in: path @@ -67037,7 +67078,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &470 + response-if-content-is-a-file: &472 summary: Response if content is a file value: type: file @@ -67169,7 +67210,7 @@ paths: - size - type - url - - &577 + - &579 title: Content File description: Content File type: object @@ -67370,7 +67411,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *472 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67439,7 +67480,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *471 + '302': *473 '304': *37 x-github: githubCloudOnly: false @@ -67462,8 +67503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *323 - - *324 + - *325 + - *326 - name: path description: path parameter in: path @@ -67556,7 +67597,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: File Commit description: File Commit type: object @@ -67708,7 +67749,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: example-for-creating-a-file: value: @@ -67762,7 +67803,7 @@ paths: schema: oneOf: - *3 - - &502 + - &504 description: Repository rule violation was detected type: object properties: @@ -67783,7 +67824,7 @@ paths: items: type: object properties: - placeholder_id: &629 + placeholder_id: &631 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67815,8 +67856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *323 - - *324 + - *325 + - *326 - name: path description: path parameter in: path @@ -67877,7 +67918,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -67932,8 +67973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *323 - - *324 + - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68056,22 +68097,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *323 - - *324 - - *177 - - *178 + - *325 + - *326 - *179 - *180 + - *181 + - *182 - 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 - - *181 - - *473 - - *182 - *183 + - *475 + - *184 + - *185 - *48 - name: per_page description: The number of results per page (max 100). For more information, @@ -68090,11 +68131,11 @@ paths: application/json: schema: type: array - items: &476 + items: &478 type: object description: A Dependabot alert. properties: - number: *156 + number: *158 state: type: string description: The state of the Dependabot alert. @@ -68136,13 +68177,13 @@ paths: - unknown - direct - transitive - security_advisory: *474 + security_advisory: *476 security_vulnerability: *52 - url: *159 - html_url: *160 - created_at: *157 - updated_at: *158 - dismissed_at: *162 + url: *161 + html_url: *162 + created_at: *159 + updated_at: *160 + dismissed_at: *164 dismissed_by: title: Simple User description: A GitHub user. @@ -68166,8 +68207,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *161 - auto_dismissed_at: *475 + fixed_at: *163 + auto_dismissed_at: *477 required: - number - state @@ -68397,9 +68438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *323 - - *324 - - &477 + - *325 + - *326 + - &479 name: alert_number in: path description: |- @@ -68408,13 +68449,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -68527,9 +68568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *323 - - *324 - - *477 + - *325 + - *326 + - *479 requestBody: required: true content: @@ -68574,7 +68615,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -68703,8 +68744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -68722,7 +68763,7 @@ paths: type: integer secrets: type: array - items: &480 + items: &482 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68775,16 +68816,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68804,15 +68845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '200': description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -68838,9 +68879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 requestBody: required: true content: @@ -68868,7 +68909,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -68892,9 +68933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '204': description: Response @@ -68916,8 +68957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -69077,8 +69118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -69317,8 +69358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -69393,7 +69434,7 @@ paths: - version - url additionalProperties: false - metadata: &481 + metadata: &483 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69426,7 +69467,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *481 + metadata: *483 resolved: type: object description: A collection of resolved package dependencies. @@ -69439,7 +69480,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *481 + metadata: *483 relationship: type: string description: A notation of whether a dependency is requested @@ -69568,8 +69609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *323 - - *324 + - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -69609,9 +69650,9 @@ paths: application/json: schema: type: array - items: *482 + items: *484 examples: - default: *483 + default: *485 headers: Link: *54 x-github: @@ -69677,8 +69718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -69759,7 +69800,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: simple-example: summary: Simple example @@ -69832,9 +69873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *323 - - *324 - - &484 + - *325 + - *326 + - &486 name: deployment_id description: deployment_id parameter in: path @@ -69846,7 +69887,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69911,9 +69952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 responses: '204': description: Response @@ -69935,9 +69976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 - *17 - *19 responses: @@ -69947,7 +69988,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: Deployment Status description: The status of a deployment. type: object @@ -70108,9 +70149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 requestBody: required: true content: @@ -70185,9 +70226,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: &486 + default: &488 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70243,9 +70284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 - name: status_id in: path required: true @@ -70256,9 +70297,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -70283,8 +70324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -70341,8 +70382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -70359,7 +70400,7 @@ paths: type: integer environments: type: array - items: &488 + items: &490 title: Environment description: Details of a deployment environment type: object @@ -70411,7 +70452,7 @@ paths: type: type: string example: wait_timer - wait_timer: &490 + wait_timer: &492 type: integer example: 30 description: The amount of time to delay a job after @@ -70448,11 +70489,11 @@ paths: items: type: object properties: - type: *487 + type: *489 reviewer: anyOf: - *4 - - *176 + - *178 required: - id - node_id @@ -70472,7 +70513,7 @@ paths: - id - node_id - type - deployment_branch_policy: &491 + deployment_branch_policy: &493 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70588,9 +70629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *323 - - *324 - - &489 + - *325 + - *326 + - &491 name: environment_name in: path required: true @@ -70603,9 +70644,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &492 + default: &494 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70689,9 +70730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 requestBody: required: false content: @@ -70700,7 +70741,7 @@ paths: type: object nullable: true properties: - wait_timer: *490 + wait_timer: *492 prevent_self_review: type: boolean example: false @@ -70717,13 +70758,13 @@ paths: items: type: object properties: - type: *487 + type: *489 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *491 + deployment_branch_policy: *493 additionalProperties: false examples: default: @@ -70743,9 +70784,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70769,9 +70810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 responses: '204': description: Default response @@ -70796,9 +70837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 - *17 - *19 responses: @@ -70816,7 +70857,7 @@ paths: example: 2 branch_policies: type: array - items: &493 + items: &495 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -70873,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 requestBody: required: true content: @@ -70921,9 +70962,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - example-wildcard: &494 + example-wildcard: &496 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -70965,10 +71006,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 - - &495 + - *325 + - *326 + - *491 + - &497 name: branch_policy_id in: path required: true @@ -70980,9 +71021,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71001,10 +71042,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 - - *495 + - *325 + - *326 + - *491 + - *497 requestBody: required: true content: @@ -71032,9 +71073,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,10 +71094,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 - - *495 + - *325 + - *326 + - *491 + - *497 responses: '204': description: Response @@ -71081,9 +71122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *489 - - *324 - - *323 + - *491 + - *326 + - *325 responses: '200': description: List of deployment protection rules @@ -71099,7 +71140,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &496 + items: &498 title: Deployment protection rule description: Deployment protection rule type: object @@ -71118,7 +71159,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &497 + app: &499 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71217,9 +71258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *489 - - *324 - - *323 + - *491 + - *326 + - *325 requestBody: content: application/json: @@ -71240,9 +71281,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *496 + schema: *498 examples: - default: &498 + default: &500 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71277,9 +71318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *489 - - *324 - - *323 + - *491 + - *326 + - *325 - *19 - *17 responses: @@ -71298,7 +71339,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *497 + items: *499 examples: default: value: @@ -71333,10 +71374,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *323 - - *324 - - *489 - - &499 + - *325 + - *326 + - *491 + - &501 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71348,9 +71389,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71371,10 +71412,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *489 - - *324 - - *323 - - *499 + - *491 + - *326 + - *325 + - *501 responses: '204': description: Response @@ -71400,9 +71441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 - *17 - *19 responses: @@ -71420,9 +71461,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *373 examples: - default: *372 + default: *374 headers: Link: *54 x-github: @@ -71447,17 +71488,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 responses: '200': description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: *374 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71479,18 +71520,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *323 - - *324 - - *489 - - *148 + - *325 + - *326 + - *491 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71512,10 +71553,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *323 - - *324 - - *489 - - *148 + - *325 + - *326 + - *491 + - *150 requestBody: required: true content: @@ -71546,7 +71587,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71572,10 +71613,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *323 - - *324 - - *489 - - *148 + - *325 + - *326 + - *491 + - *150 responses: '204': description: Default response @@ -71600,10 +71641,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *323 - - *324 - - *489 - - *342 + - *325 + - *326 + - *491 + - *344 - *19 responses: '200': @@ -71620,9 +71661,9 @@ paths: type: integer variables: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *54 x-github: @@ -71645,9 +71686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 requestBody: required: true content: @@ -71674,7 +71715,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71699,18 +71740,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *323 - - *324 - - *489 - - *151 + - *325 + - *326 + - *491 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71731,10 +71772,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *323 - - *324 - - *151 - - *489 + - *325 + - *326 + - *153 + - *491 requestBody: required: true content: @@ -71776,10 +71817,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *323 - - *324 - - *151 - - *489 + - *325 + - *326 + - *153 + - *491 responses: '204': description: Response @@ -71801,8 +71842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -71870,8 +71911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *323 - - *324 + - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71893,7 +71934,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -72030,8 +72071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -72063,9 +72104,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 '400': *14 '422': *15 '403': *29 @@ -72086,8 +72127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -72146,8 +72187,8 @@ paths: application/json: schema: oneOf: - - *109 - - *502 + - *111 + - *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72172,8 +72213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *323 - - *324 + - *325 + - *326 - name: file_sha in: path required: true @@ -72272,8 +72313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -72382,7 +72423,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72596,15 +72637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -72660,9 +72701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *323 - - *324 - - &504 + - *325 + - *326 + - &506 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. @@ -72679,7 +72720,7 @@ paths: application/json: schema: type: array - items: &505 + items: &507 title: Git Reference description: Git references within a repository type: object @@ -72754,17 +72795,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *323 - - *324 - - *504 + - *325 + - *326 + - *506 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: &506 + default: &508 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72793,8 +72834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -72823,9 +72864,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -72851,9 +72892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *323 - - *324 - - *504 + - *325 + - *326 + - *506 requestBody: required: true content: @@ -72882,9 +72923,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *506 + default: *508 '422': *15 '409': *47 x-github: @@ -72902,9 +72943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *323 - - *324 - - *504 + - *325 + - *326 + - *506 responses: '204': description: Response @@ -72959,8 +73000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -73027,7 +73068,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &510 title: Git Tag description: Metadata for a Git tag type: object @@ -73078,7 +73119,7 @@ paths: - sha - type - url - verification: *507 + verification: *509 required: - sha - url @@ -73088,7 +73129,7 @@ paths: - tag - message examples: - default: &509 + default: &511 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73161,8 +73202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *323 - - *324 + - *325 + - *326 - name: tag_sha in: path required: true @@ -73173,9 +73214,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *509 + default: *511 '404': *6 '409': *47 x-github: @@ -73199,8 +73240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -73273,7 +73314,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &512 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73369,8 +73410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *323 - - *324 + - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73393,7 +73434,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: default-response: summary: Default response @@ -73452,8 +73493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -73463,7 +73504,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Webhook description: Webhooks for repositories. type: object @@ -73517,7 +73558,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &751 + last_response: &752 title: Hook Response type: object properties: @@ -73591,8 +73632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -73644,9 +73685,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: type: Repository id: 12345678 @@ -73694,17 +73735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '200': description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -73724,9 +73765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 requestBody: required: true content: @@ -73771,9 +73812,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '422': *15 '404': *6 x-github: @@ -73794,9 +73835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '204': description: Response @@ -73820,9 +73861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '200': description: Response @@ -73849,9 +73890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 requestBody: required: false content: @@ -73895,11 +73936,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -73907,9 +73948,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -73928,18 +73969,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -73958,9 +73999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 - *16 responses: '202': *39 @@ -73983,9 +74024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '204': description: Response @@ -74010,9 +74051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '204': description: Response @@ -74035,8 +74076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74082,10 +74123,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -74103,10 +74144,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -74161,14 +74202,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &513 + schema: &515 title: Import description: A repository import from an external source. type: object @@ -74267,7 +74308,7 @@ paths: - html_url - authors_url examples: - default: &516 + default: &518 value: vcs: subversion use_lfs: true @@ -74283,7 +74324,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': &514 + '503': &516 description: Unavailable due to service under maintenance. content: application/json: @@ -74312,8 +74353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -74361,7 +74402,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: default: value: @@ -74386,7 +74427,7 @@ paths: type: string '422': *15 '404': *6 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74414,8 +74455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -74464,7 +74505,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: example-1: summary: Example 1 @@ -74512,7 +74553,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': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74535,12 +74576,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74566,9 +74607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *323 - - *324 - - &688 + - *325 + - *326 + - &690 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74582,7 +74623,7 @@ paths: application/json: schema: type: array - items: &515 + items: &517 title: Porter Author description: Porter Author type: object @@ -74636,7 +74677,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': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74661,8 +74702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *323 - - *324 + - *325 + - *326 - name: author_id in: path required: true @@ -74692,7 +74733,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -74705,7 +74746,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74729,8 +74770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -74771,7 +74812,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74799,8 +74840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -74827,11 +74868,11 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *516 + default: *518 '422': *15 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74854,8 +74895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -74863,8 +74904,8 @@ paths: application/json: schema: *22 examples: - default: *517 - '301': *332 + default: *519 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -74884,8 +74925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -74893,12 +74934,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: &519 + default: &521 value: limit: collaborators_only origin: repository @@ -74923,13 +74964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *518 + schema: *520 examples: default: summary: Example request body @@ -74941,9 +74982,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *519 + default: *521 '409': description: Response x-github: @@ -74965,8 +75006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -74989,8 +75030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -75000,9 +75041,9 @@ paths: application/json: schema: type: array - items: *520 + items: *522 examples: - default: &681 + default: &683 value: - id: 1 repository: @@ -75133,9 +75174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *323 - - *324 - - *213 + - *325 + - *326 + - *215 requestBody: required: false content: @@ -75164,7 +75205,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -75295,9 +75336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *323 - - *324 - - *213 + - *325 + - *326 + - *215 responses: '204': description: Response @@ -75328,8 +75369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -75377,7 +75418,7 @@ paths: required: false schema: type: string - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -75402,7 +75443,7 @@ paths: type: array items: *82 examples: - default: &529 + default: &531 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75550,7 +75591,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *332 + '301': *334 '422': *15 '404': *6 x-github: @@ -75579,8 +75620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -75664,7 +75705,7 @@ paths: application/json: schema: *82 examples: - default: &526 + default: &528 value: id: 1 node_id: MDU6SXNzdWUx @@ -75820,7 +75861,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *329 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -75848,8 +75889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -75870,9 +75911,9 @@ paths: application/json: schema: type: array - items: *521 + items: *523 examples: - default: &528 + default: &530 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75930,17 +75971,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: &522 + default: &524 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75994,8 +76035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -76018,9 +76059,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 '422': *15 x-github: githubCloudOnly: false @@ -76038,8 +76079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '204': @@ -76060,8 +76101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76088,9 +76129,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -76111,8 +76152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -76145,16 +76186,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -76176,10 +76217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *323 - - *324 + - *325 + - *326 - *81 - - *319 + - *321 responses: '204': description: Response @@ -76199,8 +76240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -76210,7 +76251,7 @@ paths: application/json: schema: type: array - items: &525 + items: &527 title: Issue Event description: Issue Event type: object @@ -76253,8 +76294,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *523 - required: *524 + properties: *525 + required: *526 nullable: true label: title: Issue Event Label @@ -76298,7 +76339,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *176 + requested_team: *178 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76561,8 +76602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *323 - - *324 + - *325 + - *326 - name: event_id in: path required: true @@ -76573,7 +76614,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -76766,7 +76807,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *329 + '410': *331 '403': *29 x-github: githubCloudOnly: false @@ -76800,9 +76841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *323 - - *324 - - &527 + - *325 + - *326 + - &529 name: issue_number description: The number that identifies the issue. in: path @@ -76816,10 +76857,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *528 + '301': *334 '404': *6 - '410': *329 + '410': *331 '304': *37 x-github: githubCloudOnly: false @@ -76844,9 +76885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -76952,13 +76993,13 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 '422': *15 '503': *104 '403': *29 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76976,9 +77017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -77006,7 +77047,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77022,9 +77063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: content: application/json: @@ -77051,7 +77092,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77073,9 +77114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: assignee in: path required: true @@ -77115,9 +77156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *72 - *17 - *19 @@ -77128,13 +77169,13 @@ paths: application/json: schema: type: array - items: *521 + items: *523 examples: - default: *528 + default: *530 headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77163,9 +77204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -77187,16 +77228,16 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *329 + '410': *331 '422': *15 '404': *6 x-github: @@ -77224,9 +77265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -77238,12 +77279,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *531 headers: Link: *54 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77271,9 +77312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -77297,15 +77338,15 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *332 + '301': *334 '403': *29 - '410': *329 + '410': *331 '422': *15 '404': *6 x-github: @@ -77336,9 +77377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77352,13 +77393,13 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *528 + '301': *334 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -77384,9 +77425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -77398,12 +77439,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *531 headers: Link: *54 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77420,9 +77461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -77436,7 +77477,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &532 + - &534 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77490,7 +77531,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &535 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77626,7 +77667,7 @@ paths: - performed_via_github_app - assignee - assigner - - &534 + - &536 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77677,7 +77718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &537 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77728,7 +77769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77782,7 +77823,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &539 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77816,7 +77857,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77829,7 +77870,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -77863,7 +77904,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77876,7 +77917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -77936,7 +77977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Locked Issue Event description: Locked Issue Event type: object @@ -77984,7 +78025,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78050,7 +78091,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78116,7 +78157,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78182,7 +78223,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78273,7 +78314,7 @@ paths: color: red headers: Link: *54 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78290,9 +78331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -78302,7 +78343,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78349,7 +78390,7 @@ paths: - color - default examples: - default: &531 + default: &533 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78367,9 +78408,9 @@ paths: default: false headers: Link: *54 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78386,9 +78427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -78447,12 +78488,12 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 - '301': *332 + default: *533 + '301': *334 '404': *6 - '410': *329 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -78469,9 +78510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -78531,12 +78572,12 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 - '301': *332 + default: *533 + '301': *334 '404': *6 - '410': *329 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -78553,15 +78594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 responses: '204': description: Response - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78580,9 +78621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: name in: path required: true @@ -78595,7 +78636,7 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: default: value: @@ -78606,9 +78647,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78628,9 +78669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -78658,7 +78699,7 @@ paths: '204': description: Response '403': *29 - '410': *329 + '410': *331 '404': *6 '422': *15 x-github: @@ -78676,9 +78717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 responses: '204': description: Response @@ -78708,9 +78749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 responses: '200': description: Response @@ -78718,10 +78759,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *528 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78738,9 +78779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -78766,13 +78807,13 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78790,9 +78831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -78824,16 +78865,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -78855,10 +78896,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *323 - - *324 - - *527 - - *319 + - *325 + - *326 + - *529 + - *321 responses: '204': description: Response @@ -78887,9 +78928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -78913,7 +78954,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -78946,9 +78987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -78960,11 +79001,11 @@ paths: type: array items: *82 examples: - default: *529 + default: *531 headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78992,9 +79033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -79023,14 +79064,14 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *329 + '410': *331 '422': *15 '404': *6 x-github: @@ -79050,9 +79091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -79085,7 +79126,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 '403': *29 '404': *6 '422': *7 @@ -79107,9 +79148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -79124,8 +79165,6 @@ paths: description: Timeline Event type: object anyOf: - - *532 - - *533 - *534 - *535 - *536 @@ -79137,6 +79176,8 @@ paths: - *542 - *543 - *544 + - *545 + - *546 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79445,7 +79486,7 @@ paths: type: string comments: type: array - items: &566 + items: &568 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79654,7 +79695,7 @@ paths: type: string comments: type: array - items: *455 + items: *457 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -79943,7 +79984,7 @@ paths: headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79960,8 +80001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -79971,7 +80012,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80037,8 +80078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80074,9 +80115,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: &546 + default: &548 value: id: 1 key: ssh-rsa AAA... @@ -80110,9 +80151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *323 - - *324 - - &547 + - *325 + - *326 + - &549 name: key_id description: The unique identifier of the key. in: path @@ -80124,9 +80165,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -80144,9 +80185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *323 - - *324 - - *547 + - *325 + - *326 + - *549 responses: '204': description: Response @@ -80166,8 +80207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -80177,9 +80218,9 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 + default: *533 headers: Link: *54 '404': *6 @@ -80200,8 +80241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80237,9 +80278,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &548 + default: &550 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80271,8 +80312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *323 - - *324 + - *325 + - *326 - name: name in: path required: true @@ -80283,9 +80324,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *548 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -80302,8 +80343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *323 - - *324 + - *325 + - *326 - name: name in: path required: true @@ -80342,7 +80383,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -80368,8 +80409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *323 - - *324 + - *325 + - *326 - name: name in: path required: true @@ -80395,8 +80436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -80435,9 +80476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *323 - - *324 - - *431 + - *325 + - *326 + - *433 responses: '200': description: Response @@ -80582,8 +80623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80648,8 +80689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80683,9 +80724,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *458 examples: - default: *549 + default: *551 '204': description: Response when already merged '404': @@ -80710,8 +80751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *323 - - *324 + - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80752,12 +80793,12 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 examples: default: value: @@ -80813,8 +80854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80854,9 +80895,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &551 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -80915,9 +80956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *323 - - *324 - - &552 + - *325 + - *326 + - &554 name: milestone_number description: The number that identifies the milestone. in: path @@ -80929,9 +80970,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *551 + default: *553 '404': *6 x-github: githubCloudOnly: false @@ -80948,9 +80989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *323 - - *324 - - *552 + - *325 + - *326 + - *554 requestBody: required: false content: @@ -80988,9 +81029,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *551 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81006,9 +81047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *323 - - *324 - - *552 + - *325 + - *326 + - *554 responses: '204': description: Response @@ -81029,9 +81070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *323 - - *324 - - *552 + - *325 + - *326 + - *554 - *17 - *19 responses: @@ -81041,9 +81082,9 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 + default: *533 headers: Link: *54 x-github: @@ -81062,12 +81103,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *323 - - *324 - - *553 - - *554 - - *72 + - *325 + - *326 - *555 + - *556 + - *72 + - *557 - *17 - *19 responses: @@ -81079,7 +81120,7 @@ paths: type: array items: *95 examples: - default: *556 + default: *558 headers: Link: *54 x-github: @@ -81103,8 +81144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -81162,14 +81203,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &557 + schema: &559 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81294,7 +81335,7 @@ paths: - custom_404 - public examples: - default: &558 + default: &560 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81335,8 +81376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -81390,9 +81431,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *558 + default: *560 '422': *15 '409': *47 x-github: @@ -81415,8 +81456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -81515,8 +81556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -81542,8 +81583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -81553,7 +81594,7 @@ paths: application/json: schema: type: array - items: &559 + items: &561 title: Page Build description: Page Build type: object @@ -81647,8 +81688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *323 - - *324 + - *325 + - *326 responses: '201': description: Response @@ -81693,16 +81734,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: &560 + default: &562 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81750,8 +81791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *323 - - *324 + - *325 + - *326 - name: build_id in: path required: true @@ -81762,9 +81803,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81784,8 +81825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -81890,9 +81931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *323 - - *324 - - &561 + - *325 + - *326 + - &563 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -81950,11 +81991,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *323 - - *324 - - *561 + - *325 + - *326 + - *563 responses: - '204': *170 + '204': *172 '404': *6 x-github: githubCloudOnly: false @@ -81979,8 +82020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -82211,7 +82252,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -82238,8 +82279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82276,10 +82317,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82298,10 +82339,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82322,8 +82363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *323 - - *324 + - *325 + - *326 - name: state description: Indicates the state of the projects to return. in: query @@ -82344,7 +82385,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -82384,7 +82425,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82407,8 +82448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -82434,13 +82475,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *330 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82463,8 +82504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -82474,7 +82515,7 @@ paths: type: array items: *102 examples: - default: *562 + default: *564 '403': *29 '404': *6 x-github: @@ -82496,8 +82537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -82513,7 +82554,7 @@ paths: required: - properties examples: - default: *563 + default: *565 responses: '204': description: No Content when custom property values are successfully created @@ -82551,8 +82592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *323 - - *324 + - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82612,9 +82653,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *564 + default: *566 headers: Link: *54 '304': *37 @@ -82646,8 +82687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -82712,7 +82753,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &570 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82823,8 +82864,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 nullable: true active_lock_reason: type: string @@ -82869,7 +82910,7 @@ paths: nullable: true requested_teams: type: array - items: *301 + items: *303 nullable: true head: type: object @@ -82908,14 +82949,14 @@ paths: _links: type: object properties: - comments: *256 - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + comments: *258 + commits: *258 + statuses: *258 + html: *258 + issue: *258 + review_comments: *258 + review_comment: *258 + self: *258 required: - comments - commits @@ -82926,7 +82967,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *565 + auto_merge: *567 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83018,7 +83059,7 @@ paths: - merged_by - review_comments examples: - default: &569 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83545,8 +83586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: sort in: query required: false @@ -83575,9 +83616,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: &571 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83654,17 +83695,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *566 + schema: *568 examples: - default: &567 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83739,8 +83780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -83763,9 +83804,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: - default: *567 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83781,8 +83822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '204': @@ -83804,8 +83845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -83832,9 +83873,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -83855,8 +83896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -83889,16 +83930,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -83920,10 +83961,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *323 - - *324 + - *325 + - *326 - *81 - - *319 + - *321 responses: '204': description: Response @@ -83966,9 +84007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *323 - - *324 - - &570 + - *325 + - *326 + - &572 name: pull_number description: The number that identifies the pull request. in: path @@ -83981,9 +84022,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '304': *37 '404': *6 '406': @@ -84018,9 +84059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -84062,9 +84103,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '422': *15 '403': *29 x-github: @@ -84086,9 +84127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: true content: @@ -84148,17 +84189,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '401': *25 '403': *29 '404': *6 @@ -84188,9 +84229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84211,9 +84252,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: *571 + default: *573 headers: Link: *54 x-github: @@ -84246,9 +84287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: true content: @@ -84353,7 +84394,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: example-for-a-multi-line-comment: value: @@ -84441,9 +84482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *81 requestBody: required: true @@ -84466,7 +84507,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -84552,9 +84593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *17 - *19 responses: @@ -84564,9 +84605,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: *572 + default: *574 headers: Link: *54 x-github: @@ -84596,9 +84637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *17 - *19 responses: @@ -84608,7 +84649,7 @@ paths: application/json: schema: type: array - items: *469 + items: *471 examples: default: value: @@ -84646,9 +84687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 responses: '204': description: Response if pull request has been merged @@ -84671,9 +84712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -84784,9 +84825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 responses: '200': description: Response @@ -84802,7 +84843,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 required: - users - teams @@ -84861,9 +84902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -84900,7 +84941,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -85436,9 +85477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: true content: @@ -85472,7 +85513,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -85977,9 +86018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *17 - *19 responses: @@ -85989,7 +86030,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86140,9 +86181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -86228,9 +86269,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: &575 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86293,10 +86334,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - &574 + - *325 + - *326 + - *572 + - &576 name: review_id description: The unique identifier of the review. in: path @@ -86308,9 +86349,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86369,10 +86410,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 requestBody: required: true content: @@ -86395,7 +86436,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -86457,18 +86498,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 responses: '200': description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: *575 + default: *577 '422': *7 '404': *6 x-github: @@ -86495,10 +86536,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 - *17 - *19 responses: @@ -86581,9 +86622,9 @@ paths: _links: type: object properties: - self: *256 - html: *256 - pull_request: *256 + self: *258 + html: *258 + pull_request: *258 required: - self - html @@ -86733,10 +86774,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 requestBody: required: true content: @@ -86764,7 +86805,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -86827,10 +86868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 requestBody: required: true content: @@ -86865,9 +86906,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: *576 + default: *578 '404': *6 '422': *7 '403': *29 @@ -86889,9 +86930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -86954,8 +86995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *323 - - *324 + - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86968,9 +87009,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: &578 + default: &580 value: type: file encoding: base64 @@ -87012,8 +87053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *323 - - *324 + - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87033,9 +87074,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 '404': *6 '422': *15 x-github: @@ -87057,8 +87098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -87068,7 +87109,7 @@ paths: application/json: schema: type: array - items: &579 + items: &581 title: Release description: A release. type: object @@ -87139,7 +87180,7 @@ paths: author: *4 assets: type: array - items: &580 + items: &582 title: Release Asset description: Data related to a release. type: object @@ -87326,8 +87367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -87403,9 +87444,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: &583 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87510,9 +87551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *323 - - *324 - - &581 + - *325 + - *326 + - &583 name: asset_id description: The unique identifier of the asset. in: path @@ -87524,9 +87565,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &582 + default: &584 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 @@ -87561,7 +87602,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87577,9 +87618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *323 - - *324 - - *581 + - *325 + - *326 + - *583 requestBody: required: false content: @@ -87607,9 +87648,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *582 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87625,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *323 - - *324 - - *581 + - *325 + - *326 + - *583 responses: '204': description: Response @@ -87651,8 +87692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -87737,16 +87778,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87763,8 +87804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *323 - - *324 + - *325 + - *326 - name: tag description: tag parameter in: path @@ -87777,9 +87818,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -87801,9 +87842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *323 - - *324 - - &584 + - *325 + - *326 + - &586 name: release_id description: The unique identifier of the release. in: path @@ -87817,9 +87858,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 '401': description: Unauthorized x-github: @@ -87837,9 +87878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 requestBody: required: false content: @@ -87903,9 +87944,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 '404': description: Not Found if the discussion category name is invalid content: @@ -87926,9 +87967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 responses: '204': description: Response @@ -87948,9 +87989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 - *17 - *19 responses: @@ -87960,7 +88001,7 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: default: value: @@ -88041,9 +88082,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: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 - name: name in: query required: true @@ -88069,7 +88110,7 @@ paths: description: Response for successful upload content: application/json: - schema: *580 + schema: *582 examples: response-for-successful-upload: value: @@ -88124,9 +88165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88150,9 +88191,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -88173,9 +88214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 requestBody: required: true content: @@ -88205,16 +88246,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -88236,10 +88277,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *323 - - *324 - - *584 - - *319 + - *325 + - *326 + - *586 + - *321 responses: '204': description: Response @@ -88263,9 +88304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 - *17 - *19 responses: @@ -88281,8 +88322,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *274 - - &585 + - *276 + - &587 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88301,69 +88342,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *275 - - *585 - - allOf: - - *276 - - *585 - allOf: - *277 - - *585 - - allOf: - - *586 - - *585 + - *587 - allOf: - *278 - - *585 + - *587 - allOf: - *279 - - *585 + - *587 + - allOf: + - *588 + - *587 - allOf: - *280 - - *585 + - *587 - allOf: - *281 - - *585 + - *587 - allOf: - *282 - - *585 + - *587 - allOf: - *283 - - *585 + - *587 - allOf: - *284 - - *585 + - *587 - allOf: - *285 - - *585 + - *587 - allOf: - *286 - - *585 + - *587 - allOf: - *287 - - *585 + - *587 - allOf: - *288 - - *585 + - *587 - allOf: - *289 - - *585 + - *587 - allOf: - *290 - - *585 + - *587 - allOf: - *291 - - *585 + - *587 - allOf: - *292 - - *585 + - *587 - allOf: - *293 - - *585 + - *587 + - allOf: + - *294 + - *587 - allOf: + - *295 + - *587 + - allOf: + - *589 - *587 - - *585 examples: default: value: @@ -88402,8 +88443,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88414,7 +88455,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -88422,7 +88463,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -88469,8 +88510,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 requestBody: description: Request body required: true @@ -88490,16 +88531,16 @@ paths: - tag - push default: branch - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *274 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *591 required: - name - enforcement @@ -88530,9 +88571,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: &599 + default: &601 value: id: 42 name: super cool ruleset @@ -88579,12 +88620,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *323 - - *324 - - *590 - - *591 + - *325 + - *326 - *592 - *593 + - *594 + - *595 - *17 - *19 responses: @@ -88592,9 +88633,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 '404': *6 '500': *103 x-github: @@ -88615,17 +88656,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *323 - - *324 - - *596 + - *325 + - *326 + - *598 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 '404': *6 '500': *103 x-github: @@ -88653,8 +88694,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88674,9 +88715,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *599 + default: *601 '404': *6 '500': *103 put: @@ -88694,8 +88735,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88720,16 +88761,16 @@ paths: - branch - tag - push - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *274 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *591 examples: default: value: @@ -88757,9 +88798,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *599 + default: *601 '404': *6 '500': *103 delete: @@ -88777,8 +88818,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88801,8 +88842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -88818,9 +88859,9 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *600 + default: *602 '404': *6 '500': *103 x-github: @@ -88839,8 +88880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88858,7 +88899,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -88913,21 +88954,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *323 - - *324 - - *602 - - *603 + - *325 + - *326 - *604 - *605 + - *606 + - *607 - *48 - *19 - *17 - - *606 - - *607 - *608 - *609 - *610 - *611 + - *612 + - *613 responses: '200': description: Response @@ -88935,11 +88976,11 @@ paths: application/json: schema: type: array - items: &615 + items: &617 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -88947,15 +88988,15 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *612 - resolution: *613 + state: *614 + resolution: *615 resolved_at: type: string format: date-time @@ -89051,7 +89092,7 @@ paths: pull request. ' - oneOf: *614 + oneOf: *616 nullable: true has_more_locations: type: boolean @@ -89200,16 +89241,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *323 - - *324 - - *425 - - *611 + - *325 + - *326 + - *427 + - *613 responses: '200': description: Response content: application/json: - schema: *615 + schema: *617 examples: default: value: @@ -89261,9 +89302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 requestBody: required: true content: @@ -89271,8 +89312,8 @@ paths: schema: type: object properties: - state: *612 - resolution: *613 + state: *614 + resolution: *615 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89290,7 +89331,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: default: value: @@ -89365,9 +89406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 - *19 - *17 responses: @@ -89378,7 +89419,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &773 + items: &774 type: object properties: type: @@ -89404,8 +89445,6 @@ paths: example: commit details: oneOf: - - *616 - - *617 - *618 - *619 - *620 @@ -89417,6 +89456,8 @@ paths: - *626 - *627 - *628 + - *629 + - *630 examples: default: value: @@ -89502,8 +89543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -89511,14 +89552,14 @@ paths: schema: type: object properties: - reason: &630 + reason: &632 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *629 + placeholder_id: *631 required: - reason - placeholder_id @@ -89535,7 +89576,7 @@ paths: schema: type: object properties: - reason: *630 + reason: *632 expire_at: type: string format: date-time @@ -89581,8 +89622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89597,7 +89638,7 @@ paths: properties: incremental_scans: type: array - items: &631 + items: &633 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89623,15 +89664,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *631 + items: *633 backfill_scans: type: array - items: *631 + items: *633 custom_pattern_backfill_scans: type: array items: allOf: - - *631 + - *633 - type: object properties: pattern_name: @@ -89701,8 +89742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *323 - - *324 + - *325 + - *326 - *48 - name: sort description: The property to sort the results by. @@ -89746,9 +89787,9 @@ paths: application/json: schema: type: array - items: *632 + items: *634 examples: - default: *633 + default: *635 '400': *14 '404': *6 x-github: @@ -89771,8 +89812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -89845,7 +89886,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *302 required: - login - type @@ -89932,9 +89973,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: &635 + default: &637 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90167,8 +90208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -90272,7 +90313,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: default: value: @@ -90419,17 +90460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 responses: '200': description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *635 + default: *637 '403': *29 '404': *6 x-github: @@ -90453,9 +90494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 requestBody: required: true content: @@ -90528,7 +90569,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *302 required: - login - type @@ -90614,17 +90655,17 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *635 - add_credit: *635 + default: *637 + add_credit: *637 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *109 + schema: *111 examples: invalid_state_transition: value: @@ -90655,9 +90696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 responses: '202': *39 '400': *14 @@ -90684,17 +90725,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 responses: '202': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 '400': *14 '422': *15 '403': *29 @@ -90720,8 +90761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -90820,8 +90861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90830,7 +90871,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90843,7 +90884,7 @@ paths: - 1124 - -435 '202': *39 - '204': *170 + '204': *172 '422': description: Repository contains more than 10,000 commits x-github: @@ -90863,8 +90904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -90913,7 +90954,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90940,8 +90981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -91015,7 +91056,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91037,8 +91078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91192,8 +91233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91203,7 +91244,7 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: default: value: @@ -91216,7 +91257,7 @@ paths: - - 0 - 2 - 21 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91236,8 +91277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *323 - - *324 + - *325 + - *326 - name: sha in: path required: true @@ -91291,7 +91332,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: default: value: @@ -91345,8 +91386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -91378,14 +91419,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &638 + schema: &640 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91453,8 +91494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -91480,7 +91521,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *640 examples: default: value: @@ -91507,8 +91548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -91528,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -91608,8 +91649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -91617,7 +91658,7 @@ paths: application/json: schema: type: array - items: &639 + items: &641 title: Tag protection description: Tag protection type: object @@ -91669,8 +91710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -91693,7 +91734,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *641 examples: default: value: @@ -91724,8 +91765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91762,8 +91803,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *323 - - *324 + - *325 + - *326 - name: ref in: path required: true @@ -91799,8 +91840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -91810,9 +91851,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '404': *6 @@ -91832,8 +91873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *323 - - *324 + - *325 + - *326 - *19 - *17 responses: @@ -91841,7 +91882,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &642 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -91853,7 +91894,7 @@ paths: required: - names examples: - default: &641 + default: &643 value: names: - octocat @@ -91876,8 +91917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -91908,9 +91949,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *641 + default: *643 '404': *6 '422': *7 x-github: @@ -91931,9 +91972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *323 - - *324 - - &642 + - *325 + - *326 + - &644 name: per description: The time frame to display results for. in: query @@ -91962,7 +92003,7 @@ paths: example: 128 clones: type: array - items: &643 + items: &645 title: Traffic type: object properties: @@ -92049,8 +92090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -92140,8 +92181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -92201,9 +92242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *323 - - *324 - - *642 + - *325 + - *326 + - *644 responses: '200': description: Response @@ -92222,7 +92263,7 @@ paths: example: 3782 views: type: array - items: *643 + items: *645 required: - uniques - count @@ -92299,8 +92340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -92336,7 +92377,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -92574,8 +92615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92598,8 +92639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -92621,8 +92662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -92648,8 +92689,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *323 - - *324 + - *325 + - *326 - name: ref in: path required: true @@ -92741,9 +92782,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92784,7 +92825,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -92973,7 +93014,7 @@ paths: html_url: type: string format: uri - repository: *140 + repository: *142 score: type: number file_size: @@ -92991,7 +93032,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &646 title: Search Result Text Matches type: array items: @@ -93153,7 +93194,7 @@ paths: enum: - author-date - committer-date - - &645 + - &647 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 @@ -93224,7 +93265,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *393 nullable: true comment_count: type: integer @@ -93244,7 +93285,7 @@ paths: url: type: string format: uri - verification: *507 + verification: *509 required: - author - committer @@ -93263,7 +93304,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *393 nullable: true parents: type: array @@ -93276,12 +93317,12 @@ paths: type: string sha: type: string - repository: *140 + repository: *142 score: type: number node_id: type: string - text_matches: *644 + text_matches: *646 required: - sha - node_id @@ -93473,7 +93514,7 @@ paths: - interactions - created - updated - - *645 + - *647 - *17 - *19 - name: advanced_search @@ -93570,11 +93611,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: type: string state_reason: @@ -93591,8 +93632,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 nullable: true comments: type: integer @@ -93606,7 +93647,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *646 pull_request: type: object properties: @@ -93650,7 +93691,7 @@ paths: timeline_url: type: string format: uri - type: *214 + type: *216 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93831,7 +93872,7 @@ paths: enum: - created - updated - - *645 + - *647 - *17 - *19 responses: @@ -93875,7 +93916,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *646 required: - id - node_id @@ -93960,7 +94001,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *647 - *17 - *19 responses: @@ -94199,7 +94240,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *646 temp_clone_token: type: string allow_merge_commit: @@ -94499,7 +94540,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *646 related: type: array nullable: true @@ -94690,7 +94731,7 @@ paths: - followers - repositories - joined - - *645 + - *647 - *17 - *19 responses: @@ -94794,7 +94835,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *646 blog: type: string nullable: true @@ -94873,7 +94914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &649 + - &651 name: team_id description: The unique identifier of the team. in: path @@ -94885,9 +94926,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -94914,7 +94955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *649 + - *651 requestBody: required: true content: @@ -94977,16 +95018,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '201': description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '403': *29 @@ -95014,7 +95055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *649 + - *651 responses: '204': description: Response @@ -95045,7 +95086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *649 + - *651 - *48 - *17 - *19 @@ -95056,9 +95097,9 @@ paths: application/json: schema: type: array - items: *310 + items: *312 examples: - default: *650 + default: *652 headers: Link: *54 x-github: @@ -95087,7 +95128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *649 + - *651 requestBody: required: true content: @@ -95121,9 +95162,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *311 + default: *313 x-github: triggersNotification: true githubCloudOnly: false @@ -95150,16 +95191,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 responses: '200': description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95184,8 +95225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 requestBody: required: false content: @@ -95208,9 +95249,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *651 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95235,8 +95276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 responses: '204': description: Response @@ -95265,8 +95306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *649 - - *312 + - *651 + - *314 - *48 - *17 - *19 @@ -95277,9 +95318,9 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: - default: *652 + default: *654 headers: Link: *54 x-github: @@ -95308,8 +95349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *649 - - *312 + - *651 + - *314 requestBody: required: true content: @@ -95331,9 +95372,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *314 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95360,17 +95401,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *314 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95395,9 +95436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 requestBody: required: true content: @@ -95419,9 +95460,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *653 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95446,9 +95487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 responses: '204': description: Response @@ -95477,9 +95518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -95505,9 +95546,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 x-github: @@ -95536,9 +95577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 requestBody: required: true content: @@ -95570,9 +95611,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95598,8 +95639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -95625,9 +95666,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 x-github: @@ -95656,8 +95697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 requestBody: required: true content: @@ -95689,9 +95730,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95715,7 +95756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -95725,9 +95766,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -95753,7 +95794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *649 + - *651 - name: role description: Filters members returned by their role in the team. in: query @@ -95804,7 +95845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -95841,7 +95882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -95881,7 +95922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -95918,16 +95959,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *649 + - *651 - *59 responses: '200': description: Response content: application/json: - schema: *320 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *654 + response-if-user-is-a-team-maintainer: *656 '404': *6 x-github: githubCloudOnly: false @@ -95960,7 +96001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *649 + - *651 - *59 requestBody: required: false @@ -95986,9 +96027,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *655 + response-if-users-membership-with-team-is-now-pending: *657 '403': description: Forbidden if team synchronization is set up '422': @@ -96022,7 +96063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -96051,7 +96092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -96061,9 +96102,9 @@ paths: application/json: schema: type: array - items: *321 + items: *323 examples: - default: *656 + default: *658 headers: Link: *54 '404': *6 @@ -96089,16 +96130,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *649 - - *322 + - *651 + - *324 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *657 + default: *659 '404': description: Not Found if project is not managed by this team x-github: @@ -96122,8 +96163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *649 - - *322 + - *651 + - *324 requestBody: required: false content: @@ -96190,8 +96231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *649 - - *322 + - *651 + - *324 responses: '204': description: Response @@ -96218,7 +96259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -96228,9 +96269,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -96260,15 +96301,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *649 - - *323 - - *324 + - *651 + - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *658 + schema: *660 examples: alternative-response-with-extra-repository-information: value: @@ -96419,9 +96460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *649 - - *323 - - *324 + - *651 + - *325 + - *326 requestBody: required: false content: @@ -96471,9 +96512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *649 - - *323 - - *324 + - *651 + - *325 + - *326 responses: '204': description: Response @@ -96498,7 +96539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -96508,9 +96549,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: *659 + response-if-child-teams-exist: *661 headers: Link: *54 '404': *6 @@ -96543,7 +96584,7 @@ paths: application/json: schema: oneOf: - - &661 + - &663 title: Private User description: Private User type: object @@ -96746,7 +96787,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *660 + - *662 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96899,7 +96940,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *663 examples: default: value: @@ -97102,9 +97143,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -97243,17 +97284,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '401': *25 '403': *29 '404': *6 @@ -97297,7 +97338,7 @@ paths: type: integer secrets: type: array - items: &662 + items: &664 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97337,7 +97378,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *450 headers: Link: *54 x-github: @@ -97407,13 +97448,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *662 + schema: *664 examples: default: value: @@ -97443,7 +97484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 requestBody: required: true content: @@ -97488,7 +97529,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -97516,7 +97557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '204': description: Response @@ -97541,7 +97582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 responses: '200': description: Response @@ -97557,9 +97598,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *663 + default: *665 '401': *25 '403': *29 '404': *6 @@ -97584,7 +97625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 requestBody: required: true content: @@ -97638,7 +97679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97671,7 +97712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97703,15 +97744,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '304': *37 '500': *103 '401': *25 @@ -97737,7 +97778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 requestBody: required: false content: @@ -97767,9 +97808,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '401': *25 '403': *29 '404': *6 @@ -97791,7 +97832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': *39 '304': *37 @@ -97820,13 +97861,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': description: Response content: application/json: - schema: &664 + schema: &666 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97867,7 +97908,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &665 + default: &667 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97899,7 +97940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *221 + - *223 - name: export_id in: path required: true @@ -97912,9 +97953,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *666 examples: - default: *665 + default: *667 '404': *6 x-github: githubCloudOnly: false @@ -97935,7 +97976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *221 + - *223 responses: '200': description: Response @@ -97951,9 +97992,9 @@ paths: type: integer machines: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 '304': *37 '500': *103 '401': *25 @@ -97982,7 +98023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *221 + - *223 requestBody: required: true content: @@ -98032,13 +98073,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *331 + repository: *333 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *448 + required: *449 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98812,15 +98853,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '304': *37 '500': *103 '400': *14 @@ -98852,15 +98893,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '500': *103 '401': *25 '403': *29 @@ -98890,9 +98931,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: &678 + default: &680 value: - id: 197 name: hello_docker @@ -98993,7 +99034,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: Email description: Email type: object @@ -99058,9 +99099,9 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: - default: &680 + default: &682 value: - email: octocat@github.com verified: true @@ -99135,7 +99176,7 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: default: value: @@ -99391,7 +99432,7 @@ paths: application/json: schema: type: array - items: &669 + items: &671 title: GPG Key description: A unique encryption key type: object @@ -99522,7 +99563,7 @@ paths: - subkeys - revoked examples: - default: &694 + default: &696 value: - id: 3 name: Octocat's GPG Key @@ -99607,9 +99648,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: &670 + default: &672 value: id: 3 name: Octocat's GPG Key @@ -99666,7 +99707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &673 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99678,9 +99719,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 '404': *6 '304': *37 '403': *29 @@ -99703,7 +99744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *673 responses: '204': description: Response @@ -99894,7 +99935,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 headers: Link: *54 '404': *6 @@ -99919,7 +99960,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99945,7 +99986,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99979,12 +100020,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: *210 + default: *212 '204': description: Response when there are no restrictions x-github: @@ -100008,7 +100049,7 @@ paths: required: true content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -100019,7 +100060,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -100100,7 +100141,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -100125,7 +100166,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -100158,7 +100199,7 @@ paths: application/json: schema: type: array - items: &672 + items: &674 title: Key description: Key type: object @@ -100259,9 +100300,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *674 examples: - default: &673 + default: &675 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100294,15 +100335,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *549 responses: '200': description: Response content: application/json: - schema: *672 + schema: *674 examples: - default: *673 + default: *675 '404': *6 '304': *37 '403': *29 @@ -100325,7 +100366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *549 responses: '204': description: Response @@ -100358,7 +100399,7 @@ paths: application/json: schema: type: array - items: &674 + items: &676 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100426,7 +100467,7 @@ paths: - account - plan examples: - default: &675 + default: &677 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100488,9 +100529,9 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: - default: *675 + default: *677 headers: Link: *54 '304': *37 @@ -100530,7 +100571,7 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: default: value: @@ -100638,7 +100679,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100721,7 +100762,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100789,7 +100830,7 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: default: value: @@ -101042,7 +101083,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101222,7 +101263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *226 + - *228 - name: exclude in: query required: false @@ -101235,7 +101276,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101429,7 +101470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *226 + - *228 responses: '302': description: Response @@ -101455,7 +101496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *226 + - *228 responses: '204': description: Response @@ -101484,8 +101525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *226 - - *676 + - *228 + - *678 responses: '204': description: Response @@ -101509,7 +101550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *226 + - *228 - *17 - *19 responses: @@ -101519,9 +101560,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -101600,7 +101641,7 @@ paths: - docker - nuget - container - - *677 + - *679 - *19 - *17 responses: @@ -101610,10 +101651,10 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 - '400': *679 + default: *680 + '400': *681 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101633,16 +101674,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: &695 + default: &697 value: id: 40201 name: octo-name @@ -101755,8 +101796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '204': description: Response @@ -101786,8 +101827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 - name: token description: package token schema: @@ -101819,8 +101860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 - *19 - *17 - name: state @@ -101840,7 +101881,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -101889,15 +101930,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -101933,9 +101974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -101965,9 +102006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -102023,7 +102064,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -102095,9 +102136,9 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: - default: *680 + default: *682 headers: Link: *54 '304': *37 @@ -102210,7 +102251,7 @@ paths: type: array items: *66 examples: - default: &687 + default: &689 summary: Default response value: - id: 1296269 @@ -102514,9 +102555,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102554,9 +102595,9 @@ paths: application/json: schema: type: array - items: *520 + items: *522 examples: - default: *681 + default: *683 headers: Link: *54 '304': *37 @@ -102579,7 +102620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102602,7 +102643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102635,7 +102676,7 @@ paths: application/json: schema: type: array - items: &682 + items: &684 title: Social account description: Social media account type: object @@ -102650,7 +102691,7 @@ paths: - provider - url examples: - default: &683 + default: &685 value: - provider: twitter url: https://twitter.com/github @@ -102712,9 +102753,9 @@ paths: application/json: schema: type: array - items: *682 + items: *684 examples: - default: *683 + default: *685 '422': *15 '304': *37 '404': *6 @@ -102801,7 +102842,7 @@ paths: application/json: schema: type: array - items: &684 + items: &686 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102821,7 +102862,7 @@ paths: - title - created_at examples: - default: &709 + default: &710 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102887,9 +102928,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *686 examples: - default: &685 + default: &687 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102920,7 +102961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &686 + - &688 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102932,9 +102973,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *686 examples: - default: *685 + default: *687 '404': *6 '304': *37 '403': *29 @@ -102957,7 +102998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *686 + - *688 responses: '204': description: Response @@ -102986,7 +103027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &710 + - &711 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 @@ -103011,11 +103052,11 @@ paths: type: array items: *66 examples: - default-response: *687 + default-response: *689 application/vnd.github.v3.star+json: schema: type: array - items: &711 + items: &712 title: Starred Repository description: Starred Repository type: object @@ -103171,8 +103212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -103200,8 +103241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -103225,8 +103266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -103259,9 +103300,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '304': *37 @@ -103298,7 +103339,7 @@ paths: application/json: schema: type: array - items: *308 + items: *310 examples: default: value: @@ -103384,10 +103425,10 @@ paths: application/json: schema: oneOf: - - *661 - - *660 + - *663 + - *662 examples: - default-response: &689 + default-response: &691 summary: Default response value: login: octocat @@ -103422,7 +103463,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &690 + response-with-git-hub-plan-information: &692 summary: Response with GitHub plan information value: login: octocat @@ -103482,7 +103523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *688 + - *690 - *17 responses: '200': @@ -103531,11 +103572,11 @@ paths: application/json: schema: oneOf: - - *661 - - *660 + - *663 + - *662 examples: - default-response: *689 - response-with-git-hub-plan-information: *690 + default-response: *691 + response-with-git-hub-plan-information: *692 '404': *6 x-github: githubCloudOnly: false @@ -103585,8 +103626,8 @@ paths: required: - subject_digests examples: - default: *691 - withPredicateType: *692 + default: *693 + withPredicateType: *694 responses: '200': description: Response @@ -103639,7 +103680,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *693 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103844,12 +103885,12 @@ paths: initiator: type: string examples: - default: *387 + default: *389 '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -103883,9 +103924,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *680 '403': *29 '401': *25 x-github: @@ -104269,9 +104310,9 @@ paths: application/json: schema: type: array - items: *669 + items: *671 examples: - default: *694 + default: *696 headers: Link: *54 x-github: @@ -104375,7 +104416,7 @@ paths: application/json: schema: *22 examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104499,7 +104540,7 @@ paths: - docker - nuget - container - - *677 + - *679 - *59 - *19 - *17 @@ -104510,12 +104551,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *680 '403': *29 '401': *25 - '400': *679 + '400': *681 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104535,17 +104576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *695 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104566,8 +104607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '204': @@ -104600,8 +104641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 - name: token description: package token @@ -104634,8 +104675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': @@ -104644,7 +104685,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -104702,16 +104743,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 - *59 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -104746,10 +104787,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104781,10 +104822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104831,7 +104872,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -104906,9 +104947,9 @@ paths: application/json: schema: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104930,16 +104971,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *251 + - *253 - *59 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104961,7 +105002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *251 + - *253 - *59 - *17 - *40 @@ -104973,9 +105014,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *255 headers: Link: *54 '304': *37 @@ -104997,17 +105038,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *251 - - *696 + - *253 + - *698 - *59 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *54 '304': *37 @@ -105030,7 +105071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - *40 - *41 @@ -105063,9 +105104,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 headers: Link: *54 '304': *37 @@ -105087,7 +105128,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *59 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -105124,10 +105165,10 @@ paths: description: Response content: application/json: - schema: *697 + schema: *699 examples: - issue: *258 - pull_request: *258 + issue: *260 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -105147,9 +105188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - - *261 + - *263 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105169,9 +105210,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 headers: Link: *54 '304': *37 @@ -105192,9 +105233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105264,13 +105305,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -105290,9 +105331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *263 responses: '204': description: Response @@ -105510,9 +105551,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -105542,9 +105583,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *700 examples: - default: *699 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105572,9 +105613,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *702 examples: - default: *701 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105596,10 +105637,10 @@ paths: parameters: - *59 - *105 - - *702 + - *107 - *106 - - *703 - *704 + - *108 responses: '200': description: Response when getting a billing premium request usage report @@ -105761,7 +105802,6 @@ paths: - *105 - *707 - *106 - - *708 responses: '200': description: Response when getting a billing usage report @@ -105838,6 +105878,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - *59 + - *105 + - *107 + - *106 + - *708 + - *108 + - *709 + responses: + '200': + description: Response when getting a billing usage summary 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -105860,9 +106035,9 @@ paths: application/json: schema: type: array - items: *682 + items: *684 examples: - default: *683 + default: *685 headers: Link: *54 x-github: @@ -105892,9 +106067,9 @@ paths: application/json: schema: type: array - items: *684 + items: *686 examples: - default: *709 + default: *710 headers: Link: *54 x-github: @@ -105919,7 +106094,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *710 + - *711 - *48 - *17 - *19 @@ -105931,11 +106106,11 @@ paths: schema: anyOf: - type: array - items: *711 + items: *712 - type: array items: *66 examples: - default-response: *687 + default-response: *689 headers: Link: *54 x-github: @@ -105964,9 +106139,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -106094,7 +106269,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &712 + enterprise: &713 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106152,7 +106327,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &713 + installation: &714 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106171,7 +106346,7 @@ x-webhooks: required: - id - node_id - organization: &714 + organization: &715 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106231,13 +106406,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &715 + repository: &716 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &745 + properties: &746 id: description: Unique identifier of the repository example: 42 @@ -106920,7 +107095,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &746 + required: &747 - archive_url - assignees_url - blobs_url @@ -107071,10 +107246,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -107150,11 +107325,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: &716 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + rule: &717 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) @@ -107377,11 +107552,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + rule: *717 sender: *4 required: - action @@ -107564,11 +107739,11 @@ x-webhooks: - everyone required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + rule: *717 sender: *4 required: - action @@ -107652,7 +107827,7 @@ x-webhooks: type: string enum: - completed - check_run: &718 + check_run: &719 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107705,8 +107880,8 @@ x-webhooks: type: string pull_requests: type: array - items: *404 - repository: *140 + items: *406 + repository: *142 status: example: completed type: string @@ -107743,7 +107918,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *717 + deployment: *718 details_url: example: https://example.com type: string @@ -107793,7 +107968,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *404 + items: *406 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -107828,10 +108003,10 @@ x-webhooks: - output - app - pull_requests - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 sender: *4 required: - check_run @@ -108224,11 +108399,11 @@ x-webhooks: type: string enum: - created - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *719 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 sender: *4 required: - check_run @@ -108624,11 +108799,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *719 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 requested_action: description: The action requested by the user. type: object @@ -109033,11 +109208,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *719 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 sender: *4 required: - check_run @@ -110014,10 +110189,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -110687,10 +110862,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -111354,10 +111529,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -111523,7 +111698,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111668,20 +111843,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &719 + commit_oid: &720 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: *712 - installation: *713 - organization: *714 - ref: &720 + enterprise: *713 + installation: *714 + organization: *715 + ref: &721 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: *715 + repository: *716 sender: *4 required: - action @@ -111846,7 +112021,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112076,12 +112251,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -112176,7 +112351,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112347,12 +112522,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -112518,7 +112693,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112684,12 +112859,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -112789,7 +112964,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112957,16 +113132,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *715 + repository: *716 sender: *4 required: - action @@ -113063,7 +113238,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113203,12 +113378,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -113465,10 +113640,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -113548,18 +113723,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *714 - pusher_type: &721 + organization: *715 + pusher_type: &722 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &722 + ref: &723 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113569,7 +113744,7 @@ x-webhooks: enum: - tag - branch - repository: *715 + repository: *716 sender: *4 required: - ref @@ -113651,10 +113826,10 @@ x-webhooks: type: string enum: - created - definition: *262 - enterprise: *712 - installation: *713 - organization: *714 + definition: *264 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113739,9 +113914,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113818,10 +113993,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *262 - enterprise: *712 - installation: *713 - organization: *714 + definition: *264 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113898,10 +114073,10 @@ x-webhooks: type: string enum: - updated - definition: *262 - enterprise: *712 - installation: *713 - organization: *714 + definition: *264 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113978,10 +114153,10 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - repository: *715 - organization: *714 + enterprise: *713 + installation: *714 + repository: *716 + organization: *715 sender: *4 new_property_values: type: array @@ -114066,18 +114241,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - pusher_type: *721 - ref: *722 + enterprise: *713 + installation: *714 + organization: *715 + pusher_type: *722 + ref: *723 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *715 + repository: *716 sender: *4 required: - ref @@ -114161,11 +114336,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114249,11 +114424,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114337,11 +114512,11 @@ x-webhooks: type: string enum: - created - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114423,11 +114598,11 @@ x-webhooks: type: string enum: - dismissed - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114509,11 +114684,11 @@ x-webhooks: type: string enum: - fixed - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114596,11 +114771,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114682,11 +114857,11 @@ x-webhooks: type: string enum: - reopened - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114763,9 +114938,9 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - key: &723 + enterprise: *713 + installation: *714 + key: &724 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114801,8 +114976,8 @@ x-webhooks: - verified - created_at - read_only - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -114879,11 +115054,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - key: *723 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + key: *724 + organization: *715 + repository: *716 sender: *4 required: - action @@ -115444,12 +115619,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: &727 + workflow: &728 title: Workflow type: object nullable: true @@ -116175,13 +116350,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *482 + deployment: *484 pull_requests: type: array - items: *568 - repository: *715 - organization: *714 - installation: *713 + items: *570 + repository: *716 + organization: *715 + installation: *714 sender: *4 responses: '200': @@ -116252,7 +116427,7 @@ x-webhooks: type: string enum: - approved - approver: &724 + approver: &725 type: object properties: avatar_url: @@ -116295,11 +116470,11 @@ x-webhooks: type: string comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: &725 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + reviewers: &726 type: array items: type: object @@ -116378,7 +116553,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &726 + workflow_job_run: &727 type: object properties: conclusion: @@ -117109,18 +117284,18 @@ x-webhooks: type: string enum: - rejected - approver: *724 + approver: *725 comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: *725 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + reviewers: *726 sender: *4 since: type: string - workflow_job_run: *726 + workflow_job_run: *727 workflow_job_runs: type: array items: @@ -117824,13 +117999,13 @@ x-webhooks: type: string enum: - requested - enterprise: *712 + enterprise: *713 environment: type: string - installation: *713 - organization: *714 - repository: *715 - requestor: &732 + installation: *714 + organization: *715 + repository: *716 + requestor: &733 title: User type: object nullable: true @@ -119729,12 +119904,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Deployment Workflow Run type: object @@ -120414,7 +120589,7 @@ x-webhooks: type: string enum: - answered - answer: &730 + answer: &731 type: object properties: author_association: @@ -120571,7 +120746,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &728 + discussion: &729 title: Discussion description: A Discussion in a repository. type: object @@ -120857,7 +121032,7 @@ x-webhooks: - id labels: type: array - items: *530 + items: *532 required: - repository_url - category @@ -120879,10 +121054,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121009,11 +121184,11 @@ x-webhooks: - from required: - category - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121096,11 +121271,11 @@ x-webhooks: type: string enum: - closed - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121182,7 +121357,7 @@ x-webhooks: type: string enum: - created - comment: &729 + comment: &730 type: object properties: author_association: @@ -121339,11 +121514,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121426,12 +121601,12 @@ x-webhooks: type: string enum: - deleted - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *730 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121526,12 +121701,12 @@ x-webhooks: - from required: - body - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *730 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121615,11 +121790,11 @@ x-webhooks: type: string enum: - created - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121701,11 +121876,11 @@ x-webhooks: type: string enum: - deleted - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121805,11 +121980,11 @@ x-webhooks: type: string required: - from - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121891,10 +122066,10 @@ x-webhooks: type: string enum: - labeled - discussion: *728 - enterprise: *712 - installation: *713 - label: &731 + discussion: *729 + enterprise: *713 + installation: *714 + label: &732 title: Label type: object properties: @@ -121926,8 +122101,8 @@ x-webhooks: - color - default - description - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122010,11 +122185,11 @@ x-webhooks: type: string enum: - locked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122096,11 +122271,11 @@ x-webhooks: type: string enum: - pinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122182,11 +122357,11 @@ x-webhooks: type: string enum: - reopened - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122271,16 +122446,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *728 - new_repository: *715 + new_discussion: *729 + new_repository: *716 required: - new_discussion - new_repository - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122363,10 +122538,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *728 - old_answer: *730 - organization: *714 - repository: *715 + discussion: *729 + old_answer: *731 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122448,12 +122623,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *728 - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122536,11 +122711,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122622,11 +122797,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122699,7 +122874,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *712 + enterprise: *713 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123359,9 +123534,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - forkee @@ -123507,9 +123682,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pages: description: The pages that were updated. type: array @@ -123546,7 +123721,7 @@ x-webhooks: - action - sha - html_url - repository: *715 + repository: *716 sender: *4 required: - pages @@ -123622,10 +123797,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: &733 + organization: *715 + repositories: &734 description: An array of repository objects that the installation can access. type: array @@ -123651,8 +123826,8 @@ x-webhooks: - name - full_name - private - repository: *715 - requester: *732 + repository: *716 + requester: *733 sender: *4 required: - action @@ -123727,11 +123902,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -123807,11 +123982,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -123887,10 +124062,10 @@ x-webhooks: type: string enum: - added - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories_added: &734 + organization: *715 + repositories_added: &735 description: An array of repository objects, which were added to the installation. type: array @@ -123936,15 +124111,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *715 - repository_selection: &735 + repository: *716 + repository_selection: &736 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *732 + requester: *733 sender: *4 required: - action @@ -124023,10 +124198,10 @@ x-webhooks: type: string enum: - removed - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories_added: *734 + organization: *715 + repositories_added: *735 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124053,9 +124228,9 @@ x-webhooks: - name - full_name - private - repository: *715 - repository_selection: *735 - requester: *732 + repository: *716 + repository_selection: *736 + requester: *733 sender: *4 required: - action @@ -124134,11 +124309,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -124316,10 +124491,10 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 target_type: type: string @@ -124398,11 +124573,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -124654,8 +124829,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125449,8 +125624,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125466,7 +125641,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -125799,8 +125974,8 @@ x-webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -125880,7 +126055,7 @@ x-webhooks: type: string enum: - deleted - comment: &736 + comment: &737 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126045,8 +126220,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126836,8 +127011,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126853,7 +127028,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -127188,8 +127363,8 @@ x-webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -127269,7 +127444,7 @@ x-webhooks: type: string enum: - edited - changes: &765 + changes: &766 description: The changes to the comment. type: object properties: @@ -127281,9 +127456,9 @@ x-webhooks: type: string required: - from - comment: *736 - enterprise: *712 - installation: *713 + comment: *737 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128076,8 +128251,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128093,7 +128268,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -128426,8 +128601,8 @@ x-webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128517,9 +128692,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128613,9 +128788,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128708,9 +128883,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128804,9 +128979,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128891,10 +129066,10 @@ x-webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - issue: &739 + assignee: *733 + enterprise: *713 + installation: *714 + issue: &740 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129683,11 +129858,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129703,7 +129878,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -129804,8 +129979,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -129885,8 +130060,8 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130680,11 +130855,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130700,7 +130875,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -130936,8 +131111,8 @@ x-webhooks: required: - state - closed_at - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -131016,8 +131191,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131802,11 +131977,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131822,7 +131997,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -131922,8 +132097,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -132002,8 +132177,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132810,11 +132985,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132830,7 +133005,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -132909,7 +133084,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &737 + milestone: &738 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133047,8 +133222,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -133147,8 +133322,8 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133937,11 +134112,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133954,7 +134129,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -134058,9 +134233,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -134140,8 +134315,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134929,11 +135104,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134946,7 +135121,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -135050,9 +135225,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -135132,8 +135307,8 @@ x-webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135945,11 +136120,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135962,7 +136137,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -136043,8 +136218,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -136123,8 +136298,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136930,11 +137105,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136950,7 +137125,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -137028,9 +137203,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *737 - organization: *714 - repository: *715 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -137898,11 +138073,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137995,7 +138170,7 @@ x-webhooks: required: - login - id - type: *214 + type: *216 required: - id - number @@ -138464,8 +138639,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139254,11 +139429,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139274,7 +139449,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -139374,8 +139549,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -139455,9 +139630,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *712 - installation: *713 - issue: &738 + enterprise: *713 + installation: *714 + issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140240,11 +140415,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140260,7 +140435,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -140360,8 +140535,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -140440,8 +140615,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141251,11 +141426,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141349,9 +141524,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *214 - organization: *714 - repository: *715 + type: *216 + organization: *715 + repository: *716 sender: *4 required: - action @@ -142217,11 +142392,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142237,7 +142412,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -142805,11 +142980,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *739 + organization: *715 + repository: *716 sender: *4 required: - action @@ -142889,12 +143064,12 @@ x-webhooks: type: string enum: - typed - enterprise: *712 - installation: *713 - issue: *739 - type: *214 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + type: *216 + organization: *715 + repository: *716 sender: *4 required: - action @@ -142975,7 +143150,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &768 + assignee: &769 title: User type: object nullable: true @@ -143045,11 +143220,11 @@ x-webhooks: required: - login - id - enterprise: *712 - installation: *713 - issue: *739 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + organization: *715 + repository: *716 sender: *4 required: - action @@ -143128,12 +143303,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - issue: *739 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -143213,8 +143388,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144024,11 +144199,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144044,7 +144219,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -144122,8 +144297,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144203,11 +144378,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *739 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144286,12 +144461,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *712 - installation: *713 - issue: *739 - type: *214 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + type: *216 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144371,11 +144546,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144453,11 +144628,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144567,11 +144742,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144653,9 +144828,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: &740 + enterprise: *713 + installation: *714 + marketplace_purchase: &741 title: Marketplace Purchase type: object required: @@ -144738,8 +144913,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: &741 + organization: *715 + previous_marketplace_purchase: &742 title: Marketplace Purchase type: object properties: @@ -144819,7 +144994,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *716 sender: *4 required: - action @@ -144899,10 +145074,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *713 + installation: *714 + marketplace_purchase: *741 + organization: *715 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144985,7 +145160,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *716 sender: *4 required: - action @@ -145067,10 +145242,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *713 + installation: *714 + marketplace_purchase: *741 + organization: *715 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145152,7 +145327,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *716 sender: *4 required: - action @@ -145233,8 +145408,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 marketplace_purchase: title: Marketplace Purchase type: object @@ -145316,9 +145491,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + organization: *715 + previous_marketplace_purchase: *742 + repository: *716 sender: *4 required: - action @@ -145398,12 +145573,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + enterprise: *713 + installation: *714 + marketplace_purchase: *741 + organization: *715 + previous_marketplace_purchase: *742 + repository: *716 sender: *4 required: - action @@ -145505,11 +145680,11 @@ x-webhooks: type: string required: - to - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 sender: *4 required: - action @@ -145609,11 +145784,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 sender: *4 required: - action @@ -145692,11 +145867,11 @@ x-webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 sender: *4 required: - action @@ -145774,11 +145949,11 @@ x-webhooks: type: string enum: - added - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145854,7 +146029,7 @@ x-webhooks: required: - login - id - team: &742 + team: &743 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146077,11 +146252,11 @@ x-webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146158,7 +146333,7 @@ x-webhooks: required: - login - id - team: *742 + team: *743 required: - action - scope @@ -146240,8 +146415,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *713 - merge_group: &744 + installation: *714 + merge_group: &745 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146260,15 +146435,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *743 + head_commit: *744 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146354,10 +146529,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *713 - merge_group: *744 - organization: *714 - repository: *715 + installation: *714 + merge_group: *745 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146430,7 +146605,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *713 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146539,16 +146714,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *713 - organization: *714 + installation: *714 + organization: *715 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -146629,11 +146804,11 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146712,9 +146887,9 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - milestone: &747 + enterprise: *713 + installation: *714 + milestone: &748 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146851,8 +147026,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146931,11 +147106,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147045,11 +147220,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147129,11 +147304,11 @@ x-webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - milestone: *747 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *748 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147212,11 +147387,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *733 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147295,11 +147470,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *733 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147378,9 +147553,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - membership: &748 + enterprise: *713 + installation: *714 + membership: &749 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147487,8 +147662,8 @@ x-webhooks: - role - organization_url - user - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147566,11 +147741,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *712 - installation: *713 - membership: *748 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + membership: *749 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147649,8 +147824,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147766,10 +147941,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 - user: *732 + user: *733 required: - action - invitation @@ -147847,11 +148022,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *712 - installation: *713 - membership: *748 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + membership: *749 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147938,11 +148113,11 @@ x-webhooks: properties: from: type: string - enterprise: *712 - installation: *713 - membership: *748 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + membership: *749 + organization: *715 + repository: *716 sender: *4 required: - action @@ -148018,9 +148193,9 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 package: description: Information about the package. type: object @@ -148519,7 +148694,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &749 + items: &750 title: Ruby Gems metadata type: object properties: @@ -148614,7 +148789,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -148690,9 +148865,9 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 package: description: Information about the package. type: object @@ -149045,7 +149220,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *749 + items: *750 source_url: type: string format: uri @@ -149115,7 +149290,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -149292,12 +149467,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *712 + enterprise: *713 id: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - id @@ -149374,7 +149549,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &750 + personal_access_token_request: &751 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149520,10 +149695,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *712 - organization: *714 + enterprise: *713 + organization: *715 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149600,11 +149775,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *750 - enterprise: *712 - organization: *714 + personal_access_token_request: *751 + enterprise: *713 + organization: *715 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149680,11 +149855,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *750 - enterprise: *712 - organization: *714 + personal_access_token_request: *751 + enterprise: *713 + organization: *715 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149759,11 +149934,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *750 - organization: *714 - enterprise: *712 + personal_access_token_request: *751 + organization: *715 + enterprise: *713 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149868,7 +150043,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *751 + last_response: *752 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149900,8 +150075,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 zen: description: Random string of GitHub zen. @@ -150146,10 +150321,10 @@ x-webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: &752 + enterprise: *713 + installation: *714 + organization: *715 + project_card: &753 title: Project Card type: object properties: @@ -150268,7 +150443,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *715 + repository: *716 sender: *4 required: - action @@ -150349,11 +150524,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_card: *752 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_card: *753 + repository: *716 sender: *4 required: - action @@ -150433,9 +150608,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 project_card: title: Project Card type: object @@ -150563,8 +150738,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -150658,11 +150833,11 @@ x-webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: *752 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_card: *753 + repository: *716 sender: *4 required: - action @@ -150756,9 +150931,9 @@ x-webhooks: - from required: - column_id - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 project_card: allOf: - title: Project Card @@ -150948,7 +151123,7 @@ x-webhooks: type: string required: - after_id - repository: *715 + repository: *716 sender: *4 required: - action @@ -151028,10 +151203,10 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - organization: *714 - project: &754 + enterprise: *713 + installation: *714 + organization: *715 + project: &755 title: Project type: object properties: @@ -151155,7 +151330,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *715 + repository: *716 sender: *4 required: - action @@ -151235,10 +151410,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_column: &753 + enterprise: *713 + installation: *714 + organization: *715 + project_column: &754 title: Project Column type: object properties: @@ -151277,7 +151452,7 @@ x-webhooks: - name - created_at - updated_at - repository: *715 + repository: *716 sender: *4 required: - action @@ -151356,18 +151531,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project_column: *753 + enterprise: *713 + installation: *714 + organization: *715 + project_column: *754 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -151457,11 +151632,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project_column: *753 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_column: *754 + repository: *716 sender: *4 required: - action @@ -151541,11 +151716,11 @@ x-webhooks: type: string enum: - moved - enterprise: *712 - installation: *713 - organization: *714 - project_column: *753 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_column: *754 + repository: *716 sender: *4 required: - action @@ -151625,11 +151800,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project: *754 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 + repository: *716 sender: *4 required: - action @@ -151709,18 +151884,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project: *754 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -151822,11 +151997,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project: *754 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 + repository: *716 sender: *4 required: - action @@ -151905,11 +152080,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - organization: *714 - project: *754 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 + repository: *716 sender: *4 required: - action @@ -151990,9 +152165,9 @@ x-webhooks: type: string enum: - closed - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152073,9 +152248,9 @@ x-webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152156,9 +152331,9 @@ x-webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152275,9 +152450,9 @@ x-webhooks: type: string to: type: string - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152360,7 +152535,7 @@ x-webhooks: type: string enum: - archived - changes: &758 + changes: &759 type: object properties: archived_at: @@ -152374,9 +152549,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *713 - organization: *714 - projects_v2_item: &755 + installation: *714 + organization: *715 + projects_v2_item: &756 title: Projects v2 Item description: An item belonging to a project type: object @@ -152394,7 +152569,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *257 + content_type: *259 creator: *4 created_at: type: string @@ -152511,9 +152686,9 @@ x-webhooks: nullable: true to: type: string - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152595,9 +152770,9 @@ x-webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152678,9 +152853,9 @@ x-webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152786,7 +152961,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &756 + - &757 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152808,7 +152983,7 @@ x-webhooks: required: - id - name - - &757 + - &758 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152842,8 +153017,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *756 - *757 + - *758 required: - field_value - type: object @@ -152859,9 +153034,9 @@ x-webhooks: nullable: true required: - body - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152956,9 +153131,9 @@ x-webhooks: to: type: string nullable: true - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -153041,10 +153216,10 @@ x-webhooks: type: string enum: - restored - changes: *758 - installation: *713 - organization: *714 - projects_v2_item: *755 + changes: *759 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -153126,9 +153301,9 @@ x-webhooks: type: string enum: - reopened - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -153209,14 +153384,14 @@ x-webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_status_update: &761 + installation: *714 + organization: *715 + projects_v2_status_update: &762 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *759 - required: *760 + properties: *760 + required: *761 sender: *4 required: - action @@ -153297,9 +153472,9 @@ x-webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_status_update: *761 + installation: *714 + organization: *715 + projects_v2_status_update: *762 sender: *4 required: - action @@ -153435,9 +153610,9 @@ x-webhooks: type: string format: date nullable: true - installation: *713 - organization: *714 - projects_v2_status_update: *761 + installation: *714 + organization: *715 + projects_v2_status_update: *762 sender: *4 required: - action @@ -153508,10 +153683,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - repository @@ -153588,13 +153763,13 @@ x-webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - number: &762 + assignee: *733 + enterprise: *713 + installation: *714 + number: &763 description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -155877,7 +156052,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -155959,11 +156134,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -158241,7 +158416,7 @@ x-webhooks: - draft reason: type: string - repository: *715 + repository: *716 sender: *4 required: - action @@ -158323,11 +158498,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -160605,7 +160780,7 @@ x-webhooks: - draft reason: type: string - repository: *715 + repository: *716 sender: *4 required: - action @@ -160687,13 +160862,13 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: &763 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: &764 allOf: - - *568 + - *570 - type: object properties: allow_auto_merge: @@ -160755,7 +160930,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *715 + repository: *716 sender: *4 required: - action @@ -160836,12 +161011,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -160921,11 +161096,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *712 - milestone: *550 - number: *762 - organization: *714 - pull_request: &764 + enterprise: *713 + milestone: *552 + number: *763 + organization: *715 + pull_request: &765 title: Pull Request type: object properties: @@ -163188,7 +163363,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -163267,11 +163442,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -165553,7 +165728,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *715 + repository: *716 sender: *4 required: - action @@ -165677,12 +165852,12 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -165762,11 +165937,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -168033,7 +168208,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -168113,11 +168288,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 - label: *731 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + label: *732 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -170399,7 +170574,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -170480,10 +170655,10 @@ x-webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -172763,7 +172938,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -172843,12 +173018,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *712 - milestone: *550 - number: *762 - organization: *714 - pull_request: *764 - repository: *715 + enterprise: *713 + milestone: *552 + number: *763 + organization: *715 + pull_request: *765 + repository: *716 sender: *4 required: - action @@ -172927,12 +173102,12 @@ x-webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -173013,12 +173188,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -173098,12 +173273,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -173469,9 +173644,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: type: object properties: @@ -175641,7 +175816,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *716 sender: *4 required: - action @@ -175721,7 +175896,7 @@ x-webhooks: type: string enum: - deleted - comment: &766 + comment: &767 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176006,9 +176181,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: type: object properties: @@ -178166,7 +178341,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *716 sender: *4 required: - action @@ -178246,11 +178421,11 @@ x-webhooks: type: string enum: - edited - changes: *765 - comment: *766 - enterprise: *712 - installation: *713 - organization: *714 + changes: *766 + comment: *767 + enterprise: *713 + installation: *714 + organization: *715 pull_request: type: object properties: @@ -180411,7 +180586,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *716 sender: *4 required: - action @@ -180492,9 +180667,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -182667,7 +182842,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *716 review: description: The review that was affected. type: object @@ -182914,9 +183089,9 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -184970,8 +185145,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: &767 + repository: *716 + review: &768 description: The review that was affected. type: object properties: @@ -185204,12 +185379,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -187492,7 +187667,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_reviewer: title: User type: object @@ -187576,12 +187751,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -189871,7 +190046,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190063,12 +190238,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -192353,7 +192528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_reviewer: title: User type: object @@ -192438,12 +192613,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -194719,7 +194894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194900,9 +195075,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -197077,8 +197252,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: *767 + repository: *716 + review: *768 sender: *4 required: - action @@ -197158,9 +197333,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -199230,7 +199405,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *716 sender: *4 thread: type: object @@ -199617,9 +199792,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -201675,7 +201850,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *716 sender: *4 thread: type: object @@ -202065,10 +202240,10 @@ x-webhooks: type: string before: type: string - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -204339,7 +204514,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -204421,11 +204596,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *768 - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + assignee: *769 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -206708,7 +206883,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -206787,11 +206962,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - label: *731 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + label: *732 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -209064,7 +209239,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -209145,10 +209320,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -211413,7 +211588,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -211613,7 +211788,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *712 + enterprise: *713 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211705,8 +211880,8 @@ x-webhooks: - url - author - committer - installation: *713 - organization: *714 + installation: *714 + organization: *715 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212281,9 +212456,9 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 registry_package: type: object properties: @@ -212729,7 +212904,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *749 + items: *750 summary: type: string tag_name: @@ -212783,7 +212958,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -212861,9 +213036,9 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 registry_package: type: object properties: @@ -213171,7 +213346,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *749 + items: *750 summary: type: string tag_name: @@ -213220,7 +213395,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -213297,10 +213472,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - release: &769 + enterprise: *713 + installation: *714 + organization: *715 + release: &770 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213618,7 +213793,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *715 + repository: *716 sender: *4 required: - action @@ -213695,11 +213870,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - release: *769 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *770 + repository: *716 sender: *4 required: - action @@ -213816,11 +213991,11 @@ x-webhooks: type: boolean required: - to - enterprise: *712 - installation: *713 - organization: *714 - release: *769 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *770 + repository: *716 sender: *4 required: - action @@ -213898,9 +214073,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214222,7 +214397,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *715 + repository: *716 sender: *4 required: - action @@ -214298,10 +214473,10 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - release: &770 + enterprise: *713 + installation: *714 + organization: *715 + release: &771 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214620,7 +214795,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *715 + repository: *716 sender: *4 required: - action @@ -214696,11 +214871,11 @@ x-webhooks: type: string enum: - released - enterprise: *712 - installation: *713 - organization: *714 - release: *769 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *770 + repository: *716 sender: *4 required: - action @@ -214776,11 +214951,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *712 - installation: *713 - organization: *714 - release: *770 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *771 + repository: *716 sender: *4 required: - action @@ -214856,11 +215031,11 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *632 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_advisory: *634 sender: *4 required: - action @@ -214936,11 +215111,11 @@ x-webhooks: type: string enum: - reported - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *632 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_advisory: *634 sender: *4 required: - action @@ -215016,10 +215191,10 @@ x-webhooks: type: string enum: - archived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215096,10 +215271,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215177,10 +215352,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215264,10 +215439,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215379,10 +215554,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215454,10 +215629,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 status: type: string @@ -215538,10 +215713,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215618,10 +215793,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215715,10 +215890,10 @@ x-webhooks: - name required: - repository - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215798,11 +215973,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *294 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_ruleset: *296 sender: *4 required: - action @@ -215880,11 +216055,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *294 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_ruleset: *296 sender: *4 required: - action @@ -215962,11 +216137,11 @@ x-webhooks: type: string enum: - edited - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *294 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_ruleset: *296 changes: type: object properties: @@ -215985,16 +216160,16 @@ x-webhooks: properties: added: type: array - items: *269 + items: *271 deleted: type: array - items: *269 + items: *271 updated: type: array items: type: object properties: - condition: *269 + condition: *271 changes: type: object properties: @@ -216027,16 +216202,16 @@ x-webhooks: properties: added: type: array - items: *589 + items: *591 deleted: type: array - items: *589 + items: *591 updated: type: array items: type: object properties: - rule: *589 + rule: *591 changes: type: object properties: @@ -216270,10 +216445,10 @@ x-webhooks: - from required: - owner - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216351,10 +216526,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216432,7 +216607,7 @@ x-webhooks: type: string enum: - create - alert: &771 + alert: &772 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216553,10 +216728,10 @@ x-webhooks: type: string enum: - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216762,10 +216937,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216843,11 +217018,11 @@ x-webhooks: type: string enum: - reopen - alert: *771 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *772 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217046,10 +217221,10 @@ x-webhooks: enum: - fixed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217127,11 +217302,11 @@ x-webhooks: type: string enum: - created - alert: &772 + alert: &773 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217139,8 +217314,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri @@ -217245,10 +217420,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217329,11 +217504,11 @@ x-webhooks: type: string enum: - created - alert: *772 - installation: *713 - location: *773 - organization: *714 - repository: *715 + alert: *773 + installation: *714 + location: *774 + organization: *715 + repository: *716 sender: *4 required: - location @@ -217571,11 +217746,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217653,11 +217828,11 @@ x-webhooks: type: string enum: - reopened - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217735,11 +217910,11 @@ x-webhooks: type: string enum: - resolved - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217817,11 +217992,11 @@ x-webhooks: type: string enum: - validated - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217947,10 +218122,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *715 - enterprise: *712 - installation: *713 - organization: *714 + repository: *716 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -218028,11 +218203,11 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: &774 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + security_advisory: &775 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218215,11 +218390,11 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: *774 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + security_advisory: *775 sender: *4 required: - action @@ -218292,10 +218467,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218479,11 +218654,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *268 - enterprise: *712 - installation: *713 - organization: *714 - repository: *331 + security_and_analysis: *270 + enterprise: *713 + installation: *714 + organization: *715 + repository: *333 sender: *4 required: - changes @@ -218561,12 +218736,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: &775 + sponsorship: &776 type: object properties: created_at: @@ -218867,12 +219042,12 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - sponsorship @@ -218960,12 +219135,12 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - changes @@ -219042,17 +219217,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &776 + effective_date: &777 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: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - sponsorship @@ -219126,7 +219301,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &777 + changes: &778 type: object properties: tier: @@ -219170,13 +219345,13 @@ x-webhooks: - from required: - tier - effective_date: *776 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + effective_date: *777 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - changes @@ -219253,13 +219428,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *777 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + changes: *778 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - changes @@ -219333,10 +219508,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219419,10 +219594,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219842,15 +220017,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *712 + enterprise: *713 id: description: The unique identifier of the status. type: integer - installation: *713 + installation: *714 name: type: string - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 sha: description: The Commit SHA. @@ -219965,9 +220140,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220057,9 +220232,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220149,9 +220324,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220241,9 +220416,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220320,12 +220495,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - team: &778 + team: &779 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220548,9 +220723,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -221008,7 +221183,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -221084,9 +221259,9 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -221544,7 +221719,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -221621,9 +221796,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -222081,7 +222256,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -222225,9 +222400,9 @@ x-webhooks: - from required: - permissions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -222685,7 +222860,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - changes @@ -222763,9 +222938,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -223223,7 +223398,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -223299,10 +223474,10 @@ x-webhooks: type: string enum: - started - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -223375,16 +223550,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *712 + enterprise: *713 inputs: type: object nullable: true additionalProperties: true - installation: *713 - organization: *714 + installation: *714 + organization: *715 ref: type: string - repository: *715 + repository: *716 sender: *4 workflow: type: string @@ -223466,10 +223641,10 @@ x-webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: allOf: @@ -223706,7 +223881,7 @@ x-webhooks: type: string required: - conclusion - deployment: *482 + deployment: *484 required: - action - repository @@ -223785,10 +223960,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: allOf: @@ -224048,7 +224223,7 @@ x-webhooks: required: - status - steps - deployment: *482 + deployment: *484 required: - action - repository @@ -224127,10 +224302,10 @@ x-webhooks: type: string enum: - queued - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: type: object @@ -224265,7 +224440,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *484 required: - action - repository @@ -224344,10 +224519,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: type: object @@ -224483,7 +224658,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *484 required: - action - repository @@ -224563,12 +224738,12 @@ x-webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Workflow Run type: object @@ -225567,12 +225742,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Workflow Run type: object @@ -226556,12 +226731,12 @@ x-webhooks: type: string enum: - requested - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 550b61713..20e5ccb7a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -53819,15 +53819,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -54070,6 +54061,363 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -71884,6 +72232,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -182549,428 +182905,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -605028,15 +604962,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -605273,6 +605198,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 938565e73..2f272cca7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &300 + type: &302 type: string description: The type of credit the user is receiving. enum: @@ -990,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &110 + schema: &112 title: Validation Error Simple description: Validation Error Simple type: object @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &634 + - &636 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1579,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &192 + - &194 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 @@ -1595,7 +1595,7 @@ paths: application/json: schema: type: array - items: &193 + items: &195 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1675,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &194 + default: &196 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &109 + schema: &111 title: Validation Error description: Validation Error type: object @@ -1803,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &197 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1917,7 +1917,7 @@ paths: - request - response examples: - default: &196 + default: &198 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &266 + properties: &268 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &267 + required: &269 - archive_url - assignees_url - blobs_url @@ -7414,7 +7414,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &166 + code_scanning_options: &168 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7608,7 +7608,7 @@ paths: description: Response content: application/json: - schema: &168 + schema: &170 type: array description: A list of default code security configurations items: @@ -7624,7 +7624,7 @@ paths: default configuration: *43 examples: - default: &169 + default: &171 value: - default_for_new_repos: public configuration: @@ -7955,7 +7955,7 @@ paths: - *42 - *45 responses: - '204': &170 + '204': &172 description: A header with no content is returned. '400': *14 '403': *29 @@ -8082,7 +8082,7 @@ paths: default: value: default_for_new_repos: all - configuration: &167 + configuration: &169 value: id: 1325 target_type: organization @@ -8167,7 +8167,7 @@ paths: application/json: schema: type: array - items: &171 + items: &173 type: object description: Repositories associated with a code security configuration and attachment status @@ -8468,7 +8468,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &172 + repository: &174 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8562,7 +8562,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &177 + - &179 name: state in: query description: |- @@ -8571,7 +8571,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &178 + - &180 name: severity in: query description: |- @@ -8580,7 +8580,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &179 + - &181 name: ecosystem in: query description: |- @@ -8589,14 +8589,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &180 + - &182 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 - - &181 + - &183 name: epss_percentage in: query description: |- @@ -8608,7 +8608,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 - - &473 + - &475 name: has in: query description: |- @@ -8622,7 +8622,7 @@ paths: type: string enum: - patch - - &182 + - &184 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8632,7 +8632,7 @@ paths: enum: - development - runtime - - &183 + - &185 name: sort in: query description: |- @@ -8658,11 +8658,11 @@ paths: application/json: schema: type: array - items: &184 + items: &186 type: object description: A Dependabot alert. properties: - number: &156 + number: &158 type: integer description: The security alert number. readOnly: true @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &474 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8927,29 +8927,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &159 + url: &161 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &160 + html_url: &162 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &157 + created_at: &159 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &158 + updated_at: &160 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &162 + dismissed_at: &164 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8979,14 +8979,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &161 + fixed_at: &163 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &475 + auto_dismissed_at: &477 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9012,7 +9012,7 @@ paths: - repository additionalProperties: false examples: - default: &185 + default: &187 value: - number: 2 state: dismissed @@ -9796,7 +9796,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &174 + properties: &176 login: type: string example: github @@ -9837,7 +9837,7 @@ paths: type: string example: A great organization nullable: true - required: &175 + required: &177 - login - url - id @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &523 + properties: &525 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &254 + properties: &256 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &255 + required: &257 - closed_issues - creator - description @@ -10543,7 +10543,7 @@ paths: timeline_url: type: string format: uri - type: &214 + type: &216 title: Issue Type description: The type of issue. type: object @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &646 + sub_issues_summary: &648 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &647 + issue_dependencies_summary: &649 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &650 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &524 + required: &526 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &521 + comment: &523 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &660 + user: &662 title: Public User description: Public User type: object @@ -13214,7 +13214,7 @@ paths: - closed - all default: open - - &217 + - &219 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13265,7 +13265,7 @@ paths: type: array items: *82 examples: - default: &218 + default: &220 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14650,14 +14650,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &323 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &324 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14719,7 +14719,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &332 + '301': &334 description: Moved permanently content: application/json: @@ -14741,7 +14741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &553 + - &555 name: all description: If `true`, show notifications marked as read. in: query @@ -14749,7 +14749,7 @@ paths: schema: type: boolean default: false - - &554 + - &556 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14759,7 +14759,7 @@ paths: type: boolean default: false - *72 - - &555 + - &557 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: @@ -14791,11 +14791,11 @@ paths: properties: id: type: string - repository: &140 + repository: &142 title: Minimal Repository description: Minimal Repository type: object - properties: &187 + properties: &189 id: type: integer format: int64 @@ -15071,7 +15071,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &268 + security_and_analysis: &270 nullable: true type: object properties: @@ -15145,7 +15145,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &188 + required: &190 - archive_url - assignees_url - blobs_url @@ -15233,7 +15233,7 @@ paths: - url - subscription_url examples: - default: &556 + default: &558 value: - id: '1' repository: @@ -16101,7 +16101,7 @@ paths: - property_name - value examples: - default: &562 + default: &564 value: - property_name: environment value: production @@ -16151,7 +16151,7 @@ paths: required: - properties examples: - default: &563 + default: &565 value: properties: - property_name: environment @@ -16196,7 +16196,7 @@ paths: required: false schema: type: integer - - &702 + - &107 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 @@ -16220,14 +16220,14 @@ paths: required: false schema: type: string - - &703 + - &704 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &704 + - &108 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -16376,15 +16376,6 @@ paths: schema: type: integer - *106 - - &708 - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or - `day` is specified, the default `year`, `month`, and `day` are used. - in: query - required: false - schema: - type: integer responses: '200': description: Billing usage report response for an organization @@ -16466,6 +16457,152 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - *63 + - *105 + - *107 + - *106 + - &708 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *108 + - &709 + 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 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -16492,7 +16629,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &109 title: Organization Full description: Organization Full type: object @@ -16811,7 +16948,7 @@ paths: - updated_at - archived_at examples: - default-response: &108 + default-response: &110 value: login: github id: 1 @@ -17127,17 +17264,17 @@ paths: description: Response content: application/json: - schema: *107 + schema: *109 examples: - default: *108 + default: *110 '422': description: Validation failed content: application/json: schema: oneOf: - - *109 - - *110 + - *111 + - *112 '409': *47 x-github: githubCloudOnly: false @@ -17251,7 +17388,7 @@ paths: type: integer repository_cache_usages: type: array - items: &337 + items: &339 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17324,7 +17461,7 @@ paths: type: integer runners: type: array - items: &111 + items: &113 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17378,7 +17515,7 @@ paths: - display_name - source nullable: true - machine_size_details: &119 + machine_size_details: &121 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17474,7 +17611,7 @@ paths: - public_ip_enabled - platform examples: - default: &139 + default: &141 value: total_count: 2 runners: @@ -17611,9 +17748,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: &120 + default: &122 value: id: 5 name: My hosted ubuntu runner @@ -17670,7 +17807,7 @@ paths: type: integer images: type: array - items: &112 + items: &114 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -17721,7 +17858,7 @@ paths: - latest_version - state examples: - default: &114 + default: &116 value: total_count: 2 image_versions: @@ -17753,7 +17890,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - *63 - - &113 + - &115 name: image_definition_id description: Image definition ID of custom image in: path @@ -17765,7 +17902,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: default: value: @@ -17796,7 +17933,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - *63 - - *113 + - *115 responses: '204': description: Response @@ -17819,7 +17956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *113 + - *115 - *63 responses: '200': @@ -17836,7 +17973,7 @@ paths: type: integer image_versions: type: array - items: &115 + items: &117 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -17869,7 +18006,7 @@ paths: - created_on - state_details examples: - default: *114 + default: *116 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17890,8 +18027,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - *63 - - *113 - - &116 + - *115 + - &118 name: version description: Version of a custom image in: path @@ -17904,7 +18041,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: default: value: @@ -17931,8 +18068,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - *63 - - *113 - - *116 + - *115 + - *118 responses: '204': description: Response @@ -17969,7 +18106,7 @@ paths: type: integer images: type: array - items: &117 + items: &119 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18005,7 +18142,7 @@ paths: - display_name - source examples: - default: &118 + default: &120 value: id: ubuntu-20.04 platform: linux-x64 @@ -18045,9 +18182,9 @@ paths: type: integer images: type: array - items: *117 + items: *119 examples: - default: *118 + default: *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18133,7 +18270,7 @@ paths: type: integer machine_specs: type: array - items: *119 + items: *121 examples: default: value: @@ -18203,7 +18340,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *63 - - &121 + - &123 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18215,9 +18352,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 headers: Link: *54 x-github: @@ -18238,7 +18375,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 requestBody: required: true content: @@ -18281,9 +18418,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18300,15 +18437,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 responses: '202': description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18334,7 +18471,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &122 + schema: &124 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18348,7 +18485,7 @@ paths: required: - include_claim_keys examples: - default: &123 + default: &125 value: include_claim_keys: - repo @@ -18375,15 +18512,15 @@ paths: required: true content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 responses: '201': description: Empty response content: application/json: - schema: &149 + schema: &151 title: Empty Object description: An object without any properties. type: object @@ -18422,7 +18559,7 @@ paths: schema: type: object properties: - enabled_repositories: &124 + enabled_repositories: &126 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18435,7 +18572,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &125 + allowed_actions: &127 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18443,12 +18580,12 @@ paths: - all - local_only - selected - selected_actions_url: &343 + selected_actions_url: &345 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &126 + sha_pinning_required: &128 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18490,9 +18627,9 @@ paths: schema: type: object properties: - enabled_repositories: *124 - allowed_actions: *125 - sha_pinning_required: *126 + enabled_repositories: *126 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled_repositories examples: @@ -18526,7 +18663,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 type: object properties: days: @@ -18568,7 +18705,7 @@ paths: required: true content: application/json: - schema: &348 + schema: &350 type: object properties: days: @@ -18611,7 +18748,7 @@ paths: description: Response content: application/json: - schema: &127 + schema: &129 type: object properties: approval_policy: @@ -18625,7 +18762,7 @@ paths: required: - approval_policy examples: - default: &349 + default: &351 value: approval_policy: first_time_contributors '404': *6 @@ -18656,7 +18793,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -18684,7 +18821,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -18710,7 +18847,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &128 + default: &130 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18738,7 +18875,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -18761,7 +18898,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -18811,7 +18948,7 @@ paths: type: array items: *66 examples: - default: &132 + default: &134 value: total_count: 1 repositories: @@ -18996,7 +19133,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - &129 + - &131 name: repository_id description: The unique identifier of the repository. in: path @@ -19025,7 +19162,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -19054,7 +19191,7 @@ paths: description: Response content: application/json: - schema: &130 + schema: &132 type: object properties: github_owned_allowed: @@ -19076,7 +19213,7 @@ paths: items: type: string examples: - default: &131 + default: &133 value: github_owned_allowed: true verified_allowed: false @@ -19109,9 +19246,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19243,7 +19380,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 '403': *29 '404': *6 x-github: @@ -19312,7 +19449,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19339,7 +19476,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19373,17 +19510,17 @@ paths: description: Response content: application/json: - schema: &352 + schema: &354 type: object properties: - default_workflow_permissions: &133 + default_workflow_permissions: &135 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &134 + can_approve_pull_request_reviews: &136 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19391,7 +19528,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &135 + default: &137 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19424,13 +19561,13 @@ paths: required: false content: application/json: - schema: &353 + schema: &355 type: object properties: - default_workflow_permissions: *133 - can_approve_pull_request_reviews: *134 + default_workflow_permissions: *135 + can_approve_pull_request_reviews: *136 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19475,7 +19612,7 @@ paths: type: number runner_groups: type: array - items: &136 + items: &138 type: object properties: id: @@ -19663,9 +19800,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: &138 + default: &140 value: id: 2 name: octo-runner-group @@ -19701,7 +19838,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - &137 + - &139 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19713,7 +19850,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -19750,7 +19887,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -19804,9 +19941,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: *138 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19826,7 +19963,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *63 - - *137 + - *139 responses: '204': description: Response @@ -19850,7 +19987,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -19868,9 +20005,9 @@ paths: type: number runners: type: array - items: *111 + items: *113 examples: - default: *139 + default: *141 headers: Link: *54 x-github: @@ -19893,7 +20030,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 - *19 - *17 responses: @@ -19911,9 +20048,9 @@ paths: type: number repositories: type: array - items: *140 + items: *142 examples: - default: &663 + default: &665 value: total_count: 1 repositories: @@ -20166,7 +20303,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20211,8 +20348,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20235,8 +20372,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20260,7 +20397,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -20278,7 +20415,7 @@ paths: type: number runners: type: array - items: &142 + items: &144 title: Self hosted runners description: A self hosted runner type: object @@ -20307,7 +20444,7 @@ paths: type: boolean labels: type: array - items: &145 + items: &147 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20337,7 +20474,7 @@ paths: - busy - labels examples: - default: &143 + default: &145 value: total_count: 2 runners: @@ -20397,7 +20534,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20442,8 +20579,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *63 - - *137 - - &141 + - *139 + - &143 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20472,8 +20609,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *63 - - *137 - - *141 + - *139 + - *143 responses: '204': description: Response @@ -20521,9 +20658,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -20555,7 +20692,7 @@ paths: application/json: schema: type: array - items: &354 + items: &356 title: Runner Application description: Runner Application type: object @@ -20580,7 +20717,7 @@ paths: - download_url - filename examples: - default: &355 + default: &357 value: - os: osx architecture: x64 @@ -20666,7 +20803,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &356 + '201': &358 description: Response content: application/json: @@ -20676,7 +20813,7 @@ paths: - runner - encoded_jit_config properties: - runner: *142 + runner: *144 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20739,7 +20876,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &146 title: Authentication Token description: Authentication Token type: object @@ -20777,7 +20914,7 @@ paths: - token - expires_at examples: - default: &357 + default: &359 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20814,9 +20951,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: &358 + default: &360 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20842,15 +20979,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: &359 + default: &361 value: id: 23 name: MBP @@ -20892,7 +21029,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *63 - - *141 + - *143 responses: '204': description: Response @@ -20919,9 +21056,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &146 + '200': &148 description: Response content: application/json: @@ -20935,7 +21072,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -20975,7 +21112,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -20999,7 +21136,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21024,7 +21161,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -21049,7 +21186,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21074,9 +21211,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &360 + '200': &362 description: Response content: application/json: @@ -21090,7 +21227,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -21132,8 +21269,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 - - &361 + - *143 + - &363 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21141,7 +21278,7 @@ paths: schema: type: string responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21184,7 +21321,7 @@ paths: type: integer secrets: type: array - items: &147 + items: &149 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21263,7 +21400,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &375 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21292,7 +21429,7 @@ paths: - key_id - key examples: - default: &374 + default: &376 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21318,7 +21455,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *63 - - &148 + - &150 name: secret_name description: The name of the secret. in: path @@ -21330,7 +21467,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: default: value: @@ -21361,7 +21498,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21418,7 +21555,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21445,7 +21582,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -21472,7 +21609,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -21490,9 +21627,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: &152 + default: &154 value: total_count: 1 repositories: @@ -21585,7 +21722,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21638,7 +21775,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21672,7 +21809,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21705,7 +21842,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &342 + - &344 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -21729,7 +21866,7 @@ paths: type: integer variables: type: array - items: &150 + items: &152 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21862,7 +21999,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21888,7 +22025,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *63 - - &151 + - &153 name: name description: The name of the variable. in: path @@ -21900,7 +22037,7 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: default: value: @@ -21931,7 +22068,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -21994,7 +22131,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *63 - - *151 + - *153 responses: '204': description: Response @@ -22021,7 +22158,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 - *19 - *17 responses: @@ -22039,9 +22176,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22068,7 +22205,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -22118,7 +22255,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22153,7 +22290,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22235,6 +22372,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -22425,12 +22575,12 @@ paths: required: - subject_digests examples: - default: &691 + default: &693 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &692 + withPredicateType: &694 value: subject_digests: - sha256:abc123 @@ -22488,7 +22638,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &693 + default: &695 value: attestations_subject_digests: - sha256:abc: @@ -22837,7 +22987,7 @@ paths: initiator: type: string examples: - default: &387 + default: &389 value: attestations: - bundle: @@ -23056,7 +23206,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &153 + schema: &155 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23082,7 +23232,7 @@ paths: application/json: schema: type: array - items: &154 + items: &156 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23113,7 +23263,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &176 + items: &178 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23188,7 +23338,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &229 + properties: &231 id: description: Unique identifier of the team type: integer @@ -23260,7 +23410,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &230 + required: &232 - id - node_id - url @@ -23303,7 +23453,7 @@ paths: type: string format: date-time nullable: true - state: *153 + state: *155 contact_link: description: The contact link of the campaign. type: string @@ -23523,9 +23673,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: &155 + default: &157 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23608,9 +23758,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '404': *6 '422': description: Unprocessable Entity @@ -23687,7 +23837,7 @@ paths: type: string format: uri nullable: true - state: *153 + state: *155 examples: default: value: @@ -23697,9 +23847,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '400': description: Bad Request content: @@ -23766,17 +23916,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &413 + - &415 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &163 + schema: &165 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &416 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 @@ -23784,7 +23934,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &164 + schema: &166 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23799,7 +23949,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &418 type: string description: State of a code scanning alert. enum: @@ -23822,7 +23972,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &419 type: string description: Severity of a code scanning alert. enum: @@ -23843,18 +23993,18 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: &418 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: &420 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &165 + state: &167 type: string description: State of a code scanning alert. nullable: true @@ -23862,7 +24012,7 @@ paths: - open - dismissed - fixed - fixed_at: *161 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -23870,8 +24020,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: &419 + dismissed_at: *164 + dismissed_reason: &421 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23880,13 +24030,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &422 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &423 type: object properties: id: @@ -23939,25 +24089,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &424 type: object properties: - name: *163 + name: *165 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *164 - most_recent_instance: &423 + guid: *166 + most_recent_instance: &425 type: object properties: - ref: &415 + ref: &417 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &435 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23968,13 +24118,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &434 + category: &436 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *165 + state: *167 commit_sha: type: string message: @@ -24481,7 +24631,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *166 + code_scanning_options: *168 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24624,7 +24774,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24652,9 +24802,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: *169 + default: *171 '304': *37 '403': *29 '404': *6 @@ -24706,7 +24856,7 @@ paths: - 32 - 91 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -24741,7 +24891,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 '304': *37 '403': *29 '404': *6 @@ -25025,7 +25175,7 @@ paths: - *63 - *45 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -25163,7 +25313,7 @@ paths: default: value: default_for_new_repos: all - configuration: *167 + configuration: *169 '403': *29 '404': *6 x-github: @@ -25216,13 +25366,13 @@ paths: application/json: schema: type: array - items: *171 + items: *173 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *172 + repository: *174 '403': *29 '404': *6 x-github: @@ -25262,7 +25412,7 @@ paths: type: integer codespaces: type: array - items: &219 + items: &221 type: object title: Codespace description: A codespace. @@ -25287,12 +25437,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *140 + repository: *142 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &448 name: type: string description: The name of the machine. @@ -25334,7 +25484,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &449 - name - display_name - operating_system @@ -25539,7 +25689,7 @@ paths: - pulls_url - recent_folders examples: - default: &220 + default: &222 value: total_count: 3 codespaces: @@ -26163,7 +26313,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &175 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26202,7 +26352,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &450 value: total_count: 2 secrets: @@ -26240,7 +26390,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &451 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26269,7 +26419,7 @@ paths: - key_id - key examples: - default: &450 + default: &452 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26293,15 +26443,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: - default: &452 + default: &454 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26329,7 +26479,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26384,7 +26534,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -26411,7 +26561,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -26437,7 +26587,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -26455,9 +26605,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '404': *6 x-github: githubCloudOnly: false @@ -26480,7 +26630,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26531,7 +26681,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26565,7 +26715,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26768,7 +26918,7 @@ paths: currently being billed. seats: type: array - items: &222 + items: &224 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26785,14 +26935,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *174 - required: *175 + properties: *176 + required: *177 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *176 + - *178 - *55 nullable: true pending_cancellation_date: @@ -27299,7 +27449,7 @@ paths: application/json: schema: type: array - items: &305 + items: &307 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27606,7 +27756,7 @@ paths: - date additionalProperties: true examples: - default: &306 + default: &308 value: - date: '2024-06-24' total_active_users: 24 @@ -27708,7 +27858,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &307 + '422': &309 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27736,11 +27886,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *63 - - *177 - - *178 - *179 - *180 - *181 + - *182 + - *183 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27778,8 +27928,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *182 - - *183 + - *184 + - *185 - *48 - *40 - *41 @@ -27791,9 +27941,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 '304': *37 '400': *14 '403': *29 @@ -27837,7 +27987,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &188 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27914,7 +28064,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27931,7 +28081,7 @@ paths: - key_id - key examples: - default: &479 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27955,13 +28105,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *186 + schema: *188 examples: default: value: @@ -27990,7 +28140,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28049,7 +28199,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -28074,7 +28224,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -28099,7 +28249,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -28117,9 +28267,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28141,7 +28291,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28192,7 +28342,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28224,7 +28374,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28262,7 +28412,7 @@ paths: application/json: schema: type: array - items: &232 + items: &234 title: Package description: A software package type: object @@ -28312,8 +28462,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *187 - required: *188 + properties: *189 + required: *190 nullable: true created_at: type: string @@ -28332,7 +28482,7 @@ paths: - created_at - updated_at examples: - default: &233 + default: &235 value: - id: 197 name: hello_docker @@ -28502,7 +28652,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 title: Organization Invitation description: Organization Invitation type: object @@ -28549,7 +28699,7 @@ paths: - invitation_teams_url - node_id examples: - default: &212 + default: &214 value: - id: 1 login: monalisa @@ -28616,7 +28766,7 @@ paths: application/json: schema: type: array - items: &189 + items: &191 title: Org Hook description: Org Hook type: object @@ -28787,9 +28937,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28837,7 +28987,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *63 - - &191 + - &193 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. @@ -28850,9 +29000,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '404': *6 x-github: githubCloudOnly: false @@ -28880,7 +29030,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -28925,7 +29075,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: default: value: @@ -28967,7 +29117,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -28995,7 +29145,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 responses: '200': description: Response @@ -29026,7 +29176,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -29077,9 +29227,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -29087,9 +29237,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -29115,16 +29265,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -29150,7 +29300,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '202': *39 @@ -29180,7 +29330,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -29203,7 +29353,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *63 - - &201 + - &203 name: actor_type in: path description: The type of the actor @@ -29216,14 +29366,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &202 + - &204 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &197 + - &199 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`.' @@ -29231,7 +29381,7 @@ paths: required: true schema: type: string - - &198 + - &200 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) @@ -29325,12 +29475,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 - *19 - *17 - *48 - - &207 + - &209 name: sort description: The property to sort the results by. in: query @@ -29409,14 +29559,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: &199 + schema: &201 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29432,7 +29582,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &202 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29453,23 +29603,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *63 - - &203 + - &205 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29488,18 +29638,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *63 - - *197 - - *198 - - *201 - - *202 + - *199 + - *200 + - *203 + - *204 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29517,9 +29667,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *63 - - *197 - - *198 - - &204 + - *199 + - *200 + - &206 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29532,7 +29682,7 @@ paths: description: Response content: application/json: - schema: &205 + schema: &207 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29548,7 +29698,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &208 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29585,18 +29735,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *63 - - *203 - - *197 - - *198 - - *204 + - *205 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29614,19 +29764,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *63 - - *201 - - *202 - - *197 - - *198 + - *203 - *204 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29644,13 +29794,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *63 - - *203 - - *197 - - *198 + - *205 + - *199 + - *200 - *19 - *17 - *48 - - *207 + - *209 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29731,7 +29881,7 @@ paths: application/json: schema: *22 examples: - default: &517 + default: &519 value: id: 1 account: @@ -29897,12 +30047,12 @@ paths: application/json: schema: anyOf: - - &209 + - &211 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &208 + limit: &210 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29927,7 +30077,7 @@ paths: properties: {} additionalProperties: false examples: - default: &210 + default: &212 value: limit: collaborators_only origin: organization @@ -29956,13 +30106,13 @@ paths: required: true content: application/json: - schema: &518 + schema: &520 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *208 + limit: *210 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29986,9 +30136,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *210 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -30064,9 +30214,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 '404': *6 @@ -30143,7 +30293,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -30198,7 +30348,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *63 - - &213 + - &215 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30229,7 +30379,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *63 - - *213 + - *215 - *17 - *19 responses: @@ -30239,9 +30389,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: &231 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30284,7 +30434,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -30369,9 +30519,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30404,7 +30554,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *63 - - &216 + - &218 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30457,9 +30607,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '422': *7 x-github: @@ -30484,7 +30634,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *63 - - *216 + - *218 responses: '204': description: Response @@ -30547,7 +30697,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: type description: Can be the name of an issue type. in: query @@ -30578,7 +30728,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -30737,9 +30887,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -30766,7 +30916,7 @@ paths: parameters: - *63 - *59 - - &221 + - &223 name: codespace_name in: path required: true @@ -30801,15 +30951,15 @@ paths: parameters: - *63 - *59 - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: &445 + default: &447 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30989,7 +31139,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -31065,7 +31215,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &225 title: Org Membership description: Org Membership type: object @@ -31132,7 +31282,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &224 + response-if-user-has-an-active-admin-membership-with-organization: &226 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31229,9 +31379,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: - response-if-user-already-had-membership-with-organization: *224 + response-if-user-already-had-membership-with-organization: *226 '422': *15 '403': *29 x-github: @@ -31302,7 +31452,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Migration description: A migration. type: object @@ -31631,7 +31781,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -31810,7 +31960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *63 - - &226 + - &228 name: migration_id description: The unique identifier of the migration. in: path @@ -31837,7 +31987,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -32007,7 +32157,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '302': description: Response @@ -32029,7 +32179,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '204': description: Response @@ -32053,8 +32203,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *63 - - *226 - - &676 + - *228 + - &678 name: repo_name description: repo_name parameter in: path @@ -32082,7 +32232,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *63 - - *226 + - *228 - *17 - *19 responses: @@ -32092,9 +32242,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: &238 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32247,7 +32397,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &228 + items: &230 title: Organization Role description: Organization roles type: object @@ -32422,7 +32572,7 @@ paths: parameters: - *63 - *64 - - &227 + - &229 name: role_id description: The unique identifier of the role. in: path @@ -32459,7 +32609,7 @@ paths: parameters: - *63 - *64 - - *227 + - *229 responses: '204': description: Response @@ -32512,7 +32662,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32544,7 +32694,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32573,13 +32723,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *63 - - *227 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *230 examples: default: value: @@ -32630,7 +32780,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32708,8 +32858,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true type: description: The ownership type of the team @@ -32741,7 +32891,7 @@ paths: - type - parent examples: - default: *231 + default: *233 headers: Link: *54 '404': @@ -32771,7 +32921,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32799,13 +32949,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &301 + items: &303 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 name: nullable: true type: string @@ -33093,7 +33243,7 @@ paths: - nuget - container - *63 - - &677 + - &679 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33129,12 +33279,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *233 + default: *235 '403': *29 '401': *25 - '400': &679 + '400': &681 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33156,7 +33306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &234 + - &236 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 @@ -33174,7 +33324,7 @@ paths: - docker - nuget - container - - &235 + - &237 name: package_name description: The name of the package. in: path @@ -33187,7 +33337,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *234 examples: default: value: @@ -33239,8 +33389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 responses: '204': @@ -33273,8 +33423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - name: token description: package token @@ -33307,8 +33457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - *19 - *17 @@ -33329,7 +33479,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Package Version description: A version of a software package type: object @@ -33454,10 +33604,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - - &237 + - &239 name: package_version_id description: Unique identifier of the package version. in: path @@ -33469,7 +33619,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -33505,10 +33655,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33540,10 +33690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33573,7 +33723,7 @@ paths: - *63 - *17 - *19 - - &239 + - &241 name: sort description: The property by which to sort the results. in: query @@ -33584,7 +33734,7 @@ paths: - created_at default: created_at - *48 - - &240 + - &242 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33595,7 +33745,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &241 + - &243 name: repository description: The name of the repository to use to filter the results. in: query @@ -33603,7 +33753,7 @@ paths: schema: type: string example: Hello-World - - &242 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -33611,7 +33761,7 @@ paths: schema: type: string example: issues_read - - &243 + - &245 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) @@ -33621,7 +33771,7 @@ paths: schema: type: string format: date-time - - &244 + - &246 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) @@ -33631,7 +33781,7 @@ paths: schema: type: string format: date-time - - &245 + - &247 name: token_id description: The ID of the token in: query @@ -33901,7 +34051,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33942,9 +34092,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -33970,14 +34120,14 @@ paths: - *63 - *17 - *19 - - *239 - - *48 - - *240 - *241 + - *48 - *242 - *243 - *244 - *245 + - *246 + - *247 responses: '500': *103 '422': *15 @@ -34216,7 +34366,7 @@ paths: responses: '500': *103 '404': *6 - '204': *170 + '204': *172 '403': *29 '422': *15 x-github: @@ -34257,9 +34407,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -34301,7 +34451,7 @@ paths: type: integer configurations: type: array - items: &246 + items: &248 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34554,7 +34704,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &247 + org-private-registry-with-selected-visibility: &249 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34644,15 +34794,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -34674,7 +34824,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -34770,7 +34920,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -34816,7 +34966,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 title: Project description: Projects are a way to organize columns and cards of work. @@ -34989,7 +35139,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -35027,7 +35177,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &329 + '410': &331 description: Gone content: application/json: @@ -35070,7 +35220,7 @@ paths: application/json: schema: type: array - items: &249 + items: &251 title: Projects v2 Project description: A projects v2 project type: object @@ -35140,7 +35290,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &759 + properties: &760 id: type: number description: The unique identifier of the status update. @@ -35188,7 +35338,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &760 + required: &761 - id - node_id - created_at @@ -35213,7 +35363,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &252 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35316,7 +35466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &251 + - &253 name: project_number description: The project's number. in: path @@ -35329,9 +35479,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -35353,7 +35503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *251 + - *253 - *63 - *17 - *40 @@ -35365,7 +35515,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35512,7 +35662,7 @@ paths: - updated_at - project_url examples: - default: &253 + default: &255 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35555,8 +35705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *251 - - &696 + - *253 + - &698 name: field_id description: The unique identifier of the field. in: path @@ -35569,9 +35719,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *54 '304': *37 @@ -35594,7 +35744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35627,7 +35777,7 @@ paths: application/json: schema: type: array - items: &259 + items: &261 title: Projects v2 Item description: An item belonging to a project type: object @@ -35643,7 +35793,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &257 + content_type: &259 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35693,7 +35843,7 @@ paths: - updated_at - archived_at examples: - default: &260 + default: &262 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36388,7 +36538,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *63 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -36425,7 +36575,7 @@ paths: description: Response content: application/json: - schema: &697 + schema: &699 title: Projects v2 Item description: An item belonging to a project type: object @@ -36439,7 +36589,7 @@ paths: content: oneOf: - *82 - - &460 + - &462 title: Pull Request Simple description: Pull Request Simple type: object @@ -36545,8 +36695,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 nullable: true active_lock_reason: type: string @@ -36591,7 +36741,7 @@ paths: nullable: true requested_teams: type: array - items: *176 + items: *178 nullable: true head: type: object @@ -36642,7 +36792,7 @@ paths: _links: type: object properties: - comments: &256 + comments: &258 title: Link description: Hypermedia Link type: object @@ -36651,13 +36801,13 @@ paths: type: string required: - href - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + commits: *258 + statuses: *258 + html: *258 + issue: *258 + review_comments: *258 + review_comment: *258 + self: *258 required: - comments - commits @@ -36668,7 +36818,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: &565 + auto_merge: &567 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36770,7 +36920,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *257 + content_type: *259 creator: *4 created_at: type: string @@ -36803,7 +36953,7 @@ paths: - updated_at - archived_at examples: - issue: &258 + issue: &260 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36858,7 +37008,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *258 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -36878,9 +37028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - - &261 + - &263 name: item_id description: The unique identifier of the project item. in: path @@ -36906,9 +37056,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 headers: Link: *54 '304': *37 @@ -36929,9 +37079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37001,13 +37151,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -37027,9 +37177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *263 responses: '204': description: Response @@ -37061,7 +37211,7 @@ paths: application/json: schema: type: array - items: &262 + items: &264 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37127,7 +37277,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &265 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37186,7 +37336,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *264 minItems: 1 maxItems: 100 required: @@ -37216,9 +37366,9 @@ paths: application/json: schema: type: array - items: *262 + items: *264 examples: - default: *263 + default: *265 '403': *29 '404': *6 x-github: @@ -37240,7 +37390,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &264 + - &266 name: custom_property_name description: The custom property name in: path @@ -37252,9 +37402,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *264 examples: - default: &265 + default: &267 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37289,7 +37439,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *266 requestBody: required: true content: @@ -37358,9 +37508,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *264 examples: - default: *265 + default: *267 '403': *29 '404': *6 x-github: @@ -37384,9 +37534,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *266 responses: - '204': *170 + '204': *172 '403': *29 '404': *6 x-github: @@ -37704,9 +37854,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -37908,7 +38058,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 title: Full Repository description: Full Repository type: object @@ -38185,8 +38335,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *266 - required: *267 + properties: *268 + required: *269 nullable: true temp_clone_token: type: string @@ -38301,7 +38451,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &465 + properties: &467 url: type: string format: uri @@ -38317,12 +38467,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &466 + required: &468 - url - key - name - html_url - security_and_analysis: *268 + security_and_analysis: *270 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38406,7 +38556,7 @@ paths: - network_count - subscribers_count examples: - default: &333 + default: &335 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38927,7 +39077,7 @@ paths: - *63 - *17 - *19 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38945,7 +39095,7 @@ paths: application/json: schema: type: array - items: &294 + items: &296 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38980,7 +39130,7 @@ paths: source: type: string description: The name of the source - enforcement: &271 + enforcement: &273 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38993,7 +39143,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &272 + items: &274 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39063,7 +39213,7 @@ paths: conditions: nullable: true anyOf: - - &269 + - &271 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39087,7 +39237,7 @@ paths: match. items: type: string - - &273 + - &275 title: Organization ruleset conditions type: object description: |- @@ -39101,7 +39251,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *269 + - *271 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39135,7 +39285,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *269 + - *271 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39157,7 +39307,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *269 + - *271 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39170,7 +39320,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &270 + items: &272 title: Repository ruleset property targeting definition type: object @@ -39203,17 +39353,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *270 + items: *272 required: - repository_property rules: type: array - items: &589 + items: &591 title: Repository Rule type: object description: A repository rule. oneOf: - - &274 + - &276 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39225,7 +39375,7 @@ paths: type: string enum: - creation - - &275 + - &277 title: update description: Only allow users with bypass permission to update matching refs. @@ -39246,7 +39396,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &276 + - &278 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39258,7 +39408,7 @@ paths: type: string enum: - deletion - - &277 + - &279 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39270,7 +39420,7 @@ paths: type: string enum: - required_linear_history - - &586 + - &588 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39348,7 +39498,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &278 + - &280 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39372,7 +39522,7 @@ paths: type: string required: - required_deployment_environments - - &279 + - &281 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39384,7 +39534,7 @@ paths: type: string enum: - required_signatures - - &280 + - &282 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39446,7 +39596,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &281 + - &283 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39494,7 +39644,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &282 + - &284 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39506,7 +39656,7 @@ paths: type: string enum: - non_fast_forward - - &283 + - &285 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39542,7 +39692,7 @@ paths: required: - operator - pattern - - &284 + - &286 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39578,7 +39728,7 @@ paths: required: - operator - pattern - - &285 + - &287 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39614,7 +39764,7 @@ paths: required: - operator - pattern - - &286 + - &288 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39650,7 +39800,7 @@ paths: required: - operator - pattern - - &287 + - &289 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39686,7 +39836,7 @@ paths: required: - operator - pattern - - &288 + - &290 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39711,7 +39861,7 @@ paths: type: string required: - restricted_file_paths - - &289 + - &291 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39735,7 +39885,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &290 + - &292 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39758,7 +39908,7 @@ paths: type: string required: - restricted_file_extensions - - &291 + - &293 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39783,7 +39933,7 @@ paths: maximum: 100 required: - max_file_size - - &292 + - &294 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39833,7 +39983,7 @@ paths: - repository_id required: - workflows - - &293 + - &295 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39894,7 +40044,7 @@ paths: - tool required: - code_scanning_tools - - &587 + - &589 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -39992,22 +40142,20 @@ paths: - push - repository default: branch - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *274 + conditions: *275 rules: type: array description: An array of rules within the ruleset. - items: &296 + items: &298 title: Repository Rule type: object description: A repository rule. oneOf: - - *274 - - *275 - *276 - *277 - *278 @@ -40026,6 +40174,8 @@ paths: - *291 - *292 - *293 + - *294 + - *295 required: - name - enforcement @@ -40063,9 +40213,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: &295 + default: &297 value: id: 21 name: super cool ruleset @@ -40120,7 +40270,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &590 + - &592 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 @@ -40135,7 +40285,7 @@ paths: in: query schema: type: string - - &591 + - &593 name: time_period description: |- The time period to filter by. @@ -40151,14 +40301,14 @@ paths: - week - month default: day - - &592 + - &594 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 - - &593 + - &595 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40178,7 +40328,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 title: Rule Suites description: Response type: array @@ -40233,7 +40383,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &597 value: - id: 21 actor_id: 12 @@ -40277,7 +40427,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &596 + - &598 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40293,7 +40443,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 title: Rule Suite description: Response type: object @@ -40392,7 +40542,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &600 value: id: 21 actor_id: 12 @@ -40465,9 +40615,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '500': *103 put: @@ -40511,16 +40661,16 @@ paths: - tag - push - repository - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *274 + conditions: *275 rules: description: An array of rules within the ruleset. type: array - items: *296 + items: *298 examples: default: value: @@ -40555,9 +40705,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '500': *103 delete: @@ -40614,7 +40764,7 @@ paths: application/json: schema: type: array - items: &297 + items: &299 title: Ruleset version type: object description: The historical version of a ruleset @@ -40638,7 +40788,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &602 value: - version_id: 3 actor: @@ -40691,9 +40841,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 allOf: - - *297 + - *299 - type: object required: - state @@ -40763,7 +40913,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &602 + - &604 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -40774,7 +40924,7 @@ paths: enum: - open - resolved - - &603 + - &605 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -40784,7 +40934,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -40793,7 +40943,7 @@ paths: required: false schema: type: string - - &605 + - &607 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. @@ -40808,7 +40958,7 @@ paths: - *48 - *19 - *17 - - &606 + - &608 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -40818,7 +40968,7 @@ paths: required: false schema: type: string - - &607 + - &609 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -40828,7 +40978,7 @@ paths: required: false schema: type: string - - &608 + - &610 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -40837,7 +40987,7 @@ paths: required: false schema: type: string - - &609 + - &611 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -40846,7 +40996,7 @@ paths: schema: type: boolean default: false - - &610 + - &612 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -40855,7 +41005,7 @@ paths: schema: type: boolean default: false - - &611 + - &613 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -40874,8 +41024,8 @@ paths: items: type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -40883,21 +41033,21 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &612 + state: &614 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: &613 + resolution: &615 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -41004,8 +41154,8 @@ paths: pull request. ' - oneOf: &614 - - &616 + oneOf: &616 + - &618 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41057,7 +41207,7 @@ paths: - blob_url - commit_sha - commit_url - - &617 + - &619 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. @@ -41112,7 +41262,7 @@ paths: - page_url - commit_sha - commit_url - - &618 + - &620 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41126,7 +41276,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &619 + - &621 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41140,7 +41290,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &620 + - &622 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41154,7 +41304,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &621 + - &623 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41168,7 +41318,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &622 + - &624 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41182,7 +41332,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &623 + - &625 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41196,7 +41346,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &624 + - &626 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. @@ -41210,7 +41360,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &625 + - &627 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. @@ -41224,7 +41374,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &626 + - &628 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. @@ -41238,7 +41388,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &627 + - &629 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. @@ -41252,7 +41402,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &628 + - &630 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -41494,7 +41644,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &301 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41503,7 +41653,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &300 type: object properties: token_type: @@ -41569,7 +41719,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *298 + items: *300 examples: default: value: @@ -41626,7 +41776,7 @@ paths: schema: type: object properties: - pattern_config_version: *299 + pattern_config_version: *301 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41652,7 +41802,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *299 + custom_pattern_version: *301 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41750,7 +41900,7 @@ paths: application/json: schema: type: array - items: &632 + items: &634 description: A repository security advisory. type: object properties: @@ -41970,7 +42120,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *302 credits_detailed: type: array nullable: true @@ -41980,7 +42130,7 @@ paths: type: object properties: user: *4 - type: *300 + type: *302 state: type: string description: The state of the user's acceptance of the @@ -42004,7 +42154,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *176 + items: *178 private_fork: readOnly: true nullable: true @@ -42041,7 +42191,7 @@ paths: - private_fork additionalProperties: false examples: - default: &633 + default: &635 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42428,9 +42578,9 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42515,7 +42665,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &700 type: object properties: total_minutes_used: @@ -42585,7 +42735,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &699 + default: &701 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42621,7 +42771,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &702 type: object properties: total_gigabytes_bandwidth_used: @@ -42639,7 +42789,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &701 + default: &703 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42837,9 +42987,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42908,7 +43058,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42931,7 +43081,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42972,7 +43122,7 @@ paths: type: integer network_configurations: type: array - items: &302 + items: &304 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43092,9 +43242,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: &303 + default: &305 value: id: 123456789ABCDEF name: My network configuration @@ -43123,7 +43273,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &304 + - &306 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43135,9 +43285,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 headers: Link: *54 x-github: @@ -43159,7 +43309,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *304 + - *306 requestBody: required: true content: @@ -43198,9 +43348,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43370,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *304 + - *306 responses: '204': description: Response @@ -43360,13 +43510,13 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *306 + default: *308 '500': *103 '403': *29 '404': *6 - '422': *307 + '422': *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43394,9 +43544,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '403': *29 @@ -43490,7 +43640,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &310 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43553,8 +43703,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true members_count: type: integer @@ -43817,7 +43967,7 @@ paths: - repos_count - organization examples: - default: &309 + default: &311 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43894,9 +44044,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -43980,16 +44130,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '201': description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '403': *29 @@ -44059,7 +44209,7 @@ paths: application/json: schema: type: array - items: &310 + items: &312 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44158,7 +44308,7 @@ paths: - updated_at - url examples: - default: &650 + default: &652 value: - author: login: octocat @@ -44267,9 +44417,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: &311 + default: &313 value: author: login: octocat @@ -44343,7 +44493,7 @@ paths: parameters: - *63 - *64 - - &312 + - &314 name: discussion_number description: The number that identifies the discussion. in: path @@ -44355,9 +44505,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44381,7 +44531,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 requestBody: required: false content: @@ -44404,9 +44554,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: &651 + default: &653 value: author: login: octocat @@ -44478,7 +44628,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 responses: '204': description: Response @@ -44506,7 +44656,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 - *48 - *17 - *19 @@ -44517,7 +44667,7 @@ paths: application/json: schema: type: array - items: &313 + items: &315 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44589,7 +44739,7 @@ paths: - updated_at - url examples: - default: &652 + default: &654 value: - author: login: octocat @@ -44659,7 +44809,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 requestBody: required: true content: @@ -44681,9 +44831,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: &314 + default: &316 value: author: login: octocat @@ -44751,8 +44901,8 @@ paths: parameters: - *63 - *64 - - *312 - - &315 + - *314 + - &317 name: comment_number description: The number that identifies the comment. in: path @@ -44764,9 +44914,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *314 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44790,8 +44940,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 requestBody: required: true content: @@ -44813,9 +44963,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: &653 + default: &655 value: author: login: octocat @@ -44881,8 +45031,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 responses: '204': description: Response @@ -44910,8 +45060,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -44937,7 +45087,7 @@ paths: application/json: schema: type: array - items: &316 + items: &318 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44980,7 +45130,7 @@ paths: - content - created_at examples: - default: &318 + default: &320 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45032,8 +45182,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *314 + - *317 requestBody: required: true content: @@ -45066,9 +45216,9 @@ paths: team discussion comment content: application/json: - schema: *316 + schema: *318 examples: - default: &317 + default: &319 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45097,9 +45247,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45124,9 +45274,9 @@ paths: parameters: - *63 - *64 - - *312 - - *315 - - &319 + - *314 + - *317 + - &321 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45160,7 +45310,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45186,9 +45336,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 x-github: @@ -45216,7 +45366,7 @@ paths: parameters: - *63 - *64 - - *312 + - *314 requestBody: required: true content: @@ -45248,16 +45398,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45282,8 +45432,8 @@ paths: parameters: - *63 - *64 - - *312 - - *319 + - *314 + - *321 responses: '204': description: Response @@ -45318,9 +45468,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -45404,7 +45554,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &322 title: Team Membership description: Team Membership type: object @@ -45431,7 +45581,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &654 + response-if-user-is-a-team-maintainer: &656 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45494,9 +45644,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &655 + response-if-users-membership-with-team-is-now-pending: &657 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45569,7 +45719,7 @@ paths: application/json: schema: type: array - items: &321 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -45637,7 +45787,7 @@ paths: - updated_at - permissions examples: - default: &656 + default: &658 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45702,7 +45852,7 @@ paths: parameters: - *63 - *64 - - &322 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -45714,9 +45864,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: &657 + default: &659 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45780,7 +45930,7 @@ paths: parameters: - *63 - *64 - - *322 + - *324 requestBody: required: false content: @@ -45848,7 +45998,7 @@ paths: parameters: - *63 - *64 - - *322 + - *324 responses: '204': description: Response @@ -45886,9 +46036,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -45919,14 +46069,14 @@ paths: parameters: - *63 - *64 - - *323 - - *324 + - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &658 + schema: &660 title: Team Repository description: A team's access to a repository. type: object @@ -46497,8 +46647,8 @@ paths: parameters: - *63 - *64 - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -46545,8 +46695,8 @@ paths: parameters: - *63 - *64 - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -46581,9 +46731,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: &659 + response-if-child-teams-exist: &661 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46710,7 +46860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &325 + - &327 name: column_id description: The unique identifier of the column. in: path @@ -46722,7 +46872,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: Project Column description: Project columns contain cards of work. type: object @@ -46768,7 +46918,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &329 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46803,7 +46953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *325 + - *327 requestBody: required: true content: @@ -46827,9 +46977,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - default: *327 + default: *329 '304': *37 '403': *29 '401': *25 @@ -46854,7 +47004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *325 + - *327 responses: '204': description: Response @@ -46883,7 +47033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *325 + - *327 requestBody: required: true content: @@ -46943,15 +47093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *322 + - *324 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: &328 + default: &330 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47008,7 +47158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *322 + - *324 requestBody: required: false content: @@ -47054,9 +47204,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *330 '404': description: Not Found if the authenticated user does not have access to the project @@ -47077,7 +47227,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -47100,7 +47250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *322 + - *324 responses: '204': description: Delete Success @@ -47121,7 +47271,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *331 '404': *6 x-github: githubCloudOnly: false @@ -47145,7 +47295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *322 + - *324 - 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 @@ -47202,7 +47352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *322 + - *324 - *59 requestBody: required: false @@ -47255,7 +47405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *322 + - *324 - *59 responses: '204': @@ -47287,7 +47437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *322 + - *324 - *59 responses: '200': @@ -47347,115 +47497,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#list-project-columns - parameters: - - *322 - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *326 - examples: - default: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - headers: - Link: *54 - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column - parameters: - - *322 - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: *326 - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': *37 - '403': *29 - '422': *7 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -47497,7 +47538,7 @@ paths: resources: type: object properties: - core: &330 + core: &332 title: Rate Limit type: object properties: @@ -47514,21 +47555,21 @@ paths: - remaining - reset - used - graphql: *330 - search: *330 - code_search: *330 - source_import: *330 - integration_manifest: *330 - code_scanning_upload: *330 - actions_runner_registration: *330 - scim: *330 - dependency_snapshots: *330 - dependency_sbom: *330 - code_scanning_autofix: *330 + graphql: *332 + search: *332 + code_search: *332 + source_import: *332 + integration_manifest: *332 + code_scanning_upload: *332 + actions_runner_registration: *332 + scim: *332 + dependency_snapshots: *332 + dependency_sbom: *332 + code_scanning_autofix: *332 required: - core - search - rate: *330 + rate: *332 required: - rate - resources @@ -47633,14 +47674,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: default-response: summary: Default response @@ -48141,7 +48182,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *332 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48159,8 +48200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -48407,10 +48448,10 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 - '307': &334 + default: *335 + '307': &336 description: Temporary Redirect content: application/json: @@ -48439,8 +48480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -48462,7 +48503,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *334 + '307': *336 '404': *6 '409': *47 x-github: @@ -48486,11 +48527,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - - &365 + - &367 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48513,7 +48554,7 @@ paths: type: integer artifacts: type: array - items: &335 + items: &337 title: Artifact description: An artifact type: object @@ -48591,7 +48632,7 @@ paths: - expires_at - updated_at examples: - default: &366 + default: &368 value: total_count: 2 artifacts: @@ -48652,9 +48693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *323 - - *324 - - &336 + - *325 + - *326 + - &338 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48666,7 +48707,7 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: default: value: @@ -48704,9 +48745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *323 - - *324 - - *336 + - *325 + - *326 + - *338 responses: '204': description: Response @@ -48730,9 +48771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *323 - - *324 - - *336 + - *325 + - *326 + - *338 - name: archive_format in: path required: true @@ -48746,7 +48787,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48769,14 +48810,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -48802,11 +48843,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - - &338 + - &340 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 @@ -48840,7 +48881,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &341 title: Repository actions caches description: Repository actions caches type: object @@ -48882,7 +48923,7 @@ paths: - total_count - actions_caches examples: - default: &340 + default: &342 value: total_count: 1 actions_caches: @@ -48914,23 +48955,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *323 - - *324 + - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *338 + - *340 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48950,8 +48991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *323 - - *324 + - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48982,9 +49023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *323 - - *324 - - &341 + - *325 + - *326 + - &343 name: job_id description: The unique identifier of the job. in: path @@ -48996,7 +49037,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &371 title: Job description: Information of a job execution in a workflow run type: object @@ -49303,9 +49344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *323 - - *324 - - *341 + - *325 + - *326 + - *343 responses: '302': description: Response @@ -49333,9 +49374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *323 - - *324 - - *341 + - *325 + - *326 + - *343 requestBody: required: false content: @@ -49356,7 +49397,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49380,8 +49421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Status response @@ -49431,8 +49472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -49466,7 +49507,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49495,8 +49536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -49514,7 +49555,7 @@ paths: type: integer secrets: type: array - items: &371 + items: &373 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49534,7 +49575,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &374 value: total_count: 2 secrets: @@ -49567,9 +49608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *323 - - *324 - - *342 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -49586,7 +49627,7 @@ paths: type: integer variables: type: array - items: &375 + items: &377 title: Actions Variable type: object properties: @@ -49616,7 +49657,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &378 value: total_count: 2 variables: @@ -49649,8 +49690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -49659,12 +49700,12 @@ paths: schema: type: object properties: - enabled: &344 + enabled: &346 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *125 - selected_actions_url: *343 - sha_pinning_required: *126 + allowed_actions: *127 + selected_actions_url: *345 + sha_pinning_required: *128 required: - enabled examples: @@ -49692,8 +49733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -49704,9 +49745,9 @@ paths: schema: type: object properties: - enabled: *344 - allowed_actions: *125 - sha_pinning_required: *126 + enabled: *346 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled examples: @@ -49736,14 +49777,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &345 + schema: &347 type: object properties: access_level: @@ -49760,7 +49801,7 @@ paths: required: - access_level examples: - default: &346 + default: &348 value: access_level: organization x-github: @@ -49784,15 +49825,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *345 + schema: *347 examples: - default: *346 + default: *348 responses: '204': description: Response @@ -49816,14 +49857,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: default: value: @@ -49847,8 +49888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -49858,7 +49899,7 @@ paths: required: true content: application/json: - schema: *348 + schema: *350 examples: default: summary: Set retention days @@ -49882,16 +49923,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *127 + schema: *129 examples: - default: *349 + default: *351 '404': *6 x-github: enabledForGitHubApps: true @@ -49910,8 +49951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -49921,7 +49962,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -49945,16 +49986,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *128 + default: *130 '403': *29 '404': *6 x-github: @@ -49974,15 +50015,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *351 + schema: *353 examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -50006,16 +50047,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50034,8 +50075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -50043,9 +50084,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50067,16 +50108,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50097,8 +50138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Success response @@ -50109,9 +50150,9 @@ paths: required: true content: application/json: - schema: *353 + schema: *355 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50138,8 +50179,8 @@ paths: in: query schema: type: string - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -50157,9 +50198,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -50183,8 +50224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -50192,9 +50233,9 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50216,8 +50257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -50260,7 +50301,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *356 + '201': *358 '404': *6 '422': *7 '409': *47 @@ -50291,16 +50332,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50328,16 +50369,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50359,17 +50400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50390,9 +50431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: '204': description: Response @@ -50418,11 +50459,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: - '200': *146 + '200': *148 '404': *6 x-github: githubCloudOnly: false @@ -50444,9 +50485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 requestBody: required: true content: @@ -50470,7 +50511,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50494,9 +50535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 requestBody: required: true content: @@ -50521,7 +50562,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50545,11 +50586,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 + - *325 + - *326 + - *143 responses: - '200': *360 + '200': *362 '404': *6 x-github: githubCloudOnly: false @@ -50576,12 +50617,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *323 - - *324 - - *141 - - *361 + - *325 + - *326 + - *143 + - *363 responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50607,9 +50648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *323 - - *324 - - &379 + - *325 + - *326 + - &381 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. @@ -50617,7 +50658,7 @@ paths: required: false schema: type: string - - &380 + - &382 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50625,7 +50666,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50634,7 +50675,7 @@ paths: required: false schema: type: string - - &382 + - &384 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 @@ -50661,7 +50702,7 @@ paths: - pending - *17 - *19 - - &383 + - &385 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -50670,7 +50711,7 @@ paths: schema: type: string format: date-time - - &362 + - &364 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50679,13 +50720,13 @@ paths: schema: type: boolean default: false - - &384 + - &386 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &385 + - &387 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50708,7 +50749,7 @@ paths: type: integer workflow_runs: type: array - items: &363 + items: &365 title: Workflow Run description: An invocation of a workflow type: object @@ -50803,7 +50844,7 @@ paths: that triggered the run. type: array nullable: true - items: &404 + items: &406 title: Pull Request Minimal type: object properties: @@ -50922,7 +50963,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &410 id: type: string description: SHA for the commit @@ -50973,7 +51014,7 @@ paths: - name - email nullable: true - required: &409 + required: &411 - id - tree_id - message @@ -50981,8 +51022,8 @@ paths: - author - committer nullable: true - repository: *140 - head_repository: *140 + repository: *142 + head_repository: *142 head_repository_id: type: integer example: 5 @@ -51020,7 +51061,7 @@ paths: - workflow_url - pull_requests examples: - default: &386 + default: &388 value: total_count: 1 workflow_runs: @@ -51256,24 +51297,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *323 - - *324 - - &364 + - *325 + - *326 + - &366 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *362 + - *364 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: &367 + default: &369 value: id: 30433642 name: Build @@ -51514,9 +51555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '204': description: Response @@ -51539,9 +51580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -51660,15 +51701,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51695,12 +51736,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 - *17 - *19 - - *365 + - *367 responses: '200': description: Response @@ -51716,9 +51757,9 @@ paths: type: integer artifacts: type: array - items: *335 + items: *337 examples: - default: *366 + default: *368 headers: Link: *54 x-github: @@ -51742,25 +51783,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *323 - - *324 - - *364 - - &368 + - *325 + - *326 + - *366 + - &370 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *362 + - *364 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51783,10 +51824,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *323 - - *324 - - *364 - - *368 + - *325 + - *326 + - *366 + - *370 - *17 - *19 responses: @@ -51804,9 +51845,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *371 examples: - default: &370 + default: &372 value: total_count: 1 jobs: @@ -51919,10 +51960,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *323 - - *324 - - *364 - - *368 + - *325 + - *326 + - *366 + - *370 responses: '302': description: Response @@ -51950,15 +51991,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51985,9 +52026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52054,15 +52095,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52089,9 +52130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 - 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 @@ -52121,9 +52162,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *371 examples: - default: *370 + default: *372 headers: Link: *54 x-github: @@ -52148,9 +52189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '302': description: Response @@ -52177,9 +52218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '204': description: Response @@ -52206,9 +52247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52268,7 +52309,7 @@ paths: items: type: object properties: - type: &487 + type: &489 type: string description: The type of reviewer. enum: @@ -52278,7 +52319,7 @@ paths: reviewer: anyOf: - *4 - - *176 + - *178 required: - environment - wait_timer @@ -52353,9 +52394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52402,7 +52443,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52508,7 +52549,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &485 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52564,9 +52605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -52587,7 +52628,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52610,9 +52651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -52633,7 +52674,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52665,9 +52706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *323 - - *324 - - *364 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52804,8 +52845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -52823,9 +52864,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *373 examples: - default: *372 + default: *374 headers: Link: *54 x-github: @@ -52850,16 +52891,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: *374 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52881,17 +52922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: &500 + default: &502 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52917,9 +52958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 requestBody: required: true content: @@ -52950,7 +52991,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52976,9 +53017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '204': description: Response @@ -53003,9 +53044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *323 - - *324 - - *342 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -53022,9 +53063,9 @@ paths: type: integer variables: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *54 x-github: @@ -53047,8 +53088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -53075,7 +53116,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -53100,17 +53141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *323 - - *324 - - *151 + - *325 + - *326 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: &501 + default: &503 value: name: USERNAME value: octocat @@ -53136,9 +53177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *323 - - *324 - - *151 + - *325 + - *326 + - *153 requestBody: required: true content: @@ -53180,9 +53221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *323 - - *324 - - *151 + - *325 + - *326 + - *153 responses: '204': description: Response @@ -53207,8 +53248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -53226,7 +53267,7 @@ paths: type: integer workflows: type: array - items: &377 + items: &379 title: Workflow description: A GitHub Actions workflow type: object @@ -53333,9 +53374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *323 - - *324 - - &378 + - *325 + - *326 + - &380 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53350,7 +53391,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -53383,9 +53424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53410,9 +53451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53463,9 +53504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53492,19 +53533,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *323 - - *324 - - *378 - - *379 + - *325 + - *326 - *380 - *381 - *382 - - *17 - - *19 - *383 - - *362 - *384 + - *17 + - *19 - *385 + - *364 + - *386 + - *387 responses: '200': description: Response @@ -53520,9 +53561,9 @@ paths: type: integer workflow_runs: type: array - items: *363 + items: *365 examples: - default: *386 + default: *388 headers: Link: *54 x-github: @@ -53554,9 +53595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *323 - - *324 - - *378 + - *325 + - *326 + - *380 responses: '200': description: Response @@ -53617,8 +53658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *323 - - *324 + - *325 + - *326 - *48 - *17 - *40 @@ -53782,8 +53823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -53820,8 +53861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *323 - - *324 + - *325 + - *326 - name: assignee in: path required: true @@ -53857,8 +53898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -53970,8 +54011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *40 - *41 @@ -54028,7 +54069,7 @@ paths: initiator: type: string examples: - default: *387 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54048,8 +54089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -54057,7 +54098,7 @@ paths: application/json: schema: type: array - items: &388 + items: &390 title: Autolink reference description: An autolink reference. type: object @@ -54111,8 +54152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -54151,9 +54192,9 @@ paths: description: response content: application/json: - schema: *388 + schema: *390 examples: - default: &389 + default: &391 value: id: 1 key_prefix: TICKET- @@ -54184,9 +54225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *323 - - *324 - - &390 + - *325 + - *326 + - &392 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54198,9 +54239,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '404': *6 x-github: githubCloudOnly: false @@ -54220,9 +54261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *323 - - *324 - - *390 + - *325 + - *326 + - *392 responses: '204': description: Response @@ -54246,8 +54287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54295,8 +54336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -54317,8 +54358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -54338,8 +54379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *323 - - *324 + - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54377,7 +54418,7 @@ paths: - url protected: type: boolean - protection: &392 + protection: &394 title: Branch Protection description: Branch Protection type: object @@ -54419,7 +54460,7 @@ paths: required: - contexts - checks - enforce_admins: &395 + enforce_admins: &397 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54434,7 +54475,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &397 + required_pull_request_reviews: &399 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54455,7 +54496,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *176 + items: *178 apps: description: The list of apps with review dismissal access. @@ -54484,7 +54525,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *176 + items: *178 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54510,7 +54551,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &394 + restrictions: &396 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54573,7 +54614,7 @@ paths: type: string teams: type: array - items: *176 + items: *178 apps: type: array items: @@ -54787,9 +54828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *323 - - *324 - - &393 + - *325 + - *326 + - &395 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -54803,14 +54844,14 @@ paths: description: Response content: application/json: - schema: &403 + schema: &405 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &458 title: Commit description: Commit type: object @@ -54844,7 +54885,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &391 + properties: &393 name: type: string example: '"Chris Wanstrath"' @@ -54859,7 +54900,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *393 nullable: true message: type: string @@ -54880,7 +54921,7 @@ paths: required: - sha - url - verification: &507 + verification: &509 title: Verification type: object properties: @@ -54914,12 +54955,12 @@ paths: nullable: true oneOf: - *4 - - *149 + - *151 committer: nullable: true oneOf: - *4 - - *149 + - *151 parents: type: array items: @@ -54950,7 +54991,7 @@ paths: type: integer files: type: array - items: &469 + items: &471 title: Diff Entry description: Diff Entry type: object @@ -55034,7 +55075,7 @@ paths: - self protected: type: boolean - protection: *392 + protection: *394 protection_url: type: string format: uri @@ -55141,7 +55182,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *332 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -55163,15 +55204,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -55365,9 +55406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -55622,7 +55663,7 @@ paths: url: type: string format: uri - required_status_checks: &400 + required_status_checks: &402 title: Status Check Policy description: Status Check Policy type: object @@ -55698,7 +55739,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55716,7 +55757,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55774,7 +55815,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *394 + restrictions: *396 required_conversation_resolution: type: object properties: @@ -55886,9 +55927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -55913,17 +55954,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &396 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55945,17 +55986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55974,9 +56015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56001,17 +56042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: &398 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56107,9 +56148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56207,9 +56248,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -56230,9 +56271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56259,17 +56300,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &399 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56292,17 +56333,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *399 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -56322,9 +56363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56349,17 +56390,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: &401 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56385,9 +56426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56439,9 +56480,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: *401 + default: *403 '404': *6 '422': *15 x-github: @@ -56463,9 +56504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56489,9 +56530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -56525,9 +56566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56594,9 +56635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56660,9 +56701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -56728,15 +56769,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: default: value: @@ -56827,9 +56868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56852,9 +56893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -56864,7 +56905,7 @@ paths: type: array items: *5 examples: - default: &402 + default: &404 value: - id: 1 slug: octoapp @@ -56921,9 +56962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -56957,7 +56998,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -56978,9 +57019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57014,7 +57055,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57035,9 +57076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57071,7 +57112,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57093,9 +57134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57103,9 +57144,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -57125,9 +57166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57163,9 +57204,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57186,9 +57227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57224,9 +57265,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57247,9 +57288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -57284,9 +57325,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57308,9 +57349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57344,9 +57385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57404,9 +57445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57464,9 +57505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57526,9 +57567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57550,7 +57591,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: default: value: @@ -57666,8 +57707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -57946,7 +57987,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &407 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58065,8 +58106,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *404 - deployment: &717 + items: *406 + deployment: &718 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58346,9 +58387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *323 - - *324 - - &406 + - *325 + - *326 + - &408 name: check_run_id description: The unique identifier of the check run. in: path @@ -58360,9 +58401,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &407 + default: &409 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58462,9 +58503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *323 - - *324 - - *406 + - *325 + - *326 + - *408 requestBody: required: true content: @@ -58704,9 +58745,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58726,9 +58767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *323 - - *324 - - *406 + - *325 + - *326 + - *408 - *17 - *19 responses: @@ -58823,15 +58864,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *323 - - *324 - - *406 + - *325 + - *326 + - *408 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -58869,8 +58910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -58892,7 +58933,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &412 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58956,7 +58997,7 @@ paths: nullable: true pull_requests: type: array - items: *404 + items: *406 nullable: true app: title: GitHub app @@ -58969,7 +59010,7 @@ paths: nullable: true properties: *67 required: *68 - repository: *140 + repository: *142 created_at: type: string format: date-time @@ -58978,12 +59019,12 @@ paths: type: string format: date-time nullable: true - head_commit: &743 + head_commit: &744 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 latest_check_runs_count: type: integer check_runs_url: @@ -59011,7 +59052,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &413 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59302,9 +59343,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59323,8 +59364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -59385,7 +59426,7 @@ paths: required: - app_id - setting - repository: *140 + repository: *142 examples: default: value: @@ -59633,9 +59674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *323 - - *324 - - &412 + - *325 + - *326 + - &414 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59647,9 +59688,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59672,17 +59713,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *323 - - *324 - - *412 - - &462 + - *325 + - *326 + - *414 + - &464 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &465 name: status description: Returns check runs with the specified `status`. in: query @@ -59721,9 +59762,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: &464 + default: &466 value: total_count: 1 check_runs: @@ -59825,15 +59866,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *323 - - *324 - - *412 + - *325 + - *326 + - *414 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -59860,21 +59901,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *323 - - *324 - - *413 - - *414 + - *325 + - *326 + - *415 + - *416 - *19 - *17 - - &431 + - &433 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: *415 - - &432 + schema: *417 + - &434 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59899,13 +59940,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *418 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *419 responses: '200': description: Response @@ -59916,14 +59957,14 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *420 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -59931,12 +59972,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_at: *164 + dismissed_reason: *421 + dismissed_comment: *422 + rule: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60062,7 +60103,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &426 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60089,9 +60130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *323 - - *324 - - &425 + - *325 + - *326 + - &427 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60099,23 +60140,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: &426 + schema: &428 type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *420 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -60123,9 +60164,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_at: *164 + dismissed_reason: *421 + dismissed_comment: *422 rule: type: object properties: @@ -60179,8 +60220,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60279,7 +60320,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60299,9 +60340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 requestBody: required: true content: @@ -60316,8 +60357,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60336,7 +60377,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -60412,7 +60453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &432 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60439,15 +60480,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 responses: '200': description: Response content: application/json: - schema: &427 + schema: &429 type: object properties: status: @@ -60473,13 +60514,13 @@ paths: - description - started_at examples: - default: &428 + default: &430 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &431 description: Bad Request content: application/json: @@ -60490,7 +60531,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': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60515,29 +60556,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 responses: '200': description: OK content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '202': description: Accepted content: application/json: - schema: *427 + schema: *429 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *431 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60569,9 +60610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 requestBody: required: false content: @@ -60616,8 +60657,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *431 + '403': *432 '404': *6 '422': description: Unprocessable Entity @@ -60641,13 +60682,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 - *19 - *17 - - *431 - - *432 + - *433 + - *434 responses: '200': description: Response @@ -60655,7 +60696,7 @@ paths: application/json: schema: type: array - items: *423 + items: *425 examples: default: value: @@ -60694,7 +60735,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60728,25 +60769,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *323 - - *324 - - *413 - - *414 + - *325 + - *326 + - *415 + - *416 - *19 - *17 - - *432 + - *434 - 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: *415 + schema: *417 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &437 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60767,23 +60808,23 @@ paths: application/json: schema: type: array - items: &436 + items: &438 type: object properties: - ref: *415 - commit_sha: &444 + ref: *417 + commit_sha: &446 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: *433 + analysis_key: *435 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *434 + category: *436 error: type: string example: error reading field xyz @@ -60807,8 +60848,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *422 + sarif_id: *437 + tool: *424 deletable: type: boolean warning: @@ -60869,7 +60910,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -60905,8 +60946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60919,7 +60960,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: response: summary: application/json response @@ -60973,7 +61014,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *426 '404': *6 '422': description: Response if analysis could not be processed @@ -61060,8 +61101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61114,7 +61155,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': *430 + '403': *432 '404': *6 '503': *104 x-github: @@ -61136,8 +61177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -61145,7 +61186,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: CodeQL Database description: A CodeQL database. type: object @@ -61256,7 +61297,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': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -61285,8 +61326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61298,7 +61339,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -61330,9 +61371,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': &471 + '302': &473 description: Found - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -61354,8 +61395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *323 - - *324 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61365,7 +61406,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *432 '404': *6 '503': *104 x-github: @@ -61393,8 +61434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -61403,7 +61444,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &440 type: string description: The language targeted by the CodeQL query enum: @@ -61482,7 +61523,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &444 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61492,7 +61533,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *438 + query_language: *440 query_pack_url: type: string description: The download url for the query pack. @@ -61539,7 +61580,7 @@ paths: items: type: object properties: - repository: &439 + repository: &441 title: Repository Identifier description: Repository Identifier type: object @@ -61575,7 +61616,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &445 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61607,7 +61648,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &442 type: object properties: repository_count: @@ -61621,7 +61662,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: *439 + items: *441 required: - repository_count - repositories @@ -61643,8 +61684,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *442 + over_limit_repos: *442 required: - access_mismatch_repos - not_found_repos @@ -61660,7 +61701,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &443 summary: Default response value: id: 1 @@ -61812,10 +61853,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *443 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *443 '404': *6 '422': description: Unable to process variant analysis submission @@ -61843,8 +61884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *323 - - *324 + - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -61856,9 +61897,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *441 + default: *443 '404': *6 '503': *104 x-github: @@ -61881,7 +61922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *323 + - *325 - name: repo in: path description: The name of the controller repository. @@ -61916,7 +61957,7 @@ paths: type: object properties: repository: *53 - analysis_status: *443 + analysis_status: *445 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62041,8 +62082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -62127,7 +62168,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *426 '404': *6 '503': *104 x-github: @@ -62148,8 +62189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -62216,7 +62257,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -62241,7 +62282,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *432 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62312,8 +62353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -62321,7 +62362,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *446 ref: type: string description: |- @@ -62379,7 +62420,7 @@ paths: schema: type: object properties: - id: *435 + id: *437 url: type: string description: The REST API URL for checking the status of the upload. @@ -62393,7 +62434,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': *430 + '403': *432 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62416,8 +62457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *323 - - *324 + - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62463,7 +62504,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': *424 + '403': *426 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62488,8 +62529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -62545,7 +62586,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *170 + '204': *172 '304': *37 '403': *29 '404': *6 @@ -62570,8 +62611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -62691,8 +62732,8 @@ paths: parameters: - *17 - *19 - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -62708,7 +62749,7 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: default: value: @@ -63006,8 +63047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -63070,17 +63111,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '400': *14 '401': *25 '403': *29 @@ -63109,8 +63150,8 @@ paths: parameters: - *17 - *19 - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -63174,8 +63215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63210,14 +63251,14 @@ paths: type: integer machines: type: array - items: &666 + items: &668 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *448 + required: *449 examples: - default: &667 + default: &669 value: total_count: 2 machines: @@ -63257,8 +63298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *323 - - *324 + - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63342,8 +63383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -63409,8 +63450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -63428,7 +63469,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &453 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63448,7 +63489,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *450 headers: Link: *54 x-github: @@ -63471,16 +63512,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63500,17 +63541,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '200': description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63530,9 +63571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 requestBody: required: true content: @@ -63560,7 +63601,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -63584,9 +63625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '204': description: Response @@ -63614,8 +63655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *323 - - *324 + - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63657,7 +63698,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &455 login: type: string example: octocat @@ -63750,7 +63791,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &456 - avatar_url - events_url - followers_url @@ -63824,8 +63865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *323 - - *324 + - *325 + - *326 - *59 responses: '204': @@ -63872,8 +63913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *323 - - *324 + - *325 + - *326 - *59 requestBody: required: false @@ -63900,7 +63941,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &520 + schema: &522 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -63911,7 +63952,7 @@ paths: example: 42 type: integer format: int64 - repository: *140 + repository: *142 invitee: title: Simple User description: A GitHub user. @@ -64089,7 +64130,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *109 + schema: *111 '403': *29 x-github: triggersNotification: true @@ -64129,8 +64170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *323 - - *324 + - *325 + - *326 - *59 responses: '204': @@ -64162,8 +64203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *323 - - *324 + - *325 + - *326 - *59 responses: '200': @@ -64184,8 +64225,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *455 + required: *456 nullable: true required: - permission @@ -64240,8 +64281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -64251,7 +64292,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: Commit Comment description: Commit Comment type: object @@ -64309,7 +64350,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &460 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64368,17 +64409,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: &459 + default: &461 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64435,8 +64476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -64459,7 +64500,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -64510,8 +64551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '204': @@ -64533,8 +64574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64561,9 +64602,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -64584,8 +64625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -64618,16 +64659,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -64649,10 +64690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *323 - - *324 + - *325 + - *326 - *81 - - *319 + - *321 responses: '204': description: Response @@ -64701,8 +64742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *323 - - *324 + - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64758,9 +64799,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64854,9 +64895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *323 - - *324 - - &457 + - *325 + - *326 + - &459 name: commit_sha description: The SHA of the commit. in: path @@ -64928,9 +64969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 - *17 - *19 responses: @@ -64940,9 +64981,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *458 + default: *460 headers: Link: *54 x-github: @@ -64970,9 +65011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 requestBody: required: true content: @@ -65007,9 +65048,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *459 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65037,9 +65078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 - *17 - *19 responses: @@ -65049,9 +65090,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &564 + default: &566 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65588,11 +65629,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *323 - - *324 + - *325 + - *326 - *19 - *17 - - &461 + - &463 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)" @@ -65607,9 +65648,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &549 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65722,11 +65763,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *323 - - *324 - - *461 - - *462 + - *325 + - *326 - *463 + - *464 + - *465 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65760,9 +65801,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: *464 + default: *466 headers: Link: *54 x-github: @@ -65787,9 +65828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *323 - - *324 - - *461 + - *325 + - *326 + - *463 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65797,7 +65838,7 @@ paths: schema: type: integer example: 1 - - *462 + - *464 - *17 - *19 responses: @@ -65815,7 +65856,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *412 examples: default: value: @@ -66015,9 +66056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *323 - - *324 - - *461 + - *325 + - *326 + - *463 - *17 - *19 responses: @@ -66084,7 +66125,7 @@ paths: type: string total_count: type: integer - repository: *140 + repository: *142 commit_url: type: string format: uri @@ -66215,9 +66256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *323 - - *324 - - *461 + - *325 + - *326 + - *463 - *17 - *19 responses: @@ -66227,7 +66268,7 @@ paths: application/json: schema: type: array - items: &637 + items: &639 title: Status description: The status of a commit. type: object @@ -66308,7 +66349,7 @@ paths: site_admin: false headers: Link: *54 - '301': *332 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66336,8 +66377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -66366,20 +66407,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *465 - required: *466 + properties: *467 + required: *468 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &467 + properties: &469 url: type: string format: uri html_url: type: string format: uri - required: &468 + required: &470 - url - html_url nullable: true @@ -66393,26 +66434,26 @@ paths: contributing: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true readme: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true issue_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true pull_request_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *469 + required: *470 nullable: true required: - code_of_conduct @@ -66539,8 +66580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *323 - - *324 + - *325 + - *326 - *19 - *17 - name: basehead @@ -66583,8 +66624,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *458 + merge_base_commit: *458 status: type: string enum: @@ -66604,10 +66645,10 @@ paths: example: 6 commits: type: array - items: *456 + items: *458 files: type: array - items: *469 + items: *471 required: - url - html_url @@ -66893,8 +66934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *323 - - *324 + - *325 + - *326 - name: path description: path parameter in: path @@ -67037,7 +67078,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &470 + response-if-content-is-a-file: &472 summary: Response if content is a file value: type: file @@ -67169,7 +67210,7 @@ paths: - size - type - url - - &577 + - &579 title: Content File description: Content File type: object @@ -67370,7 +67411,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *472 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67439,7 +67480,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *471 + '302': *473 '304': *37 x-github: githubCloudOnly: false @@ -67462,8 +67503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *323 - - *324 + - *325 + - *326 - name: path description: path parameter in: path @@ -67556,7 +67597,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: File Commit description: File Commit type: object @@ -67708,7 +67749,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: example-for-creating-a-file: value: @@ -67762,7 +67803,7 @@ paths: schema: oneOf: - *3 - - &502 + - &504 description: Repository rule violation was detected type: object properties: @@ -67783,7 +67824,7 @@ paths: items: type: object properties: - placeholder_id: &629 + placeholder_id: &631 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67815,8 +67856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *323 - - *324 + - *325 + - *326 - name: path description: path parameter in: path @@ -67877,7 +67918,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -67932,8 +67973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *323 - - *324 + - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68056,22 +68097,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *323 - - *324 - - *177 - - *178 + - *325 + - *326 - *179 - *180 + - *181 + - *182 - 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 - - *181 - - *473 - - *182 - *183 + - *475 + - *184 + - *185 - *48 - name: per_page description: The number of results per page (max 100). For more information, @@ -68090,11 +68131,11 @@ paths: application/json: schema: type: array - items: &476 + items: &478 type: object description: A Dependabot alert. properties: - number: *156 + number: *158 state: type: string description: The state of the Dependabot alert. @@ -68136,13 +68177,13 @@ paths: - unknown - direct - transitive - security_advisory: *474 + security_advisory: *476 security_vulnerability: *52 - url: *159 - html_url: *160 - created_at: *157 - updated_at: *158 - dismissed_at: *162 + url: *161 + html_url: *162 + created_at: *159 + updated_at: *160 + dismissed_at: *164 dismissed_by: title: Simple User description: A GitHub user. @@ -68166,8 +68207,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *161 - auto_dismissed_at: *475 + fixed_at: *163 + auto_dismissed_at: *477 required: - number - state @@ -68397,9 +68438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *323 - - *324 - - &477 + - *325 + - *326 + - &479 name: alert_number in: path description: |- @@ -68408,13 +68449,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -68527,9 +68568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *323 - - *324 - - *477 + - *325 + - *326 + - *479 requestBody: required: true content: @@ -68574,7 +68615,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -68703,8 +68744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -68722,7 +68763,7 @@ paths: type: integer secrets: type: array - items: &480 + items: &482 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68775,16 +68816,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68804,15 +68845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '200': description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -68838,9 +68879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 requestBody: required: true content: @@ -68868,7 +68909,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -68892,9 +68933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *323 - - *324 - - *148 + - *325 + - *326 + - *150 responses: '204': description: Response @@ -68916,8 +68957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -69077,8 +69118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -69317,8 +69358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -69393,7 +69434,7 @@ paths: - version - url additionalProperties: false - metadata: &481 + metadata: &483 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69426,7 +69467,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *481 + metadata: *483 resolved: type: object description: A collection of resolved package dependencies. @@ -69439,7 +69480,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *481 + metadata: *483 relationship: type: string description: A notation of whether a dependency is requested @@ -69568,8 +69609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *323 - - *324 + - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -69609,9 +69650,9 @@ paths: application/json: schema: type: array - items: *482 + items: *484 examples: - default: *483 + default: *485 headers: Link: *54 x-github: @@ -69677,8 +69718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -69759,7 +69800,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: simple-example: summary: Simple example @@ -69832,9 +69873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *323 - - *324 - - &484 + - *325 + - *326 + - &486 name: deployment_id description: deployment_id parameter in: path @@ -69846,7 +69887,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69911,9 +69952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 responses: '204': description: Response @@ -69935,9 +69976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 - *17 - *19 responses: @@ -69947,7 +69988,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: Deployment Status description: The status of a deployment. type: object @@ -70108,9 +70149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 requestBody: required: true content: @@ -70185,9 +70226,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: &486 + default: &488 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70243,9 +70284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *323 - - *324 - - *484 + - *325 + - *326 + - *486 - name: status_id in: path required: true @@ -70256,9 +70297,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -70283,8 +70324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -70341,8 +70382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -70359,7 +70400,7 @@ paths: type: integer environments: type: array - items: &488 + items: &490 title: Environment description: Details of a deployment environment type: object @@ -70411,7 +70452,7 @@ paths: type: type: string example: wait_timer - wait_timer: &490 + wait_timer: &492 type: integer example: 30 description: The amount of time to delay a job after @@ -70448,11 +70489,11 @@ paths: items: type: object properties: - type: *487 + type: *489 reviewer: anyOf: - *4 - - *176 + - *178 required: - id - node_id @@ -70472,7 +70513,7 @@ paths: - id - node_id - type - deployment_branch_policy: &491 + deployment_branch_policy: &493 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70588,9 +70629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *323 - - *324 - - &489 + - *325 + - *326 + - &491 name: environment_name in: path required: true @@ -70603,9 +70644,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &492 + default: &494 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70689,9 +70730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 requestBody: required: false content: @@ -70700,7 +70741,7 @@ paths: type: object nullable: true properties: - wait_timer: *490 + wait_timer: *492 prevent_self_review: type: boolean example: false @@ -70717,13 +70758,13 @@ paths: items: type: object properties: - type: *487 + type: *489 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *491 + deployment_branch_policy: *493 additionalProperties: false examples: default: @@ -70743,9 +70784,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70769,9 +70810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 responses: '204': description: Default response @@ -70796,9 +70837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 - *17 - *19 responses: @@ -70816,7 +70857,7 @@ paths: example: 2 branch_policies: type: array - items: &493 + items: &495 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -70873,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 requestBody: required: true content: @@ -70921,9 +70962,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - example-wildcard: &494 + example-wildcard: &496 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -70965,10 +71006,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 - - &495 + - *325 + - *326 + - *491 + - &497 name: branch_policy_id in: path required: true @@ -70980,9 +71021,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71001,10 +71042,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 - - *495 + - *325 + - *326 + - *491 + - *497 requestBody: required: true content: @@ -71032,9 +71073,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71053,10 +71094,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *323 - - *324 - - *489 - - *495 + - *325 + - *326 + - *491 + - *497 responses: '204': description: Response @@ -71081,9 +71122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *489 - - *324 - - *323 + - *491 + - *326 + - *325 responses: '200': description: List of deployment protection rules @@ -71099,7 +71140,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &496 + items: &498 title: Deployment protection rule description: Deployment protection rule type: object @@ -71118,7 +71159,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &497 + app: &499 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71217,9 +71258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *489 - - *324 - - *323 + - *491 + - *326 + - *325 requestBody: content: application/json: @@ -71240,9 +71281,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *496 + schema: *498 examples: - default: &498 + default: &500 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71277,9 +71318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *489 - - *324 - - *323 + - *491 + - *326 + - *325 - *19 - *17 responses: @@ -71298,7 +71339,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *497 + items: *499 examples: default: value: @@ -71333,10 +71374,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *323 - - *324 - - *489 - - &499 + - *325 + - *326 + - *491 + - &501 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71348,9 +71389,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71371,10 +71412,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *489 - - *324 - - *323 - - *499 + - *491 + - *326 + - *325 + - *501 responses: '204': description: Response @@ -71400,9 +71441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 - *17 - *19 responses: @@ -71420,9 +71461,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *373 examples: - default: *372 + default: *374 headers: Link: *54 x-github: @@ -71447,17 +71488,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 responses: '200': description: Response content: application/json: - schema: *373 + schema: *375 examples: - default: *374 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71479,18 +71520,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *323 - - *324 - - *489 - - *148 + - *325 + - *326 + - *491 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71512,10 +71553,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *323 - - *324 - - *489 - - *148 + - *325 + - *326 + - *491 + - *150 requestBody: required: true content: @@ -71546,7 +71587,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71572,10 +71613,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *323 - - *324 - - *489 - - *148 + - *325 + - *326 + - *491 + - *150 responses: '204': description: Default response @@ -71600,10 +71641,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *323 - - *324 - - *489 - - *342 + - *325 + - *326 + - *491 + - *344 - *19 responses: '200': @@ -71620,9 +71661,9 @@ paths: type: integer variables: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *54 x-github: @@ -71645,9 +71686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *323 - - *324 - - *489 + - *325 + - *326 + - *491 requestBody: required: true content: @@ -71674,7 +71715,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71699,18 +71740,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *323 - - *324 - - *489 - - *151 + - *325 + - *326 + - *491 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71731,10 +71772,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *323 - - *324 - - *151 - - *489 + - *325 + - *326 + - *153 + - *491 requestBody: required: true content: @@ -71776,10 +71817,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *323 - - *324 - - *151 - - *489 + - *325 + - *326 + - *153 + - *491 responses: '204': description: Response @@ -71801,8 +71842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -71870,8 +71911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *323 - - *324 + - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71893,7 +71934,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -72030,8 +72071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -72063,9 +72104,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 '400': *14 '422': *15 '403': *29 @@ -72086,8 +72127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -72146,8 +72187,8 @@ paths: application/json: schema: oneOf: - - *109 - - *502 + - *111 + - *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72172,8 +72213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *323 - - *324 + - *325 + - *326 - name: file_sha in: path required: true @@ -72272,8 +72313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -72382,7 +72423,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72596,15 +72637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *323 - - *324 - - *457 + - *325 + - *326 + - *459 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -72660,9 +72701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *323 - - *324 - - &504 + - *325 + - *326 + - &506 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. @@ -72679,7 +72720,7 @@ paths: application/json: schema: type: array - items: &505 + items: &507 title: Git Reference description: Git references within a repository type: object @@ -72754,17 +72795,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *323 - - *324 - - *504 + - *325 + - *326 + - *506 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: &506 + default: &508 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72793,8 +72834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -72823,9 +72864,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -72851,9 +72892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *323 - - *324 - - *504 + - *325 + - *326 + - *506 requestBody: required: true content: @@ -72882,9 +72923,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *506 + default: *508 '422': *15 '409': *47 x-github: @@ -72902,9 +72943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *323 - - *324 - - *504 + - *325 + - *326 + - *506 responses: '204': description: Response @@ -72959,8 +73000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -73027,7 +73068,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &510 title: Git Tag description: Metadata for a Git tag type: object @@ -73078,7 +73119,7 @@ paths: - sha - type - url - verification: *507 + verification: *509 required: - sha - url @@ -73088,7 +73129,7 @@ paths: - tag - message examples: - default: &509 + default: &511 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73161,8 +73202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *323 - - *324 + - *325 + - *326 - name: tag_sha in: path required: true @@ -73173,9 +73214,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *509 + default: *511 '404': *6 '409': *47 x-github: @@ -73199,8 +73240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -73273,7 +73314,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &512 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73369,8 +73410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *323 - - *324 + - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73393,7 +73434,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: default-response: summary: Default response @@ -73452,8 +73493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -73463,7 +73504,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Webhook description: Webhooks for repositories. type: object @@ -73517,7 +73558,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &751 + last_response: &752 title: Hook Response type: object properties: @@ -73591,8 +73632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -73644,9 +73685,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: type: Repository id: 12345678 @@ -73694,17 +73735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '200': description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -73724,9 +73765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 requestBody: required: true content: @@ -73771,9 +73812,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '422': *15 '404': *6 x-github: @@ -73794,9 +73835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '204': description: Response @@ -73820,9 +73861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '200': description: Response @@ -73849,9 +73890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 requestBody: required: false content: @@ -73895,11 +73936,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -73907,9 +73948,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -73928,18 +73969,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -73958,9 +73999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 - *16 responses: '202': *39 @@ -73983,9 +74024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '204': description: Response @@ -74010,9 +74051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *323 - - *324 - - *191 + - *325 + - *326 + - *193 responses: '204': description: Response @@ -74035,8 +74076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74082,10 +74123,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -74103,10 +74144,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -74161,14 +74202,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &513 + schema: &515 title: Import description: A repository import from an external source. type: object @@ -74267,7 +74308,7 @@ paths: - html_url - authors_url examples: - default: &516 + default: &518 value: vcs: subversion use_lfs: true @@ -74283,7 +74324,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': &514 + '503': &516 description: Unavailable due to service under maintenance. content: application/json: @@ -74312,8 +74353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -74361,7 +74402,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: default: value: @@ -74386,7 +74427,7 @@ paths: type: string '422': *15 '404': *6 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74414,8 +74455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -74464,7 +74505,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: example-1: summary: Example 1 @@ -74512,7 +74553,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': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74535,12 +74576,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74566,9 +74607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *323 - - *324 - - &688 + - *325 + - *326 + - &690 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74582,7 +74623,7 @@ paths: application/json: schema: type: array - items: &515 + items: &517 title: Porter Author description: Porter Author type: object @@ -74636,7 +74677,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': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74661,8 +74702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *323 - - *324 + - *325 + - *326 - name: author_id in: path required: true @@ -74692,7 +74733,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -74705,7 +74746,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74729,8 +74770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -74771,7 +74812,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74799,8 +74840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -74827,11 +74868,11 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *516 + default: *518 '422': *15 - '503': *514 + '503': *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74854,8 +74895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -74863,8 +74904,8 @@ paths: application/json: schema: *22 examples: - default: *517 - '301': *332 + default: *519 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -74884,8 +74925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -74893,12 +74934,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: &519 + default: &521 value: limit: collaborators_only origin: repository @@ -74923,13 +74964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *518 + schema: *520 examples: default: summary: Example request body @@ -74941,9 +74982,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *519 + default: *521 '409': description: Response x-github: @@ -74965,8 +75006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -74989,8 +75030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -75000,9 +75041,9 @@ paths: application/json: schema: type: array - items: *520 + items: *522 examples: - default: &681 + default: &683 value: - id: 1 repository: @@ -75133,9 +75174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *323 - - *324 - - *213 + - *325 + - *326 + - *215 requestBody: required: false content: @@ -75164,7 +75205,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -75295,9 +75336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *323 - - *324 - - *213 + - *325 + - *326 + - *215 responses: '204': description: Response @@ -75328,8 +75369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *323 - - *324 + - *325 + - *326 - 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 @@ -75377,7 +75418,7 @@ paths: required: false schema: type: string - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -75402,7 +75443,7 @@ paths: type: array items: *82 examples: - default: &529 + default: &531 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75550,7 +75591,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *332 + '301': *334 '422': *15 '404': *6 x-github: @@ -75579,8 +75620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -75664,7 +75705,7 @@ paths: application/json: schema: *82 examples: - default: &526 + default: &528 value: id: 1 node_id: MDU6SXNzdWUx @@ -75820,7 +75861,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *329 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -75848,8 +75889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -75870,9 +75911,9 @@ paths: application/json: schema: type: array - items: *521 + items: *523 examples: - default: &528 + default: &530 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75930,17 +75971,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: &522 + default: &524 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75994,8 +76035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -76018,9 +76059,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 '422': *15 x-github: githubCloudOnly: false @@ -76038,8 +76079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '204': @@ -76060,8 +76101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76088,9 +76129,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -76111,8 +76152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -76145,16 +76186,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -76176,10 +76217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *323 - - *324 + - *325 + - *326 - *81 - - *319 + - *321 responses: '204': description: Response @@ -76199,8 +76240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -76210,7 +76251,7 @@ paths: application/json: schema: type: array - items: &525 + items: &527 title: Issue Event description: Issue Event type: object @@ -76253,8 +76294,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *523 - required: *524 + properties: *525 + required: *526 nullable: true label: title: Issue Event Label @@ -76298,7 +76339,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *176 + requested_team: *178 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76561,8 +76602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *323 - - *324 + - *325 + - *326 - name: event_id in: path required: true @@ -76573,7 +76614,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -76766,7 +76807,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *329 + '410': *331 '403': *29 x-github: githubCloudOnly: false @@ -76800,9 +76841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *323 - - *324 - - &527 + - *325 + - *326 + - &529 name: issue_number description: The number that identifies the issue. in: path @@ -76816,10 +76857,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *528 + '301': *334 '404': *6 - '410': *329 + '410': *331 '304': *37 x-github: githubCloudOnly: false @@ -76844,9 +76885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -76952,13 +76993,13 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 '422': *15 '503': *104 '403': *29 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76976,9 +77017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -77006,7 +77047,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77022,9 +77063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: content: application/json: @@ -77051,7 +77092,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77073,9 +77114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: assignee in: path required: true @@ -77115,9 +77156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *72 - *17 - *19 @@ -77128,13 +77169,13 @@ paths: application/json: schema: type: array - items: *521 + items: *523 examples: - default: *528 + default: *530 headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77163,9 +77204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -77187,16 +77228,16 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *329 + '410': *331 '422': *15 '404': *6 x-github: @@ -77224,9 +77265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -77238,12 +77279,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *531 headers: Link: *54 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77271,9 +77312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -77297,15 +77338,15 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *332 + '301': *334 '403': *29 - '410': *329 + '410': *331 '422': *15 '404': *6 x-github: @@ -77336,9 +77377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77352,13 +77393,13 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *528 + '301': *334 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -77384,9 +77425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -77398,12 +77439,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *531 headers: Link: *54 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77420,9 +77461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -77436,7 +77477,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &532 + - &534 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77490,7 +77531,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &535 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77626,7 +77667,7 @@ paths: - performed_via_github_app - assignee - assigner - - &534 + - &536 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77677,7 +77718,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &537 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77728,7 +77769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77782,7 +77823,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &539 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77816,7 +77857,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77829,7 +77870,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -77863,7 +77904,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77876,7 +77917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -77936,7 +77977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Locked Issue Event description: Locked Issue Event type: object @@ -77984,7 +78025,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78050,7 +78091,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78116,7 +78157,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78182,7 +78223,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78273,7 +78314,7 @@ paths: color: red headers: Link: *54 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78290,9 +78331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -78302,7 +78343,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78349,7 +78390,7 @@ paths: - color - default examples: - default: &531 + default: &533 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78367,9 +78408,9 @@ paths: default: false headers: Link: *54 - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78386,9 +78427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -78447,12 +78488,12 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 - '301': *332 + default: *533 + '301': *334 '404': *6 - '410': *329 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -78469,9 +78510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -78531,12 +78572,12 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 - '301': *332 + default: *533 + '301': *334 '404': *6 - '410': *329 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -78553,15 +78594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 responses: '204': description: Response - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78580,9 +78621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: name in: path required: true @@ -78595,7 +78636,7 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: default: value: @@ -78606,9 +78647,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *332 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78628,9 +78669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: false content: @@ -78658,7 +78699,7 @@ paths: '204': description: Response '403': *29 - '410': *329 + '410': *331 '404': *6 '422': *15 x-github: @@ -78676,9 +78717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 responses: '204': description: Response @@ -78708,9 +78749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 responses: '200': description: Response @@ -78718,10 +78759,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *528 + '301': *334 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78738,9 +78779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -78766,13 +78807,13 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78790,9 +78831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -78824,16 +78865,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -78855,10 +78896,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *323 - - *324 - - *527 - - *319 + - *325 + - *326 + - *529 + - *321 responses: '204': description: Response @@ -78887,9 +78928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -78913,7 +78954,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -78946,9 +78987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -78960,11 +79001,11 @@ paths: type: array items: *82 examples: - default: *529 + default: *531 headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78992,9 +79033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -79023,14 +79064,14 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *329 + '410': *331 '422': *15 '404': *6 x-github: @@ -79050,9 +79091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 requestBody: required: true content: @@ -79085,7 +79126,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *528 '403': *29 '404': *6 '422': *7 @@ -79107,9 +79148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *323 - - *324 - - *527 + - *325 + - *326 + - *529 - *17 - *19 responses: @@ -79124,8 +79165,6 @@ paths: description: Timeline Event type: object anyOf: - - *532 - - *533 - *534 - *535 - *536 @@ -79137,6 +79176,8 @@ paths: - *542 - *543 - *544 + - *545 + - *546 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79445,7 +79486,7 @@ paths: type: string comments: type: array - items: &566 + items: &568 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79654,7 +79695,7 @@ paths: type: string comments: type: array - items: *455 + items: *457 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -79943,7 +79984,7 @@ paths: headers: Link: *54 '404': *6 - '410': *329 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79960,8 +80001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -79971,7 +80012,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80037,8 +80078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80074,9 +80115,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: &546 + default: &548 value: id: 1 key: ssh-rsa AAA... @@ -80110,9 +80151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *323 - - *324 - - &547 + - *325 + - *326 + - &549 name: key_id description: The unique identifier of the key. in: path @@ -80124,9 +80165,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -80144,9 +80185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *323 - - *324 - - *547 + - *325 + - *326 + - *549 responses: '204': description: Response @@ -80166,8 +80207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -80177,9 +80218,9 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 + default: *533 headers: Link: *54 '404': *6 @@ -80200,8 +80241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80237,9 +80278,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &548 + default: &550 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80271,8 +80312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *323 - - *324 + - *325 + - *326 - name: name in: path required: true @@ -80283,9 +80324,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *548 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -80302,8 +80343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *323 - - *324 + - *325 + - *326 - name: name in: path required: true @@ -80342,7 +80383,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -80368,8 +80409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *323 - - *324 + - *325 + - *326 - name: name in: path required: true @@ -80395,8 +80436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -80435,9 +80476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *323 - - *324 - - *431 + - *325 + - *326 + - *433 responses: '200': description: Response @@ -80582,8 +80623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80648,8 +80689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80683,9 +80724,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *458 examples: - default: *549 + default: *551 '204': description: Response when already merged '404': @@ -80710,8 +80751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *323 - - *324 + - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80752,12 +80793,12 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 examples: default: value: @@ -80813,8 +80854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -80854,9 +80895,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &551 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -80915,9 +80956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *323 - - *324 - - &552 + - *325 + - *326 + - &554 name: milestone_number description: The number that identifies the milestone. in: path @@ -80929,9 +80970,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *551 + default: *553 '404': *6 x-github: githubCloudOnly: false @@ -80948,9 +80989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *323 - - *324 - - *552 + - *325 + - *326 + - *554 requestBody: required: false content: @@ -80988,9 +81029,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *551 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81006,9 +81047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *323 - - *324 - - *552 + - *325 + - *326 + - *554 responses: '204': description: Response @@ -81029,9 +81070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *323 - - *324 - - *552 + - *325 + - *326 + - *554 - *17 - *19 responses: @@ -81041,9 +81082,9 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 + default: *533 headers: Link: *54 x-github: @@ -81062,12 +81103,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *323 - - *324 - - *553 - - *554 - - *72 + - *325 + - *326 - *555 + - *556 + - *72 + - *557 - *17 - *19 responses: @@ -81079,7 +81120,7 @@ paths: type: array items: *95 examples: - default: *556 + default: *558 headers: Link: *54 x-github: @@ -81103,8 +81144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -81162,14 +81203,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &557 + schema: &559 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81294,7 +81335,7 @@ paths: - custom_404 - public examples: - default: &558 + default: &560 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81335,8 +81376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -81390,9 +81431,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *558 + default: *560 '422': *15 '409': *47 x-github: @@ -81415,8 +81456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -81515,8 +81556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -81542,8 +81583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -81553,7 +81594,7 @@ paths: application/json: schema: type: array - items: &559 + items: &561 title: Page Build description: Page Build type: object @@ -81647,8 +81688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *323 - - *324 + - *325 + - *326 responses: '201': description: Response @@ -81693,16 +81734,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: &560 + default: &562 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81750,8 +81791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *323 - - *324 + - *325 + - *326 - name: build_id in: path required: true @@ -81762,9 +81803,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81784,8 +81825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -81890,9 +81931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *323 - - *324 - - &561 + - *325 + - *326 + - &563 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -81950,11 +81991,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *323 - - *324 - - *561 + - *325 + - *326 + - *563 responses: - '204': *170 + '204': *172 '404': *6 x-github: githubCloudOnly: false @@ -81979,8 +82020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -82211,7 +82252,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -82238,8 +82279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82276,10 +82317,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82298,10 +82339,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82322,8 +82363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *323 - - *324 + - *325 + - *326 - name: state description: Indicates the state of the projects to return. in: query @@ -82344,7 +82385,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -82384,7 +82425,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82407,8 +82448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -82434,13 +82475,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *330 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82463,8 +82504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -82474,7 +82515,7 @@ paths: type: array items: *102 examples: - default: *562 + default: *564 '403': *29 '404': *6 x-github: @@ -82496,8 +82537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -82513,7 +82554,7 @@ paths: required: - properties examples: - default: *563 + default: *565 responses: '204': description: No Content when custom property values are successfully created @@ -82551,8 +82592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *323 - - *324 + - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82612,9 +82653,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *564 + default: *566 headers: Link: *54 '304': *37 @@ -82646,8 +82687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -82712,7 +82753,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &570 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82823,8 +82864,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 nullable: true active_lock_reason: type: string @@ -82869,7 +82910,7 @@ paths: nullable: true requested_teams: type: array - items: *301 + items: *303 nullable: true head: type: object @@ -82908,14 +82949,14 @@ paths: _links: type: object properties: - comments: *256 - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + comments: *258 + commits: *258 + statuses: *258 + html: *258 + issue: *258 + review_comments: *258 + review_comment: *258 + self: *258 required: - comments - commits @@ -82926,7 +82967,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *565 + auto_merge: *567 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83018,7 +83059,7 @@ paths: - merged_by - review_comments examples: - default: &569 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83545,8 +83586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: sort in: query required: false @@ -83575,9 +83616,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: &571 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83654,17 +83695,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '200': description: Response content: application/json: - schema: *566 + schema: *568 examples: - default: &567 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83739,8 +83780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -83763,9 +83804,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: - default: *567 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83781,8 +83822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 + - *325 + - *326 - *81 responses: '204': @@ -83804,8 +83845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -83832,9 +83873,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -83855,8 +83896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *323 - - *324 + - *325 + - *326 - *81 requestBody: required: true @@ -83889,16 +83930,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -83920,10 +83961,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *323 - - *324 + - *325 + - *326 - *81 - - *319 + - *321 responses: '204': description: Response @@ -83966,9 +84007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *323 - - *324 - - &570 + - *325 + - *326 + - &572 name: pull_number description: The number that identifies the pull request. in: path @@ -83981,9 +84022,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '304': *37 '404': *6 '406': @@ -84018,9 +84059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -84062,9 +84103,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '422': *15 '403': *29 x-github: @@ -84086,9 +84127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: true content: @@ -84148,17 +84189,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '401': *25 '403': *29 '404': *6 @@ -84188,9 +84229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84211,9 +84252,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: *571 + default: *573 headers: Link: *54 x-github: @@ -84246,9 +84287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: true content: @@ -84353,7 +84394,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: example-for-a-multi-line-comment: value: @@ -84441,9 +84482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *81 requestBody: required: true @@ -84466,7 +84507,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -84552,9 +84593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *17 - *19 responses: @@ -84564,9 +84605,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: *572 + default: *574 headers: Link: *54 x-github: @@ -84596,9 +84637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *17 - *19 responses: @@ -84608,7 +84649,7 @@ paths: application/json: schema: type: array - items: *469 + items: *471 examples: default: value: @@ -84646,9 +84687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 responses: '204': description: Response if pull request has been merged @@ -84671,9 +84712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -84784,9 +84825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 responses: '200': description: Response @@ -84802,7 +84843,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 required: - users - teams @@ -84861,9 +84902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -84900,7 +84941,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -85436,9 +85477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: true content: @@ -85472,7 +85513,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -85977,9 +86018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 - *17 - *19 responses: @@ -85989,7 +86030,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86140,9 +86181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -86228,9 +86269,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: &575 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86293,10 +86334,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - &574 + - *325 + - *326 + - *572 + - &576 name: review_id description: The unique identifier of the review. in: path @@ -86308,9 +86349,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86369,10 +86410,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 requestBody: required: true content: @@ -86395,7 +86436,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -86457,18 +86498,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 responses: '200': description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: *575 + default: *577 '422': *7 '404': *6 x-github: @@ -86495,10 +86536,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 - *17 - *19 responses: @@ -86581,9 +86622,9 @@ paths: _links: type: object properties: - self: *256 - html: *256 - pull_request: *256 + self: *258 + html: *258 + pull_request: *258 required: - self - html @@ -86733,10 +86774,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 requestBody: required: true content: @@ -86764,7 +86805,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -86827,10 +86868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *323 - - *324 - - *570 - - *574 + - *325 + - *326 + - *572 + - *576 requestBody: required: true content: @@ -86865,9 +86906,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: - default: *576 + default: *578 '404': *6 '422': *7 '403': *29 @@ -86889,9 +86930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *323 - - *324 - - *570 + - *325 + - *326 + - *572 requestBody: required: false content: @@ -86954,8 +86995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *323 - - *324 + - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86968,9 +87009,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: &578 + default: &580 value: type: file encoding: base64 @@ -87012,8 +87053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *323 - - *324 + - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87033,9 +87074,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 '404': *6 '422': *15 x-github: @@ -87057,8 +87098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -87068,7 +87109,7 @@ paths: application/json: schema: type: array - items: &579 + items: &581 title: Release description: A release. type: object @@ -87139,7 +87180,7 @@ paths: author: *4 assets: type: array - items: &580 + items: &582 title: Release Asset description: Data related to a release. type: object @@ -87326,8 +87367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -87403,9 +87444,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: &583 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87510,9 +87551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *323 - - *324 - - &581 + - *325 + - *326 + - &583 name: asset_id description: The unique identifier of the asset. in: path @@ -87524,9 +87565,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &582 + default: &584 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 @@ -87561,7 +87602,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87577,9 +87618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *323 - - *324 - - *581 + - *325 + - *326 + - *583 requestBody: required: false content: @@ -87607,9 +87648,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *582 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87625,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *323 - - *324 - - *581 + - *325 + - *326 + - *583 responses: '204': description: Response @@ -87651,8 +87692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -87737,16 +87778,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87763,8 +87804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *323 - - *324 + - *325 + - *326 - name: tag description: tag parameter in: path @@ -87777,9 +87818,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -87801,9 +87842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *323 - - *324 - - &584 + - *325 + - *326 + - &586 name: release_id description: The unique identifier of the release. in: path @@ -87817,9 +87858,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 '401': description: Unauthorized x-github: @@ -87837,9 +87878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 requestBody: required: false content: @@ -87903,9 +87944,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *583 + default: *585 '404': description: Not Found if the discussion category name is invalid content: @@ -87926,9 +87967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 responses: '204': description: Response @@ -87948,9 +87989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 - *17 - *19 responses: @@ -87960,7 +88001,7 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: default: value: @@ -88041,9 +88082,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: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 - name: name in: query required: true @@ -88069,7 +88110,7 @@ paths: description: Response for successful upload content: application/json: - schema: *580 + schema: *582 examples: response-for-successful-upload: value: @@ -88124,9 +88165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88150,9 +88191,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 '404': *6 @@ -88173,9 +88214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *323 - - *324 - - *584 + - *325 + - *326 + - *586 requestBody: required: true content: @@ -88205,16 +88246,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '201': description: Reaction created content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -88236,10 +88277,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *323 - - *324 - - *584 - - *319 + - *325 + - *326 + - *586 + - *321 responses: '204': description: Response @@ -88263,9 +88304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *323 - - *324 - - *393 + - *325 + - *326 + - *395 - *17 - *19 responses: @@ -88281,8 +88322,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *274 - - &585 + - *276 + - &587 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88301,69 +88342,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *275 - - *585 - - allOf: - - *276 - - *585 - allOf: - *277 - - *585 - - allOf: - - *586 - - *585 + - *587 - allOf: - *278 - - *585 + - *587 - allOf: - *279 - - *585 + - *587 + - allOf: + - *588 + - *587 - allOf: - *280 - - *585 + - *587 - allOf: - *281 - - *585 + - *587 - allOf: - *282 - - *585 + - *587 - allOf: - *283 - - *585 + - *587 - allOf: - *284 - - *585 + - *587 - allOf: - *285 - - *585 + - *587 - allOf: - *286 - - *585 + - *587 - allOf: - *287 - - *585 + - *587 - allOf: - *288 - - *585 + - *587 - allOf: - *289 - - *585 + - *587 - allOf: - *290 - - *585 + - *587 - allOf: - *291 - - *585 + - *587 - allOf: - *292 - - *585 + - *587 - allOf: - *293 - - *585 + - *587 + - allOf: + - *294 + - *587 - allOf: + - *295 + - *587 + - allOf: + - *589 - *587 - - *585 examples: default: value: @@ -88402,8 +88443,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88414,7 +88455,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -88422,7 +88463,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -88469,8 +88510,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 requestBody: description: Request body required: true @@ -88490,16 +88531,16 @@ paths: - tag - push default: branch - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *274 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *591 required: - name - enforcement @@ -88530,9 +88571,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: &599 + default: &601 value: id: 42 name: super cool ruleset @@ -88579,12 +88620,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *323 - - *324 - - *590 - - *591 + - *325 + - *326 - *592 - *593 + - *594 + - *595 - *17 - *19 responses: @@ -88592,9 +88633,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 '404': *6 '500': *103 x-github: @@ -88615,17 +88656,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *323 - - *324 - - *596 + - *325 + - *326 + - *598 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 '404': *6 '500': *103 x-github: @@ -88653,8 +88694,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88674,9 +88715,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *599 + default: *601 '404': *6 '500': *103 put: @@ -88694,8 +88735,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88720,16 +88761,16 @@ paths: - branch - tag - push - enforcement: *271 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *274 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *591 examples: default: value: @@ -88757,9 +88798,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *599 + default: *601 '404': *6 '500': *103 delete: @@ -88777,8 +88818,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88801,8 +88842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -88818,9 +88859,9 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *600 + default: *602 '404': *6 '500': *103 x-github: @@ -88839,8 +88880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *323 - - *324 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88858,7 +88899,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -88913,21 +88954,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *323 - - *324 - - *602 - - *603 + - *325 + - *326 - *604 - *605 + - *606 + - *607 - *48 - *19 - *17 - - *606 - - *607 - *608 - *609 - *610 - *611 + - *612 + - *613 responses: '200': description: Response @@ -88935,11 +88976,11 @@ paths: application/json: schema: type: array - items: &615 + items: &617 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -88947,15 +88988,15 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *612 - resolution: *613 + state: *614 + resolution: *615 resolved_at: type: string format: date-time @@ -89051,7 +89092,7 @@ paths: pull request. ' - oneOf: *614 + oneOf: *616 nullable: true has_more_locations: type: boolean @@ -89200,16 +89241,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *323 - - *324 - - *425 - - *611 + - *325 + - *326 + - *427 + - *613 responses: '200': description: Response content: application/json: - schema: *615 + schema: *617 examples: default: value: @@ -89261,9 +89302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 requestBody: required: true content: @@ -89271,8 +89312,8 @@ paths: schema: type: object properties: - state: *612 - resolution: *613 + state: *614 + resolution: *615 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89290,7 +89331,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: default: value: @@ -89365,9 +89406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *323 - - *324 - - *425 + - *325 + - *326 + - *427 - *19 - *17 responses: @@ -89378,7 +89419,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &773 + items: &774 type: object properties: type: @@ -89404,8 +89445,6 @@ paths: example: commit details: oneOf: - - *616 - - *617 - *618 - *619 - *620 @@ -89417,6 +89456,8 @@ paths: - *626 - *627 - *628 + - *629 + - *630 examples: default: value: @@ -89502,8 +89543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -89511,14 +89552,14 @@ paths: schema: type: object properties: - reason: &630 + reason: &632 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *629 + placeholder_id: *631 required: - reason - placeholder_id @@ -89535,7 +89576,7 @@ paths: schema: type: object properties: - reason: *630 + reason: *632 expire_at: type: string format: date-time @@ -89581,8 +89622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89597,7 +89638,7 @@ paths: properties: incremental_scans: type: array - items: &631 + items: &633 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89623,15 +89664,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *631 + items: *633 backfill_scans: type: array - items: *631 + items: *633 custom_pattern_backfill_scans: type: array items: allOf: - - *631 + - *633 - type: object properties: pattern_name: @@ -89701,8 +89742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *323 - - *324 + - *325 + - *326 - *48 - name: sort description: The property to sort the results by. @@ -89746,9 +89787,9 @@ paths: application/json: schema: type: array - items: *632 + items: *634 examples: - default: *633 + default: *635 '400': *14 '404': *6 x-github: @@ -89771,8 +89812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -89845,7 +89886,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *302 required: - login - type @@ -89932,9 +89973,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: &635 + default: &637 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90167,8 +90208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -90272,7 +90313,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: default: value: @@ -90419,17 +90460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 responses: '200': description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *635 + default: *637 '403': *29 '404': *6 x-github: @@ -90453,9 +90494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 requestBody: required: true content: @@ -90528,7 +90569,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *302 required: - login - type @@ -90614,17 +90655,17 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *635 - add_credit: *635 + default: *637 + add_credit: *637 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *109 + schema: *111 examples: invalid_state_transition: value: @@ -90655,9 +90696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 responses: '202': *39 '400': *14 @@ -90684,17 +90725,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *323 - - *324 - - *634 + - *325 + - *326 + - *636 responses: '202': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 '400': *14 '422': *15 '403': *29 @@ -90720,8 +90761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -90820,8 +90861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90830,7 +90871,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90843,7 +90884,7 @@ paths: - 1124 - -435 '202': *39 - '204': *170 + '204': *172 '422': description: Repository contains more than 10,000 commits x-github: @@ -90863,8 +90904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -90913,7 +90954,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90940,8 +90981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -91015,7 +91056,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91037,8 +91078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91192,8 +91233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91203,7 +91244,7 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: default: value: @@ -91216,7 +91257,7 @@ paths: - - 0 - 2 - 21 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91236,8 +91277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *323 - - *324 + - *325 + - *326 - name: sha in: path required: true @@ -91291,7 +91332,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: default: value: @@ -91345,8 +91386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -91378,14 +91419,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &638 + schema: &640 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91453,8 +91494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: false content: @@ -91480,7 +91521,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *640 examples: default: value: @@ -91507,8 +91548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -91528,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -91608,8 +91649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -91617,7 +91658,7 @@ paths: application/json: schema: type: array - items: &639 + items: &641 title: Tag protection description: Tag protection type: object @@ -91669,8 +91710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -91693,7 +91734,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *641 examples: default: value: @@ -91724,8 +91765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91762,8 +91803,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *323 - - *324 + - *325 + - *326 - name: ref in: path required: true @@ -91799,8 +91840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *323 - - *324 + - *325 + - *326 - *17 - *19 responses: @@ -91810,9 +91851,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '404': *6 @@ -91832,8 +91873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *323 - - *324 + - *325 + - *326 - *19 - *17 responses: @@ -91841,7 +91882,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &642 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -91853,7 +91894,7 @@ paths: required: - names examples: - default: &641 + default: &643 value: names: - octocat @@ -91876,8 +91917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -91908,9 +91949,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *641 + default: *643 '404': *6 '422': *7 x-github: @@ -91931,9 +91972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *323 - - *324 - - &642 + - *325 + - *326 + - &644 name: per description: The time frame to display results for. in: query @@ -91962,7 +92003,7 @@ paths: example: 128 clones: type: array - items: &643 + items: &645 title: Traffic type: object properties: @@ -92049,8 +92090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -92140,8 +92181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *323 - - *324 + - *325 + - *326 responses: '200': description: Response @@ -92201,9 +92242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *323 - - *324 - - *642 + - *325 + - *326 + - *644 responses: '200': description: Response @@ -92222,7 +92263,7 @@ paths: example: 3782 views: type: array - items: *643 + items: *645 required: - uniques - count @@ -92299,8 +92340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *323 - - *324 + - *325 + - *326 requestBody: required: true content: @@ -92336,7 +92377,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -92574,8 +92615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92598,8 +92639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -92621,8 +92662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -92648,8 +92689,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *323 - - *324 + - *325 + - *326 - name: ref in: path required: true @@ -92741,9 +92782,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92784,7 +92825,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -92973,7 +93014,7 @@ paths: html_url: type: string format: uri - repository: *140 + repository: *142 score: type: number file_size: @@ -92991,7 +93032,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &646 title: Search Result Text Matches type: array items: @@ -93153,7 +93194,7 @@ paths: enum: - author-date - committer-date - - &645 + - &647 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 @@ -93224,7 +93265,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *393 nullable: true comment_count: type: integer @@ -93244,7 +93285,7 @@ paths: url: type: string format: uri - verification: *507 + verification: *509 required: - author - committer @@ -93263,7 +93304,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *393 nullable: true parents: type: array @@ -93276,12 +93317,12 @@ paths: type: string sha: type: string - repository: *140 + repository: *142 score: type: number node_id: type: string - text_matches: *644 + text_matches: *646 required: - sha - node_id @@ -93473,7 +93514,7 @@ paths: - interactions - created - updated - - *645 + - *647 - *17 - *19 - name: advanced_search @@ -93570,11 +93611,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: type: string state_reason: @@ -93591,8 +93632,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *256 + required: *257 nullable: true comments: type: integer @@ -93606,7 +93647,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *646 pull_request: type: object properties: @@ -93650,7 +93691,7 @@ paths: timeline_url: type: string format: uri - type: *214 + type: *216 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93831,7 +93872,7 @@ paths: enum: - created - updated - - *645 + - *647 - *17 - *19 responses: @@ -93875,7 +93916,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *646 required: - id - node_id @@ -93960,7 +94001,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *647 - *17 - *19 responses: @@ -94199,7 +94240,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *646 temp_clone_token: type: string allow_merge_commit: @@ -94499,7 +94540,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *646 related: type: array nullable: true @@ -94690,7 +94731,7 @@ paths: - followers - repositories - joined - - *645 + - *647 - *17 - *19 responses: @@ -94794,7 +94835,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *646 blog: type: string nullable: true @@ -94873,7 +94914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &649 + - &651 name: team_id description: The unique identifier of the team. in: path @@ -94885,9 +94926,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -94914,7 +94955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *649 + - *651 requestBody: required: true content: @@ -94977,16 +95018,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '201': description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '403': *29 @@ -95014,7 +95055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *649 + - *651 responses: '204': description: Response @@ -95045,7 +95086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *649 + - *651 - *48 - *17 - *19 @@ -95056,9 +95097,9 @@ paths: application/json: schema: type: array - items: *310 + items: *312 examples: - default: *650 + default: *652 headers: Link: *54 x-github: @@ -95087,7 +95128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *649 + - *651 requestBody: required: true content: @@ -95121,9 +95162,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *311 + default: *313 x-github: triggersNotification: true githubCloudOnly: false @@ -95150,16 +95191,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 responses: '200': description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95184,8 +95225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 requestBody: required: false content: @@ -95208,9 +95249,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *312 examples: - default: *651 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95235,8 +95276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 responses: '204': description: Response @@ -95265,8 +95306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *649 - - *312 + - *651 + - *314 - *48 - *17 - *19 @@ -95277,9 +95318,9 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: - default: *652 + default: *654 headers: Link: *54 x-github: @@ -95308,8 +95349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *649 - - *312 + - *651 + - *314 requestBody: required: true content: @@ -95331,9 +95372,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *314 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95360,17 +95401,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *314 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95395,9 +95436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 requestBody: required: true content: @@ -95419,9 +95460,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *653 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95446,9 +95487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 responses: '204': description: Response @@ -95477,9 +95518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -95505,9 +95546,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 x-github: @@ -95536,9 +95577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *651 + - *314 + - *317 requestBody: required: true content: @@ -95570,9 +95611,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95598,8 +95639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -95625,9 +95666,9 @@ paths: application/json: schema: type: array - items: *316 + items: *318 examples: - default: *318 + default: *320 headers: Link: *54 x-github: @@ -95656,8 +95697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *651 + - *314 requestBody: required: true content: @@ -95689,9 +95730,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95715,7 +95756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -95725,9 +95766,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -95753,7 +95794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *649 + - *651 - name: role description: Filters members returned by their role in the team. in: query @@ -95804,7 +95845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -95841,7 +95882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -95881,7 +95922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -95918,16 +95959,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *649 + - *651 - *59 responses: '200': description: Response content: application/json: - schema: *320 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *654 + response-if-user-is-a-team-maintainer: *656 '404': *6 x-github: githubCloudOnly: false @@ -95960,7 +96001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *649 + - *651 - *59 requestBody: required: false @@ -95986,9 +96027,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *655 + response-if-users-membership-with-team-is-now-pending: *657 '403': description: Forbidden if team synchronization is set up '422': @@ -96022,7 +96063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *649 + - *651 - *59 responses: '204': @@ -96051,7 +96092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -96061,9 +96102,9 @@ paths: application/json: schema: type: array - items: *321 + items: *323 examples: - default: *656 + default: *658 headers: Link: *54 '404': *6 @@ -96089,16 +96130,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *649 - - *322 + - *651 + - *324 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *657 + default: *659 '404': description: Not Found if project is not managed by this team x-github: @@ -96122,8 +96163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *649 - - *322 + - *651 + - *324 requestBody: required: false content: @@ -96190,8 +96231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *649 - - *322 + - *651 + - *324 responses: '204': description: Response @@ -96218,7 +96259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -96228,9 +96269,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -96260,15 +96301,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *649 - - *323 - - *324 + - *651 + - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *658 + schema: *660 examples: alternative-response-with-extra-repository-information: value: @@ -96419,9 +96460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *649 - - *323 - - *324 + - *651 + - *325 + - *326 requestBody: required: false content: @@ -96471,9 +96512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *649 - - *323 - - *324 + - *651 + - *325 + - *326 responses: '204': description: Response @@ -96498,7 +96539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *649 + - *651 - *17 - *19 responses: @@ -96508,9 +96549,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: *659 + response-if-child-teams-exist: *661 headers: Link: *54 '404': *6 @@ -96543,7 +96584,7 @@ paths: application/json: schema: oneOf: - - &661 + - &663 title: Private User description: Private User type: object @@ -96746,7 +96787,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *660 + - *662 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96899,7 +96940,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *663 examples: default: value: @@ -97102,9 +97143,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -97243,17 +97284,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '401': *25 '403': *29 '404': *6 @@ -97297,7 +97338,7 @@ paths: type: integer secrets: type: array - items: &662 + items: &664 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97337,7 +97378,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *450 headers: Link: *54 x-github: @@ -97407,13 +97448,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *662 + schema: *664 examples: default: value: @@ -97443,7 +97484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 requestBody: required: true content: @@ -97488,7 +97529,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -97516,7 +97557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '204': description: Response @@ -97541,7 +97582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 responses: '200': description: Response @@ -97557,9 +97598,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *663 + default: *665 '401': *25 '403': *29 '404': *6 @@ -97584,7 +97625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 requestBody: required: true content: @@ -97638,7 +97679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97671,7 +97712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97703,15 +97744,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '304': *37 '500': *103 '401': *25 @@ -97737,7 +97778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 requestBody: required: false content: @@ -97767,9 +97808,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '401': *25 '403': *29 '404': *6 @@ -97791,7 +97832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': *39 '304': *37 @@ -97820,13 +97861,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': description: Response content: application/json: - schema: &664 + schema: &666 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97867,7 +97908,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &665 + default: &667 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97899,7 +97940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *221 + - *223 - name: export_id in: path required: true @@ -97912,9 +97953,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *666 examples: - default: *665 + default: *667 '404': *6 x-github: githubCloudOnly: false @@ -97935,7 +97976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *221 + - *223 responses: '200': description: Response @@ -97951,9 +97992,9 @@ paths: type: integer machines: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 '304': *37 '500': *103 '401': *25 @@ -97982,7 +98023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *221 + - *223 requestBody: required: true content: @@ -98032,13 +98073,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *331 + repository: *333 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *448 + required: *449 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98812,15 +98853,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '304': *37 '500': *103 '400': *14 @@ -98852,15 +98893,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *447 '500': *103 '401': *25 '403': *29 @@ -98890,9 +98931,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: &678 + default: &680 value: - id: 197 name: hello_docker @@ -98993,7 +99034,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: Email description: Email type: object @@ -99058,9 +99099,9 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: - default: &680 + default: &682 value: - email: octocat@github.com verified: true @@ -99135,7 +99176,7 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: default: value: @@ -99391,7 +99432,7 @@ paths: application/json: schema: type: array - items: &669 + items: &671 title: GPG Key description: A unique encryption key type: object @@ -99522,7 +99563,7 @@ paths: - subkeys - revoked examples: - default: &694 + default: &696 value: - id: 3 name: Octocat's GPG Key @@ -99607,9 +99648,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: &670 + default: &672 value: id: 3 name: Octocat's GPG Key @@ -99666,7 +99707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &673 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99678,9 +99719,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 '404': *6 '304': *37 '403': *29 @@ -99703,7 +99744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *673 responses: '204': description: Response @@ -99894,7 +99935,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 headers: Link: *54 '404': *6 @@ -99919,7 +99960,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99945,7 +99986,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99979,12 +100020,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: *210 + default: *212 '204': description: Response when there are no restrictions x-github: @@ -100008,7 +100049,7 @@ paths: required: true content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -100019,7 +100060,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -100100,7 +100141,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -100125,7 +100166,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -100158,7 +100199,7 @@ paths: application/json: schema: type: array - items: &672 + items: &674 title: Key description: Key type: object @@ -100259,9 +100300,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *674 examples: - default: &673 + default: &675 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100294,15 +100335,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *549 responses: '200': description: Response content: application/json: - schema: *672 + schema: *674 examples: - default: *673 + default: *675 '404': *6 '304': *37 '403': *29 @@ -100325,7 +100366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *549 responses: '204': description: Response @@ -100358,7 +100399,7 @@ paths: application/json: schema: type: array - items: &674 + items: &676 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100426,7 +100467,7 @@ paths: - account - plan examples: - default: &675 + default: &677 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100488,9 +100529,9 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: - default: *675 + default: *677 headers: Link: *54 '304': *37 @@ -100530,7 +100571,7 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: default: value: @@ -100638,7 +100679,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100721,7 +100762,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100789,7 +100830,7 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: default: value: @@ -101042,7 +101083,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101222,7 +101263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *226 + - *228 - name: exclude in: query required: false @@ -101235,7 +101276,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101429,7 +101470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *226 + - *228 responses: '302': description: Response @@ -101455,7 +101496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *226 + - *228 responses: '204': description: Response @@ -101484,8 +101525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *226 - - *676 + - *228 + - *678 responses: '204': description: Response @@ -101509,7 +101550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *226 + - *228 - *17 - *19 responses: @@ -101519,9 +101560,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -101600,7 +101641,7 @@ paths: - docker - nuget - container - - *677 + - *679 - *19 - *17 responses: @@ -101610,10 +101651,10 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 - '400': *679 + default: *680 + '400': *681 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101633,16 +101674,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: &695 + default: &697 value: id: 40201 name: octo-name @@ -101755,8 +101796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '204': description: Response @@ -101786,8 +101827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 - name: token description: package token schema: @@ -101819,8 +101860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 - *19 - *17 - name: state @@ -101840,7 +101881,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -101889,15 +101930,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -101933,9 +101974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -101965,9 +102006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -102023,7 +102064,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -102095,9 +102136,9 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: - default: *680 + default: *682 headers: Link: *54 '304': *37 @@ -102210,7 +102251,7 @@ paths: type: array items: *66 examples: - default: &687 + default: &689 summary: Default response value: - id: 1296269 @@ -102514,9 +102555,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *333 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102554,9 +102595,9 @@ paths: application/json: schema: type: array - items: *520 + items: *522 examples: - default: *681 + default: *683 headers: Link: *54 '304': *37 @@ -102579,7 +102620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102602,7 +102643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102635,7 +102676,7 @@ paths: application/json: schema: type: array - items: &682 + items: &684 title: Social account description: Social media account type: object @@ -102650,7 +102691,7 @@ paths: - provider - url examples: - default: &683 + default: &685 value: - provider: twitter url: https://twitter.com/github @@ -102712,9 +102753,9 @@ paths: application/json: schema: type: array - items: *682 + items: *684 examples: - default: *683 + default: *685 '422': *15 '304': *37 '404': *6 @@ -102801,7 +102842,7 @@ paths: application/json: schema: type: array - items: &684 + items: &686 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102821,7 +102862,7 @@ paths: - title - created_at examples: - default: &709 + default: &710 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102887,9 +102928,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *686 examples: - default: &685 + default: &687 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102920,7 +102961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &686 + - &688 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102932,9 +102973,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *686 examples: - default: *685 + default: *687 '404': *6 '304': *37 '403': *29 @@ -102957,7 +102998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *686 + - *688 responses: '204': description: Response @@ -102986,7 +103027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &710 + - &711 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 @@ -103011,11 +103052,11 @@ paths: type: array items: *66 examples: - default-response: *687 + default-response: *689 application/vnd.github.v3.star+json: schema: type: array - items: &711 + items: &712 title: Starred Repository description: Starred Repository type: object @@ -103171,8 +103212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -103200,8 +103241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -103225,8 +103266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *323 - - *324 + - *325 + - *326 responses: '204': description: Response @@ -103259,9 +103300,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '304': *37 @@ -103298,7 +103339,7 @@ paths: application/json: schema: type: array - items: *308 + items: *310 examples: default: value: @@ -103384,10 +103425,10 @@ paths: application/json: schema: oneOf: - - *661 - - *660 + - *663 + - *662 examples: - default-response: &689 + default-response: &691 summary: Default response value: login: octocat @@ -103422,7 +103463,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &690 + response-with-git-hub-plan-information: &692 summary: Response with GitHub plan information value: login: octocat @@ -103482,7 +103523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *688 + - *690 - *17 responses: '200': @@ -103531,11 +103572,11 @@ paths: application/json: schema: oneOf: - - *661 - - *660 + - *663 + - *662 examples: - default-response: *689 - response-with-git-hub-plan-information: *690 + default-response: *691 + response-with-git-hub-plan-information: *692 '404': *6 x-github: githubCloudOnly: false @@ -103585,8 +103626,8 @@ paths: required: - subject_digests examples: - default: *691 - withPredicateType: *692 + default: *693 + withPredicateType: *694 responses: '200': description: Response @@ -103639,7 +103680,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *693 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103844,12 +103885,12 @@ paths: initiator: type: string examples: - default: *387 + default: *389 '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -103883,9 +103924,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *680 '403': *29 '401': *25 x-github: @@ -104269,9 +104310,9 @@ paths: application/json: schema: type: array - items: *669 + items: *671 examples: - default: *694 + default: *696 headers: Link: *54 x-github: @@ -104375,7 +104416,7 @@ paths: application/json: schema: *22 examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104499,7 +104540,7 @@ paths: - docker - nuget - container - - *677 + - *679 - *59 - *19 - *17 @@ -104510,12 +104551,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *680 '403': *29 '401': *25 - '400': *679 + '400': *681 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104535,17 +104576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *695 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104566,8 +104607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '204': @@ -104600,8 +104641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 - name: token description: package token @@ -104634,8 +104675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': @@ -104644,7 +104685,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -104702,16 +104743,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 - *59 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -104746,10 +104787,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104781,10 +104822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104831,7 +104872,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -104906,9 +104947,9 @@ paths: application/json: schema: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104930,16 +104971,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *251 + - *253 - *59 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104961,7 +105002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *251 + - *253 - *59 - *17 - *40 @@ -104973,9 +105014,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *255 headers: Link: *54 '304': *37 @@ -104997,17 +105038,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *251 - - *696 + - *253 + - *698 - *59 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *54 '304': *37 @@ -105030,7 +105071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - *40 - *41 @@ -105063,9 +105104,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 headers: Link: *54 '304': *37 @@ -105087,7 +105128,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *59 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -105124,10 +105165,10 @@ paths: description: Response content: application/json: - schema: *697 + schema: *699 examples: - issue: *258 - pull_request: *258 + issue: *260 + pull_request: *260 '304': *37 '403': *29 '401': *25 @@ -105147,9 +105188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - - *261 + - *263 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105169,9 +105210,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 headers: Link: *54 '304': *37 @@ -105192,9 +105233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *263 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105264,13 +105305,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *262 + number_field: *262 + date_field: *262 + single_select_field: *262 + iteration_field: *262 '401': *25 '403': *29 '404': *6 @@ -105290,9 +105331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *263 responses: '204': description: Response @@ -105510,9 +105551,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -105542,9 +105583,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *700 examples: - default: *699 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105572,9 +105613,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *702 examples: - default: *701 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105596,10 +105637,10 @@ paths: parameters: - *59 - *105 - - *702 + - *107 - *106 - - *703 - *704 + - *108 responses: '200': description: Response when getting a billing premium request usage report @@ -105761,7 +105802,6 @@ paths: - *105 - *707 - *106 - - *708 responses: '200': description: Response when getting a billing usage report @@ -105838,6 +105878,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - *59 + - *105 + - *107 + - *106 + - *708 + - *108 + - *709 + responses: + '200': + description: Response when getting a billing usage summary 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -105860,9 +106035,9 @@ paths: application/json: schema: type: array - items: *682 + items: *684 examples: - default: *683 + default: *685 headers: Link: *54 x-github: @@ -105892,9 +106067,9 @@ paths: application/json: schema: type: array - items: *684 + items: *686 examples: - default: *709 + default: *710 headers: Link: *54 x-github: @@ -105919,7 +106094,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *710 + - *711 - *48 - *17 - *19 @@ -105931,11 +106106,11 @@ paths: schema: anyOf: - type: array - items: *711 + items: *712 - type: array items: *66 examples: - default-response: *687 + default-response: *689 headers: Link: *54 x-github: @@ -105964,9 +106139,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -106094,7 +106269,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &712 + enterprise: &713 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106152,7 +106327,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &713 + installation: &714 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106171,7 +106346,7 @@ x-webhooks: required: - id - node_id - organization: &714 + organization: &715 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106231,13 +106406,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &715 + repository: &716 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &745 + properties: &746 id: description: Unique identifier of the repository example: 42 @@ -106920,7 +107095,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &746 + required: &747 - archive_url - assignees_url - blobs_url @@ -107071,10 +107246,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -107150,11 +107325,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: &716 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + rule: &717 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) @@ -107377,11 +107552,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + rule: *717 sender: *4 required: - action @@ -107564,11 +107739,11 @@ x-webhooks: - everyone required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + rule: *717 sender: *4 required: - action @@ -107652,7 +107827,7 @@ x-webhooks: type: string enum: - completed - check_run: &718 + check_run: &719 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107705,8 +107880,8 @@ x-webhooks: type: string pull_requests: type: array - items: *404 - repository: *140 + items: *406 + repository: *142 status: example: completed type: string @@ -107743,7 +107918,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *717 + deployment: *718 details_url: example: https://example.com type: string @@ -107793,7 +107968,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *404 + items: *406 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -107828,10 +108003,10 @@ x-webhooks: - output - app - pull_requests - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 sender: *4 required: - check_run @@ -108224,11 +108399,11 @@ x-webhooks: type: string enum: - created - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *719 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 sender: *4 required: - check_run @@ -108624,11 +108799,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *719 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 requested_action: description: The action requested by the user. type: object @@ -109033,11 +109208,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *719 + installation: *714 + enterprise: *713 + organization: *715 + repository: *716 sender: *4 required: - check_run @@ -110014,10 +110189,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -110687,10 +110862,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -111354,10 +111529,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -111523,7 +111698,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111668,20 +111843,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &719 + commit_oid: &720 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: *712 - installation: *713 - organization: *714 - ref: &720 + enterprise: *713 + installation: *714 + organization: *715 + ref: &721 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: *715 + repository: *716 sender: *4 required: - action @@ -111846,7 +112021,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112076,12 +112251,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -112176,7 +112351,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112347,12 +112522,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -112518,7 +112693,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112684,12 +112859,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -112789,7 +112964,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112957,16 +113132,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *715 + repository: *716 sender: *4 required: - action @@ -113063,7 +113238,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113203,12 +113378,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *720 + enterprise: *713 + installation: *714 + organization: *715 + ref: *721 + repository: *716 sender: *4 required: - action @@ -113465,10 +113640,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -113548,18 +113723,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *714 - pusher_type: &721 + organization: *715 + pusher_type: &722 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &722 + ref: &723 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113569,7 +113744,7 @@ x-webhooks: enum: - tag - branch - repository: *715 + repository: *716 sender: *4 required: - ref @@ -113651,10 +113826,10 @@ x-webhooks: type: string enum: - created - definition: *262 - enterprise: *712 - installation: *713 - organization: *714 + definition: *264 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113739,9 +113914,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113818,10 +113993,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *262 - enterprise: *712 - installation: *713 - organization: *714 + definition: *264 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113898,10 +114073,10 @@ x-webhooks: type: string enum: - updated - definition: *262 - enterprise: *712 - installation: *713 - organization: *714 + definition: *264 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -113978,10 +114153,10 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - repository: *715 - organization: *714 + enterprise: *713 + installation: *714 + repository: *716 + organization: *715 sender: *4 new_property_values: type: array @@ -114066,18 +114241,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - pusher_type: *721 - ref: *722 + enterprise: *713 + installation: *714 + organization: *715 + pusher_type: *722 + ref: *723 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *715 + repository: *716 sender: *4 required: - ref @@ -114161,11 +114336,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114249,11 +114424,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114337,11 +114512,11 @@ x-webhooks: type: string enum: - created - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114423,11 +114598,11 @@ x-webhooks: type: string enum: - dismissed - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114509,11 +114684,11 @@ x-webhooks: type: string enum: - fixed - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114596,11 +114771,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114682,11 +114857,11 @@ x-webhooks: type: string enum: - reopened - alert: *476 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *478 + installation: *714 + organization: *715 + enterprise: *713 + repository: *716 sender: *4 required: - action @@ -114763,9 +114938,9 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - key: &723 + enterprise: *713 + installation: *714 + key: &724 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114801,8 +114976,8 @@ x-webhooks: - verified - created_at - read_only - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -114879,11 +115054,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - key: *723 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + key: *724 + organization: *715 + repository: *716 sender: *4 required: - action @@ -115444,12 +115619,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: &727 + workflow: &728 title: Workflow type: object nullable: true @@ -116175,13 +116350,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *482 + deployment: *484 pull_requests: type: array - items: *568 - repository: *715 - organization: *714 - installation: *713 + items: *570 + repository: *716 + organization: *715 + installation: *714 sender: *4 responses: '200': @@ -116252,7 +116427,7 @@ x-webhooks: type: string enum: - approved - approver: &724 + approver: &725 type: object properties: avatar_url: @@ -116295,11 +116470,11 @@ x-webhooks: type: string comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: &725 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + reviewers: &726 type: array items: type: object @@ -116378,7 +116553,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &726 + workflow_job_run: &727 type: object properties: conclusion: @@ -117109,18 +117284,18 @@ x-webhooks: type: string enum: - rejected - approver: *724 + approver: *725 comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: *725 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + reviewers: *726 sender: *4 since: type: string - workflow_job_run: *726 + workflow_job_run: *727 workflow_job_runs: type: array items: @@ -117824,13 +117999,13 @@ x-webhooks: type: string enum: - requested - enterprise: *712 + enterprise: *713 environment: type: string - installation: *713 - organization: *714 - repository: *715 - requestor: &732 + installation: *714 + organization: *715 + repository: *716 + requestor: &733 title: User type: object nullable: true @@ -119729,12 +119904,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Deployment Workflow Run type: object @@ -120414,7 +120589,7 @@ x-webhooks: type: string enum: - answered - answer: &730 + answer: &731 type: object properties: author_association: @@ -120571,7 +120746,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &728 + discussion: &729 title: Discussion description: A Discussion in a repository. type: object @@ -120857,7 +121032,7 @@ x-webhooks: - id labels: type: array - items: *530 + items: *532 required: - repository_url - category @@ -120879,10 +121054,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121009,11 +121184,11 @@ x-webhooks: - from required: - category - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121096,11 +121271,11 @@ x-webhooks: type: string enum: - closed - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121182,7 +121357,7 @@ x-webhooks: type: string enum: - created - comment: &729 + comment: &730 type: object properties: author_association: @@ -121339,11 +121514,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121426,12 +121601,12 @@ x-webhooks: type: string enum: - deleted - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *730 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121526,12 +121701,12 @@ x-webhooks: - from required: - body - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *730 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121615,11 +121790,11 @@ x-webhooks: type: string enum: - created - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121701,11 +121876,11 @@ x-webhooks: type: string enum: - deleted - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121805,11 +121980,11 @@ x-webhooks: type: string required: - from - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -121891,10 +122066,10 @@ x-webhooks: type: string enum: - labeled - discussion: *728 - enterprise: *712 - installation: *713 - label: &731 + discussion: *729 + enterprise: *713 + installation: *714 + label: &732 title: Label type: object properties: @@ -121926,8 +122101,8 @@ x-webhooks: - color - default - description - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122010,11 +122185,11 @@ x-webhooks: type: string enum: - locked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122096,11 +122271,11 @@ x-webhooks: type: string enum: - pinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122182,11 +122357,11 @@ x-webhooks: type: string enum: - reopened - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122271,16 +122446,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *728 - new_repository: *715 + new_discussion: *729 + new_repository: *716 required: - new_discussion - new_repository - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122363,10 +122538,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *728 - old_answer: *730 - organization: *714 - repository: *715 + discussion: *729 + old_answer: *731 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122448,12 +122623,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *728 - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122536,11 +122711,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122622,11 +122797,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *729 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -122699,7 +122874,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *712 + enterprise: *713 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123359,9 +123534,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - forkee @@ -123507,9 +123682,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pages: description: The pages that were updated. type: array @@ -123546,7 +123721,7 @@ x-webhooks: - action - sha - html_url - repository: *715 + repository: *716 sender: *4 required: - pages @@ -123622,10 +123797,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: &733 + organization: *715 + repositories: &734 description: An array of repository objects that the installation can access. type: array @@ -123651,8 +123826,8 @@ x-webhooks: - name - full_name - private - repository: *715 - requester: *732 + repository: *716 + requester: *733 sender: *4 required: - action @@ -123727,11 +123902,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -123807,11 +123982,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -123887,10 +124062,10 @@ x-webhooks: type: string enum: - added - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories_added: &734 + organization: *715 + repositories_added: &735 description: An array of repository objects, which were added to the installation. type: array @@ -123936,15 +124111,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *715 - repository_selection: &735 + repository: *716 + repository_selection: &736 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *732 + requester: *733 sender: *4 required: - action @@ -124023,10 +124198,10 @@ x-webhooks: type: string enum: - removed - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories_added: *734 + organization: *715 + repositories_added: *735 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124053,9 +124228,9 @@ x-webhooks: - name - full_name - private - repository: *715 - repository_selection: *735 - requester: *732 + repository: *716 + repository_selection: *736 + requester: *733 sender: *4 required: - action @@ -124134,11 +124309,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -124316,10 +124491,10 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 target_type: type: string @@ -124398,11 +124573,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *712 + enterprise: *713 installation: *22 - organization: *714 - repositories: *733 - repository: *715 + organization: *715 + repositories: *734 + repository: *716 requester: nullable: true sender: *4 @@ -124654,8 +124829,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125449,8 +125624,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125466,7 +125641,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -125799,8 +125974,8 @@ x-webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -125880,7 +126055,7 @@ x-webhooks: type: string enum: - deleted - comment: &736 + comment: &737 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126045,8 +126220,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126836,8 +127011,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126853,7 +127028,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -127188,8 +127363,8 @@ x-webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -127269,7 +127444,7 @@ x-webhooks: type: string enum: - edited - changes: &765 + changes: &766 description: The changes to the comment. type: object properties: @@ -127281,9 +127456,9 @@ x-webhooks: type: string required: - from - comment: *736 - enterprise: *712 - installation: *713 + comment: *737 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128076,8 +128251,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128093,7 +128268,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -128426,8 +128601,8 @@ x-webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128517,9 +128692,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128613,9 +128788,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128708,9 +128883,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128804,9 +128979,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -128891,10 +129066,10 @@ x-webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - issue: &739 + assignee: *733 + enterprise: *713 + installation: *714 + issue: &740 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129683,11 +129858,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129703,7 +129878,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -129804,8 +129979,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -129885,8 +130060,8 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130680,11 +130855,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130700,7 +130875,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -130936,8 +131111,8 @@ x-webhooks: required: - state - closed_at - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -131016,8 +131191,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131802,11 +131977,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131822,7 +131997,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -131922,8 +132097,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -132002,8 +132177,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132810,11 +132985,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132830,7 +133005,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -132909,7 +133084,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &737 + milestone: &738 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133047,8 +133222,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -133147,8 +133322,8 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133937,11 +134112,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133954,7 +134129,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -134058,9 +134233,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -134140,8 +134315,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134929,11 +135104,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134946,7 +135121,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -135050,9 +135225,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -135132,8 +135307,8 @@ x-webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135945,11 +136120,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135962,7 +136137,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -136043,8 +136218,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -136123,8 +136298,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136930,11 +137105,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136950,7 +137125,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -137028,9 +137203,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *737 - organization: *714 - repository: *715 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -137898,11 +138073,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137995,7 +138170,7 @@ x-webhooks: required: - login - id - type: *214 + type: *216 required: - id - number @@ -138464,8 +138639,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139254,11 +139429,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139274,7 +139449,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -139374,8 +139549,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -139455,9 +139630,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *712 - installation: *713 - issue: &738 + enterprise: *713 + installation: *714 + issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140240,11 +140415,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140260,7 +140435,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -140360,8 +140535,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -140440,8 +140615,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141251,11 +141426,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141349,9 +141524,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *214 - organization: *714 - repository: *715 + type: *216 + organization: *715 + repository: *716 sender: *4 required: - action @@ -142217,11 +142392,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142237,7 +142412,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -142805,11 +142980,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *739 + organization: *715 + repository: *716 sender: *4 required: - action @@ -142889,12 +143064,12 @@ x-webhooks: type: string enum: - typed - enterprise: *712 - installation: *713 - issue: *739 - type: *214 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + type: *216 + organization: *715 + repository: *716 sender: *4 required: - action @@ -142975,7 +143150,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &768 + assignee: &769 title: User type: object nullable: true @@ -143045,11 +143220,11 @@ x-webhooks: required: - login - id - enterprise: *712 - installation: *713 - issue: *739 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + organization: *715 + repository: *716 sender: *4 required: - action @@ -143128,12 +143303,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - issue: *739 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -143213,8 +143388,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144024,11 +144199,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *648 + issue_dependencies_summary: *649 issue_field_values: type: array - items: *648 + items: *650 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144044,7 +144219,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -144122,8 +144297,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144203,11 +144378,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *739 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144286,12 +144461,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *712 - installation: *713 - issue: *739 - type: *214 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + issue: *740 + type: *216 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144371,11 +144546,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144453,11 +144628,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144567,11 +144742,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + label: *732 + organization: *715 + repository: *716 sender: *4 required: - action @@ -144653,9 +144828,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: &740 + enterprise: *713 + installation: *714 + marketplace_purchase: &741 title: Marketplace Purchase type: object required: @@ -144738,8 +144913,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: &741 + organization: *715 + previous_marketplace_purchase: &742 title: Marketplace Purchase type: object properties: @@ -144819,7 +144994,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *716 sender: *4 required: - action @@ -144899,10 +145074,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *713 + installation: *714 + marketplace_purchase: *741 + organization: *715 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144985,7 +145160,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *716 sender: *4 required: - action @@ -145067,10 +145242,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *713 + installation: *714 + marketplace_purchase: *741 + organization: *715 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145152,7 +145327,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *716 sender: *4 required: - action @@ -145233,8 +145408,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 marketplace_purchase: title: Marketplace Purchase type: object @@ -145316,9 +145491,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + organization: *715 + previous_marketplace_purchase: *742 + repository: *716 sender: *4 required: - action @@ -145398,12 +145573,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + enterprise: *713 + installation: *714 + marketplace_purchase: *741 + organization: *715 + previous_marketplace_purchase: *742 + repository: *716 sender: *4 required: - action @@ -145505,11 +145680,11 @@ x-webhooks: type: string required: - to - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 sender: *4 required: - action @@ -145609,11 +145784,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 sender: *4 required: - action @@ -145692,11 +145867,11 @@ x-webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 sender: *4 required: - action @@ -145774,11 +145949,11 @@ x-webhooks: type: string enum: - added - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145854,7 +146029,7 @@ x-webhooks: required: - login - id - team: &742 + team: &743 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146077,11 +146252,11 @@ x-webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + member: *733 + organization: *715 + repository: *716 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146158,7 +146333,7 @@ x-webhooks: required: - login - id - team: *742 + team: *743 required: - action - scope @@ -146240,8 +146415,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *713 - merge_group: &744 + installation: *714 + merge_group: &745 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146260,15 +146435,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *743 + head_commit: *744 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146354,10 +146529,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *713 - merge_group: *744 - organization: *714 - repository: *715 + installation: *714 + merge_group: *745 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146430,7 +146605,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *713 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146539,16 +146714,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *713 - organization: *714 + installation: *714 + organization: *715 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -146629,11 +146804,11 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146712,9 +146887,9 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - milestone: &747 + enterprise: *713 + installation: *714 + milestone: &748 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146851,8 +147026,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -146931,11 +147106,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147045,11 +147220,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *738 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147129,11 +147304,11 @@ x-webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - milestone: *747 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + milestone: *748 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147212,11 +147387,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *733 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147295,11 +147470,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *733 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147378,9 +147553,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - membership: &748 + enterprise: *713 + installation: *714 + membership: &749 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147487,8 +147662,8 @@ x-webhooks: - role - organization_url - user - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147566,11 +147741,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *712 - installation: *713 - membership: *748 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + membership: *749 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147649,8 +147824,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147766,10 +147941,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 - user: *732 + user: *733 required: - action - invitation @@ -147847,11 +148022,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *712 - installation: *713 - membership: *748 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + membership: *749 + organization: *715 + repository: *716 sender: *4 required: - action @@ -147938,11 +148113,11 @@ x-webhooks: properties: from: type: string - enterprise: *712 - installation: *713 - membership: *748 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + membership: *749 + organization: *715 + repository: *716 sender: *4 required: - action @@ -148018,9 +148193,9 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 package: description: Information about the package. type: object @@ -148519,7 +148694,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &749 + items: &750 title: Ruby Gems metadata type: object properties: @@ -148614,7 +148789,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -148690,9 +148865,9 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 package: description: Information about the package. type: object @@ -149045,7 +149220,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *749 + items: *750 source_url: type: string format: uri @@ -149115,7 +149290,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -149292,12 +149467,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *712 + enterprise: *713 id: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - id @@ -149374,7 +149549,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &750 + personal_access_token_request: &751 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149520,10 +149695,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *712 - organization: *714 + enterprise: *713 + organization: *715 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149600,11 +149775,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *750 - enterprise: *712 - organization: *714 + personal_access_token_request: *751 + enterprise: *713 + organization: *715 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149680,11 +149855,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *750 - enterprise: *712 - organization: *714 + personal_access_token_request: *751 + enterprise: *713 + organization: *715 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149759,11 +149934,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *750 - organization: *714 - enterprise: *712 + personal_access_token_request: *751 + organization: *715 + enterprise: *713 sender: *4 - installation: *713 + installation: *714 required: - action - personal_access_token_request @@ -149868,7 +150043,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *751 + last_response: *752 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149900,8 +150075,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 zen: description: Random string of GitHub zen. @@ -150146,10 +150321,10 @@ x-webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: &752 + enterprise: *713 + installation: *714 + organization: *715 + project_card: &753 title: Project Card type: object properties: @@ -150268,7 +150443,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *715 + repository: *716 sender: *4 required: - action @@ -150349,11 +150524,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_card: *752 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_card: *753 + repository: *716 sender: *4 required: - action @@ -150433,9 +150608,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 project_card: title: Project Card type: object @@ -150563,8 +150738,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -150658,11 +150833,11 @@ x-webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: *752 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_card: *753 + repository: *716 sender: *4 required: - action @@ -150756,9 +150931,9 @@ x-webhooks: - from required: - column_id - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 project_card: allOf: - title: Project Card @@ -150948,7 +151123,7 @@ x-webhooks: type: string required: - after_id - repository: *715 + repository: *716 sender: *4 required: - action @@ -151028,10 +151203,10 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - organization: *714 - project: &754 + enterprise: *713 + installation: *714 + organization: *715 + project: &755 title: Project type: object properties: @@ -151155,7 +151330,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *715 + repository: *716 sender: *4 required: - action @@ -151235,10 +151410,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_column: &753 + enterprise: *713 + installation: *714 + organization: *715 + project_column: &754 title: Project Column type: object properties: @@ -151277,7 +151452,7 @@ x-webhooks: - name - created_at - updated_at - repository: *715 + repository: *716 sender: *4 required: - action @@ -151356,18 +151531,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project_column: *753 + enterprise: *713 + installation: *714 + organization: *715 + project_column: *754 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -151457,11 +151632,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project_column: *753 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_column: *754 + repository: *716 sender: *4 required: - action @@ -151541,11 +151716,11 @@ x-webhooks: type: string enum: - moved - enterprise: *712 - installation: *713 - organization: *714 - project_column: *753 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project_column: *754 + repository: *716 sender: *4 required: - action @@ -151625,11 +151800,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project: *754 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 + repository: *716 sender: *4 required: - action @@ -151709,18 +151884,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project: *754 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *745 - required: *746 + properties: *746 + required: *747 nullable: true sender: *4 required: @@ -151822,11 +151997,11 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project: *754 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 + repository: *716 sender: *4 required: - action @@ -151905,11 +152080,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - organization: *714 - project: *754 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + project: *755 + repository: *716 sender: *4 required: - action @@ -151990,9 +152165,9 @@ x-webhooks: type: string enum: - closed - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152073,9 +152248,9 @@ x-webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152156,9 +152331,9 @@ x-webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152275,9 +152450,9 @@ x-webhooks: type: string to: type: string - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -152360,7 +152535,7 @@ x-webhooks: type: string enum: - archived - changes: &758 + changes: &759 type: object properties: archived_at: @@ -152374,9 +152549,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *713 - organization: *714 - projects_v2_item: &755 + installation: *714 + organization: *715 + projects_v2_item: &756 title: Projects v2 Item description: An item belonging to a project type: object @@ -152394,7 +152569,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *257 + content_type: *259 creator: *4 created_at: type: string @@ -152511,9 +152686,9 @@ x-webhooks: nullable: true to: type: string - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152595,9 +152770,9 @@ x-webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152678,9 +152853,9 @@ x-webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152786,7 +152961,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &756 + - &757 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152808,7 +152983,7 @@ x-webhooks: required: - id - name - - &757 + - &758 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152842,8 +153017,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *756 - *757 + - *758 required: - field_value - type: object @@ -152859,9 +153034,9 @@ x-webhooks: nullable: true required: - body - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -152956,9 +153131,9 @@ x-webhooks: to: type: string nullable: true - installation: *713 - organization: *714 - projects_v2_item: *755 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -153041,10 +153216,10 @@ x-webhooks: type: string enum: - restored - changes: *758 - installation: *713 - organization: *714 - projects_v2_item: *755 + changes: *759 + installation: *714 + organization: *715 + projects_v2_item: *756 sender: *4 required: - action @@ -153126,9 +153301,9 @@ x-webhooks: type: string enum: - reopened - installation: *713 - organization: *714 - projects_v2: *249 + installation: *714 + organization: *715 + projects_v2: *251 sender: *4 required: - action @@ -153209,14 +153384,14 @@ x-webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_status_update: &761 + installation: *714 + organization: *715 + projects_v2_status_update: &762 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *759 - required: *760 + properties: *760 + required: *761 sender: *4 required: - action @@ -153297,9 +153472,9 @@ x-webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_status_update: *761 + installation: *714 + organization: *715 + projects_v2_status_update: *762 sender: *4 required: - action @@ -153435,9 +153610,9 @@ x-webhooks: type: string format: date nullable: true - installation: *713 - organization: *714 - projects_v2_status_update: *761 + installation: *714 + organization: *715 + projects_v2_status_update: *762 sender: *4 required: - action @@ -153508,10 +153683,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - repository @@ -153588,13 +153763,13 @@ x-webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - number: &762 + assignee: *733 + enterprise: *713 + installation: *714 + number: &763 description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -155877,7 +156052,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -155959,11 +156134,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -158241,7 +158416,7 @@ x-webhooks: - draft reason: type: string - repository: *715 + repository: *716 sender: *4 required: - action @@ -158323,11 +158498,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -160605,7 +160780,7 @@ x-webhooks: - draft reason: type: string - repository: *715 + repository: *716 sender: *4 required: - action @@ -160687,13 +160862,13 @@ x-webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: &763 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: &764 allOf: - - *568 + - *570 - type: object properties: allow_auto_merge: @@ -160755,7 +160930,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *715 + repository: *716 sender: *4 required: - action @@ -160836,12 +161011,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -160921,11 +161096,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *712 - milestone: *550 - number: *762 - organization: *714 - pull_request: &764 + enterprise: *713 + milestone: *552 + number: *763 + organization: *715 + pull_request: &765 title: Pull Request type: object properties: @@ -163188,7 +163363,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -163267,11 +163442,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -165553,7 +165728,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *715 + repository: *716 sender: *4 required: - action @@ -165677,12 +165852,12 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -165762,11 +165937,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -168033,7 +168208,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -168113,11 +168288,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 - label: *731 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + label: *732 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -170399,7 +170574,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -170480,10 +170655,10 @@ x-webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -172763,7 +172938,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -172843,12 +173018,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *712 - milestone: *550 - number: *762 - organization: *714 - pull_request: *764 - repository: *715 + enterprise: *713 + milestone: *552 + number: *763 + organization: *715 + pull_request: *765 + repository: *716 sender: *4 required: - action @@ -172927,12 +173102,12 @@ x-webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -173013,12 +173188,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -173098,12 +173273,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - number: *762 - organization: *714 - pull_request: *763 - repository: *715 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 + pull_request: *764 + repository: *716 sender: *4 required: - action @@ -173469,9 +173644,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: type: object properties: @@ -175641,7 +175816,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *716 sender: *4 required: - action @@ -175721,7 +175896,7 @@ x-webhooks: type: string enum: - deleted - comment: &766 + comment: &767 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176006,9 +176181,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: type: object properties: @@ -178166,7 +178341,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *716 sender: *4 required: - action @@ -178246,11 +178421,11 @@ x-webhooks: type: string enum: - edited - changes: *765 - comment: *766 - enterprise: *712 - installation: *713 - organization: *714 + changes: *766 + comment: *767 + enterprise: *713 + installation: *714 + organization: *715 pull_request: type: object properties: @@ -180411,7 +180586,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *716 sender: *4 required: - action @@ -180492,9 +180667,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -182667,7 +182842,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *716 review: description: The review that was affected. type: object @@ -182914,9 +183089,9 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -184970,8 +185145,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: &767 + repository: *716 + review: &768 description: The review that was affected. type: object properties: @@ -185204,12 +185379,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -187492,7 +187667,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_reviewer: title: User type: object @@ -187576,12 +187751,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -189871,7 +190046,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190063,12 +190238,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -192353,7 +192528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_reviewer: title: User type: object @@ -192438,12 +192613,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *713 + installation: *714 number: description: The pull request number. type: integer - organization: *714 + organization: *715 pull_request: title: Pull Request type: object @@ -194719,7 +194894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194900,9 +195075,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -197077,8 +197252,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: *767 + repository: *716 + review: *768 sender: *4 required: - action @@ -197158,9 +197333,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -199230,7 +199405,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *716 sender: *4 thread: type: object @@ -199617,9 +199792,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 pull_request: title: Simple Pull Request type: object @@ -201675,7 +201850,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *716 sender: *4 thread: type: object @@ -202065,10 +202240,10 @@ x-webhooks: type: string before: type: string - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -204339,7 +204514,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -204421,11 +204596,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *768 - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + assignee: *769 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -206708,7 +206883,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -206787,11 +206962,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - label: *731 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + label: *732 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -209064,7 +209239,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -209145,10 +209320,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 - number: *762 - organization: *714 + enterprise: *713 + installation: *714 + number: *763 + organization: *715 pull_request: title: Pull Request type: object @@ -211413,7 +211588,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *716 sender: *4 required: - action @@ -211613,7 +211788,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *712 + enterprise: *713 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211705,8 +211880,8 @@ x-webhooks: - url - author - committer - installation: *713 - organization: *714 + installation: *714 + organization: *715 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212281,9 +212456,9 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 registry_package: type: object properties: @@ -212729,7 +212904,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *749 + items: *750 summary: type: string tag_name: @@ -212783,7 +212958,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -212861,9 +213036,9 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 registry_package: type: object properties: @@ -213171,7 +213346,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *749 + items: *750 summary: type: string tag_name: @@ -213220,7 +213395,7 @@ x-webhooks: - owner - package_version - registry - repository: *715 + repository: *716 sender: *4 required: - action @@ -213297,10 +213472,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - release: &769 + enterprise: *713 + installation: *714 + organization: *715 + release: &770 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213618,7 +213793,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *715 + repository: *716 sender: *4 required: - action @@ -213695,11 +213870,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - release: *769 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *770 + repository: *716 sender: *4 required: - action @@ -213816,11 +213991,11 @@ x-webhooks: type: boolean required: - to - enterprise: *712 - installation: *713 - organization: *714 - release: *769 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *770 + repository: *716 sender: *4 required: - action @@ -213898,9 +214073,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214222,7 +214397,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *715 + repository: *716 sender: *4 required: - action @@ -214298,10 +214473,10 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - release: &770 + enterprise: *713 + installation: *714 + organization: *715 + release: &771 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214620,7 +214795,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *715 + repository: *716 sender: *4 required: - action @@ -214696,11 +214871,11 @@ x-webhooks: type: string enum: - released - enterprise: *712 - installation: *713 - organization: *714 - release: *769 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *770 + repository: *716 sender: *4 required: - action @@ -214776,11 +214951,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *712 - installation: *713 - organization: *714 - release: *770 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + release: *771 + repository: *716 sender: *4 required: - action @@ -214856,11 +215031,11 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *632 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_advisory: *634 sender: *4 required: - action @@ -214936,11 +215111,11 @@ x-webhooks: type: string enum: - reported - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *632 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_advisory: *634 sender: *4 required: - action @@ -215016,10 +215191,10 @@ x-webhooks: type: string enum: - archived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215096,10 +215271,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215177,10 +215352,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215264,10 +215439,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215379,10 +215554,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215454,10 +215629,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 status: type: string @@ -215538,10 +215713,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215618,10 +215793,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215715,10 +215890,10 @@ x-webhooks: - name required: - repository - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -215798,11 +215973,11 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *294 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_ruleset: *296 sender: *4 required: - action @@ -215880,11 +216055,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *294 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_ruleset: *296 sender: *4 required: - action @@ -215962,11 +216137,11 @@ x-webhooks: type: string enum: - edited - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *294 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + repository_ruleset: *296 changes: type: object properties: @@ -215985,16 +216160,16 @@ x-webhooks: properties: added: type: array - items: *269 + items: *271 deleted: type: array - items: *269 + items: *271 updated: type: array items: type: object properties: - condition: *269 + condition: *271 changes: type: object properties: @@ -216027,16 +216202,16 @@ x-webhooks: properties: added: type: array - items: *589 + items: *591 deleted: type: array - items: *589 + items: *591 updated: type: array items: type: object properties: - rule: *589 + rule: *591 changes: type: object properties: @@ -216270,10 +216445,10 @@ x-webhooks: - from required: - owner - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216351,10 +216526,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216432,7 +216607,7 @@ x-webhooks: type: string enum: - create - alert: &771 + alert: &772 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216553,10 +216728,10 @@ x-webhooks: type: string enum: - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216762,10 +216937,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -216843,11 +217018,11 @@ x-webhooks: type: string enum: - reopen - alert: *771 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *772 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217046,10 +217221,10 @@ x-webhooks: enum: - fixed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217127,11 +217302,11 @@ x-webhooks: type: string enum: - created - alert: &772 + alert: &773 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217139,8 +217314,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri @@ -217245,10 +217420,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217329,11 +217504,11 @@ x-webhooks: type: string enum: - created - alert: *772 - installation: *713 - location: *773 - organization: *714 - repository: *715 + alert: *773 + installation: *714 + location: *774 + organization: *715 + repository: *716 sender: *4 required: - location @@ -217571,11 +217746,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217653,11 +217828,11 @@ x-webhooks: type: string enum: - reopened - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217735,11 +217910,11 @@ x-webhooks: type: string enum: - resolved - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217817,11 +217992,11 @@ x-webhooks: type: string enum: - validated - alert: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *773 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -217947,10 +218122,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *715 - enterprise: *712 - installation: *713 - organization: *714 + repository: *716 + enterprise: *713 + installation: *714 + organization: *715 sender: *4 required: - action @@ -218028,11 +218203,11 @@ x-webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: &774 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + security_advisory: &775 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218215,11 +218390,11 @@ x-webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: *774 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 + security_advisory: *775 sender: *4 required: - action @@ -218292,10 +218467,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218479,11 +218654,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *268 - enterprise: *712 - installation: *713 - organization: *714 - repository: *331 + security_and_analysis: *270 + enterprise: *713 + installation: *714 + organization: *715 + repository: *333 sender: *4 required: - changes @@ -218561,12 +218736,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: &775 + sponsorship: &776 type: object properties: created_at: @@ -218867,12 +219042,12 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - sponsorship @@ -218960,12 +219135,12 @@ x-webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - changes @@ -219042,17 +219217,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &776 + effective_date: &777 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: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - sponsorship @@ -219126,7 +219301,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &777 + changes: &778 type: object properties: tier: @@ -219170,13 +219345,13 @@ x-webhooks: - from required: - tier - effective_date: *776 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + effective_date: *777 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - changes @@ -219253,13 +219428,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *777 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + changes: *778 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - sponsorship: *775 + sponsorship: *776 required: - action - changes @@ -219333,10 +219508,10 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219419,10 +219594,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219842,15 +220017,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *712 + enterprise: *713 id: description: The unique identifier of the status. type: integer - installation: *713 + installation: *714 name: type: string - organization: *714 - repository: *715 + organization: *715 + repository: *716 sender: *4 sha: description: The Commit SHA. @@ -219965,9 +220140,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220057,9 +220232,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220149,9 +220324,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220241,9 +220416,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -220320,12 +220495,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - team: &778 + team: &779 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220548,9 +220723,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -221008,7 +221183,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -221084,9 +221259,9 @@ x-webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -221544,7 +221719,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -221621,9 +221796,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -222081,7 +222256,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -222225,9 +222400,9 @@ x-webhooks: - from required: - permissions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -222685,7 +222860,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - changes @@ -222763,9 +222938,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *713 + installation: *714 + organization: *715 repository: title: Repository description: A git repository @@ -223223,7 +223398,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *778 + team: *779 required: - action - team @@ -223299,10 +223474,10 @@ x-webhooks: type: string enum: - started - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 required: - action @@ -223375,16 +223550,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *712 + enterprise: *713 inputs: type: object nullable: true additionalProperties: true - installation: *713 - organization: *714 + installation: *714 + organization: *715 ref: type: string - repository: *715 + repository: *716 sender: *4 workflow: type: string @@ -223466,10 +223641,10 @@ x-webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: allOf: @@ -223706,7 +223881,7 @@ x-webhooks: type: string required: - conclusion - deployment: *482 + deployment: *484 required: - action - repository @@ -223785,10 +223960,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: allOf: @@ -224048,7 +224223,7 @@ x-webhooks: required: - status - steps - deployment: *482 + deployment: *484 required: - action - repository @@ -224127,10 +224302,10 @@ x-webhooks: type: string enum: - queued - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: type: object @@ -224265,7 +224440,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *484 required: - action - repository @@ -224344,10 +224519,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 workflow_job: type: object @@ -224483,7 +224658,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *484 required: - action - repository @@ -224563,12 +224738,12 @@ x-webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Workflow Run type: object @@ -225567,12 +225742,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Workflow Run type: object @@ -226556,12 +226731,12 @@ x-webhooks: type: string enum: - requested - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *713 + installation: *714 + organization: *715 + repository: *716 sender: *4 - workflow: *727 + workflow: *728 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 1aa2b8519..2e46580df 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -63941,15 +63941,6 @@ "type": "integer" } }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` 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.", @@ -64200,6 +64191,402 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "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." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "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", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -96826,15 +97213,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -97077,6 +97455,363 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -115194,6 +115929,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -235768,428 +236511,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. 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).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -673795,15 +674116,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -674040,6 +674352,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 30a06e38d..f4cfcf558 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &431 + type: &433 type: string description: The type of credit the user is receiving. enum: @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &254 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -1031,7 +1031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &760 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1149,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &208 + properties: &211 id: description: Unique identifier of the GitHub app example: 37 @@ -1282,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &209 + required: &212 - id - node_id - owner @@ -1587,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &340 + - &342 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1603,7 +1603,7 @@ paths: application/json: schema: type: array - items: &341 + items: &343 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1683,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &342 + default: &344 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &770 + schema: &772 title: Scim Error description: Scim Error type: object @@ -1742,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &255 title: Validation Error description: Validation Error type: object @@ -1811,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &345 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1925,7 +1925,7 @@ paths: - request - response examples: - default: &344 + default: &346 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2126,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &213 + - &216 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &409 + properties: &411 id: description: Unique identifier of the repository example: 42 @@ -2912,7 +2912,7 @@ paths: title: License Simple description: License Simple type: object - properties: &224 + properties: &227 key: type: string example: mit @@ -2934,7 +2934,7 @@ paths: html_url: type: string format: uri - required: &225 + required: &228 - key - name - url @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &410 + required: &412 - archive_url - assignees_url - blobs_url @@ -7487,7 +7487,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &257 type: object properties: total_active_caches_count: @@ -7502,7 +7502,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &256 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7695,7 +7695,7 @@ paths: - public_ip_enabled - platform examples: - default: &257 + default: &259 value: total_count: 2 runners: @@ -7990,7 +7990,7 @@ paths: application/json: schema: *45 examples: - default: &258 + default: &260 value: id: 1 platform: linux-x64 @@ -8130,7 +8130,7 @@ paths: application/json: schema: *48 examples: - default: &259 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -8294,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &262 type: object properties: public_ips: @@ -8319,7 +8319,7 @@ paths: required: - public_ips examples: - default: &261 + default: &263 value: public_ips: current_usage: 17 @@ -8359,7 +8359,7 @@ paths: type: array items: *52 examples: - default: &262 + default: &264 value: id: 4-core cpu_cores: 4 @@ -8621,7 +8621,7 @@ paths: - all - local_only - selected - selected_actions_url: &265 + selected_actions_url: &267 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` @@ -8701,7 +8701,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &267 + schema: &269 type: object properties: days: @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &771 + '401': &773 description: Authorization failure '404': *6 x-github: @@ -8747,7 +8747,7 @@ paths: required: true content: application/json: - schema: &268 + schema: &270 type: object properties: days: @@ -8796,7 +8796,7 @@ paths: required: - approval_policy examples: - default: &269 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -8854,7 +8854,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -8908,7 +8908,7 @@ paths: required: true content: application/json: - schema: &271 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -9331,7 +9331,7 @@ paths: description: Success response content: application/json: - schema: &274 + schema: &276 type: object properties: default_workflow_permissions: &63 @@ -9379,7 +9379,7 @@ paths: required: true content: application/json: - schema: &275 + schema: &277 type: object properties: default_workflow_permissions: *63 @@ -10215,7 +10215,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Runner Application description: Runner Application type: object @@ -10240,7 +10240,7 @@ paths: - download_url - filename examples: - default: &280 + default: &282 value: - os: osx architecture: x64 @@ -10324,7 +10324,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &281 + '201': &283 description: Response content: application/json: @@ -10439,7 +10439,7 @@ paths: - token - expires_at examples: - default: &282 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10479,7 +10479,7 @@ paths: application/json: schema: *75 examples: - default: &283 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10511,7 +10511,7 @@ paths: application/json: schema: *72 examples: - default: &284 + default: &286 value: id: 23 name: MBP @@ -10727,7 +10727,7 @@ paths: - *41 - *71 responses: - '200': &285 + '200': &287 description: Response content: application/json: @@ -10783,7 +10783,7 @@ paths: parameters: - *41 - *71 - - &286 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10874,7 +10874,7 @@ paths: required: true content: application/json: - schema: &293 + schema: &295 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11515,7 +11515,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: include description: |- The event types to include: @@ -11533,7 +11533,7 @@ paths: - web - git - all - - &295 + - &297 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. @@ -11541,7 +11541,7 @@ paths: required: false schema: type: string - - &296 + - &298 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. @@ -11549,7 +11549,7 @@ paths: required: false schema: type: string - - &297 + - &299 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11571,7 +11571,7 @@ paths: application/json: schema: type: array - items: &298 + items: &300 type: object properties: "@timestamp": @@ -11693,7 +11693,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &299 + default: &301 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12359,7 +12359,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12520,7 +12520,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &301 + default: &303 value: - id: 21 number: 42 @@ -12625,7 +12625,7 @@ paths: application/json: schema: type: array - items: &303 + items: &305 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12750,7 +12750,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &304 + default: &306 value: - id: 21 number: 42 @@ -12835,7 +12835,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &309 + - &311 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`, @@ -12845,7 +12845,7 @@ paths: schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &310 + - &312 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 @@ -12868,7 +12868,7 @@ paths: be returned. in: query required: false - schema: &311 + schema: &313 type: string description: State of a code scanning alert. enum: @@ -12893,7 +12893,7 @@ paths: application/json: schema: type: array - items: &312 + items: &314 type: object properties: number: &123 @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &546 + instances_url: &548 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &547 + dismissed_reason: &549 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &548 + dismissed_comment: &550 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &549 + rule: &551 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &550 + tool: &552 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &551 + most_recent_instance: &553 type: object properties: - ref: &544 + ref: &546 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &561 + analysis_key: &563 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &562 + category: &564 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13103,7 +13103,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &241 + properties: &244 id: type: integer format: int64 @@ -13330,7 +13330,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &242 + required: &245 - archive_url - assignees_url - blobs_url @@ -13402,7 +13402,7 @@ paths: - most_recent_instance - repository examples: - default: &313 + default: &315 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14055,7 +14055,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &314 + code_scanning_options: &316 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14249,7 +14249,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &318 type: array description: A list of default code security configurations items: @@ -14265,7 +14265,7 @@ paths: default configuration: *110 examples: - default: &317 + default: &319 value: - default_for_new_repos: public configuration: @@ -14719,7 +14719,7 @@ paths: default: value: default_for_new_repos: all - configuration: &315 + configuration: &317 value: id: 1325 target_type: organization @@ -14804,7 +14804,7 @@ paths: application/json: schema: type: array - items: &318 + items: &320 type: object description: Repositories associated with a code security configuration and attachment status @@ -14828,7 +14828,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &319 + repository: &321 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15317,7 +15317,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &305 + - &307 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15392,7 +15392,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &375 + properties: &377 id: description: Unique identifier of the team type: integer @@ -15464,7 +15464,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &376 + required: &378 - id - node_id - url @@ -16052,7 +16052,7 @@ paths: application/json: schema: type: array - items: &198 + items: &201 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16359,7 +16359,7 @@ paths: - date additionalProperties: true examples: - default: &199 + default: &202 value: - date: '2024-06-24' total_active_users: 24 @@ -16461,7 +16461,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &200 + '422': &203 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16697,7 +16697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &325 + - &327 name: state in: query description: |- @@ -16706,7 +16706,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &326 + - &328 name: severity in: query description: |- @@ -16715,7 +16715,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &327 + - &329 name: ecosystem in: query description: |- @@ -16724,14 +16724,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &328 + - &330 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 - - &329 + - &331 name: epss_percentage in: query description: |- @@ -16743,7 +16743,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 - - &601 + - &603 name: has in: query description: |- @@ -16757,7 +16757,7 @@ paths: type: string enum: - patch - - &330 + - &332 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16767,7 +16767,7 @@ paths: enum: - development - runtime - - &331 + - &333 name: sort in: query description: |- @@ -16793,7 +16793,7 @@ paths: application/json: schema: type: array - items: &332 + items: &334 type: object description: A Dependabot alert. properties: @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &602 + security_advisory: &604 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &603 + auto_dismissed_at: &605 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -17114,7 +17114,7 @@ paths: - repository additionalProperties: false examples: - default: &333 + default: &335 value: - number: 2 state: dismissed @@ -17895,7 +17895,7 @@ paths: type: array items: *140 examples: - default: &201 + default: &204 value: - id: 1 name: Justice League @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &442 + default: &444 value: total_count: 2 network_configurations: @@ -18449,7 +18449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &443 + - &445 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &446 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &445 + default: &447 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &408 + schema: &410 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &414 + - &416 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &726 + items: &728 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &723 + - &725 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &724 + - &726 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &417 + default: &419 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &419 + - &421 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &420 + - &422 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &421 + - &423 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &422 + - &424 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &423 + - &425 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &424 + - &426 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &425 + - &427 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &426 + - &428 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &738 + state: &740 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: &739 + resolution: &741 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &740 - - &742 + oneOf: &742 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &743 + - &745 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. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &744 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &745 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &746 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &747 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &748 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &749 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &750 + - &752 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. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &751 + - &753 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. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &752 + - &754 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. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &753 + - &755 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. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &754 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &428 + default: &430 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &431 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &430 + default: &432 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &435 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &434 + default: &436 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &435 + - &437 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &436 + schema: &438 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &437 + default: &439 value: total_advanced_security_committers: 2 total_count: 2 @@ -22657,7 +22657,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &440 type: object properties: total_gigabytes_bandwidth_used: @@ -22675,7 +22675,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &439 + default: &441 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -22709,7 +22709,7 @@ paths: required: false schema: type: integer - - &243 + - &198 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 @@ -22727,28 +22727,29 @@ paths: required: false schema: type: integer - - name: organization + - &199 + name: organization description: The organization name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &244 + - &246 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &245 + - &247 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &246 + - &200 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -22918,7 +22919,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &442 type: object properties: days_left_in_billing_cycle: @@ -22936,7 +22937,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &441 + default: &443 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22962,7 +22963,7 @@ paths: parameters: - *41 - *196 - - &247 + - &248 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 @@ -22972,15 +22973,6 @@ paths: schema: type: integer - *197 - - &248 - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or - `day` is specified, the default `year`, `month`, and `day` are used. - 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. @@ -23069,6 +23061,175 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets 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. + + **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-report-for-an-enterprise + parameters: + - *41 + - *196 + - *198 + - *197 + - *199 + - &251 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *200 + - &252 + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + 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. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + 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 + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -23129,13 +23290,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23164,7 +23325,7 @@ paths: type: array items: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23241,7 +23402,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23259,7 +23420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &202 + - &205 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -23278,7 +23439,7 @@ paths: type: array items: *4 examples: - default: &203 + default: &206 value: - login: octocat id: 1 @@ -23317,7 +23478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23348,7 +23509,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23366,7 +23527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23397,7 +23558,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23415,7 +23576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '200': @@ -23424,7 +23585,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &204 + exampleKey1: &207 value: login: octocat id: 1 @@ -23460,7 +23621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *202 + - *205 - *138 responses: '201': @@ -23469,7 +23630,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *204 + exampleKey1: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23487,7 +23648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '204': @@ -23510,7 +23671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *202 + - *205 - *17 - *19 responses: @@ -23522,7 +23683,7 @@ paths: type: array items: *69 examples: - default: &205 + default: &208 value: login: github id: 1 @@ -23553,7 +23714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23583,7 +23744,7 @@ paths: type: array items: *69 examples: - default: &240 + default: &243 value: - login: github id: 1 @@ -23614,7 +23775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23655,7 +23816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '200': @@ -23664,7 +23825,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 '404': description: The team is not assigned to the organization x-github: @@ -23683,7 +23844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '201': @@ -23692,7 +23853,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23709,7 +23870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '204': @@ -23734,7 +23895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &206 + - &209 name: team_slug description: The slug of the team name. in: path @@ -23748,7 +23909,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23768,7 +23929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *206 + - *209 requestBody: required: true content: @@ -23825,7 +23986,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23848,7 +24009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *206 + - *209 responses: '204': description: Response @@ -23947,7 +24108,7 @@ paths: application/json: schema: type: array - items: &235 + items: &238 title: Event description: Event type: object @@ -23957,7 +24118,7 @@ paths: type: type: string nullable: true - actor: &207 + actor: &210 title: Actor description: Actor type: object @@ -23997,18 +24158,18 @@ paths: - id - name - url - org: *207 + org: *210 payload: type: object properties: action: type: string - issue: &223 + issue: &226 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &660 + properties: &662 id: type: integer format: int64 @@ -24120,7 +24281,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &400 + properties: &402 url: type: string format: uri @@ -24190,7 +24351,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &401 + required: &403 - closed_issues - creator - description @@ -24269,7 +24430,7 @@ paths: timeline_url: type: string format: uri - type: &362 + type: &364 title: Issue Type description: The type of issue. type: object @@ -24328,9 +24489,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - author_association: &210 + properties: *211 + required: *212 + author_association: &213 title: author_association type: string example: OWNER @@ -24344,7 +24505,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &211 + reactions: &214 title: Reaction Rollup type: object properties: @@ -24380,7 +24541,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &798 + sub_issues_summary: &800 title: Sub-issues Summary type: object properties: @@ -24400,7 +24561,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &799 + issue_dependencies_summary: &801 title: Issue Dependencies Summary type: object properties: @@ -24419,7 +24580,7 @@ paths: - total_blocking issue_field_values: type: array - items: &800 + items: &802 title: Issue Field Value description: A value assigned to an issue field type: object @@ -24479,7 +24640,7 @@ paths: - node_id - data_type - value - required: &661 + required: &663 - assignee - closed_at - comments @@ -24500,7 +24661,7 @@ paths: - user - created_at - updated_at - comment: &658 + comment: &660 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -24548,7 +24709,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -24558,9 +24719,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - id - node_id @@ -24727,7 +24888,7 @@ paths: _links: type: object properties: - timeline: &212 + timeline: &215 title: Link With Type description: Hypermedia Link with Type type: object @@ -24739,17 +24900,17 @@ paths: required: - href - type - user: *212 - security_advisories: *212 - current_user: *212 - current_user_public: *212 - current_user_actor: *212 - current_user_organization: *212 + user: *215 + security_advisories: *215 + current_user: *215 + current_user_public: *215 + current_user_actor: *215 + current_user_organization: *215 current_user_organizations: type: array - items: *212 - repository_discussions: *212 - repository_discussions_category: *212 + items: *215 + repository_discussions: *215 + repository_discussions_category: *215 required: - timeline - user @@ -24811,7 +24972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *213 + - *216 - *17 - *19 responses: @@ -24821,7 +24982,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Base Gist description: Base Gist type: object @@ -24920,7 +25081,7 @@ paths: - created_at - updated_at examples: - default: &215 + default: &218 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25041,7 +25202,7 @@ paths: description: Response content: application/json: - schema: &216 + schema: &219 title: Gist Simple description: Gist Simple type: object @@ -25058,7 +25219,7 @@ paths: url: type: string format: uri - user: &812 + user: &814 title: Public User description: Public User type: object @@ -25420,7 +25581,7 @@ paths: truncated: type: boolean examples: - default: &217 + default: &220 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25524,7 +25685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25534,9 +25695,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -25558,7 +25719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25568,9 +25729,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '401': *25 @@ -25598,7 +25759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &218 + - &221 name: gist_id description: The unique identifier of the gist. in: path @@ -25610,10 +25771,10 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 - '403': &221 + default: *220 + '403': &224 description: Forbidden Gist content: application/json: @@ -25661,7 +25822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *218 + - *221 requestBody: required: true content: @@ -25721,9 +25882,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - updateGist: *217 + updateGist: *220 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25881,7 +26042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -25910,7 +26071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *218 + - *221 - *17 - *19 responses: @@ -25920,7 +26081,7 @@ paths: application/json: schema: type: array - items: &219 + items: &222 title: Gist Comment description: A comment made to a gist. type: object @@ -25955,7 +26116,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *210 + author_association: *213 required: - url - id @@ -26020,7 +26181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *218 + - *221 requestBody: required: true content: @@ -26045,9 +26206,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: &220 + default: &223 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26105,8 +26266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *218 - - &222 + - *221 + - &225 name: comment_id description: The unique identifier of the comment. in: path @@ -26119,12 +26280,12 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '304': *37 '404': *6 - '403': *221 + '403': *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26146,8 +26307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 requestBody: required: true content: @@ -26172,9 +26333,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '404': *6 x-github: githubCloudOnly: false @@ -26191,8 +26352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 responses: '204': description: Response @@ -26215,7 +26376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26316,7 +26477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26326,7 +26487,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -26391,13 +26552,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *218 + - *221 responses: '201': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -26468,7 +26629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *218 + - *221 responses: '204': description: Response if gist is starred @@ -26498,7 +26659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26520,7 +26681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26549,7 +26710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *218 + - *221 - name: sha in: path required: true @@ -26560,9 +26721,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 + default: *220 '422': *15 '404': *6 '403': *29 @@ -26928,7 +27089,7 @@ paths: - closed - all default: open - - &365 + - &367 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26947,7 +27108,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - name: collab in: query required: false @@ -26977,9 +27138,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &366 + default: &368 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27263,8 +27424,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 examples: default: value: @@ -27549,7 +27710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &226 + X-CommonMarker-Version: &229 example: 0.17.4 schema: type: string @@ -27604,7 +27765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *226 + X-CommonMarker-Version: *229 content: text/html: schema: @@ -27633,7 +27794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &229 + - &232 name: account_id description: account_id parameter in: path @@ -27645,7 +27806,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &231 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27675,7 +27836,7 @@ paths: nullable: true id: type: integer - plan: &227 + plan: &230 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27764,7 +27925,7 @@ paths: nullable: true updated_at: type: string - plan: *227 + plan: *230 required: - url - id @@ -27772,7 +27933,7 @@ paths: - login - marketplace_purchase examples: - default: &230 + default: &233 value: url: https://api.github.com/orgs/github type: Organization @@ -27857,9 +28018,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: &231 + default: &234 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27899,14 +28060,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &232 + - &235 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &233 + - &236 name: sort description: The property to sort the results by. in: query @@ -27936,9 +28097,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: &234 + default: &237 value: - url: https://api.github.com/orgs/github type: Organization @@ -28012,15 +28173,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *229 + - *232 responses: '200': description: Response content: application/json: - schema: *228 + schema: *231 examples: - default: *230 + default: *233 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -28052,9 +28213,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *231 + default: *234 headers: Link: *43 '401': *25 @@ -28077,8 +28238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *232 - - *233 + - *235 + - *236 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28098,9 +28259,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: *234 + default: *237 headers: Link: *43 '401': *25 @@ -28364,14 +28525,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: - - &465 + - &467 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &466 + - &468 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28388,7 +28549,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -28433,7 +28594,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &479 + '301': &481 description: Moved permanently content: application/json: @@ -28455,7 +28616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &690 + - &692 name: all description: If `true`, show notifications marked as read. in: query @@ -28463,7 +28624,7 @@ paths: schema: type: boolean default: false - - &691 + - &693 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28472,8 +28633,8 @@ paths: schema: type: boolean default: false - - *213 - - &692 + - *216 + - &694 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: @@ -28498,18 +28659,18 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Thread description: Thread type: object properties: id: type: string - repository: &278 + repository: &280 title: Minimal Repository description: Minimal Repository type: object - properties: &335 + properties: &337 id: type: integer format: int64 @@ -28785,7 +28946,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &411 + security_and_analysis: &413 nullable: true type: object properties: @@ -28867,7 +29028,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &336 + required: &338 - archive_url - assignees_url - blobs_url @@ -28955,7 +29116,7 @@ paths: - url - subscription_url examples: - default: &693 + default: &695 value: - id: '1' repository: @@ -29121,7 +29282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &237 + - &240 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -29135,7 +29296,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -29238,7 +29399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *237 + - *240 responses: '205': description: Reset Content @@ -29261,7 +29422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *237 + - *240 responses: '204': description: No content @@ -29284,13 +29445,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *237 + - *240 responses: '200': description: Response content: application/json: - schema: &238 + schema: &241 title: Thread Subscription description: Thread Subscription type: object @@ -29327,7 +29488,7 @@ paths: - url - subscribed examples: - default: &239 + default: &242 value: subscribed: true ignored: false @@ -29358,7 +29519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *237 + - *240 requestBody: required: false content: @@ -29379,9 +29540,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '304': *37 '403': *29 '401': *25 @@ -29404,7 +29565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *237 + - *240 responses: '204': description: Response @@ -29501,7 +29662,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: example: ; rel="next" @@ -29552,7 +29713,7 @@ paths: type: integer custom_roles: type: array - items: &321 + items: &323 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29600,7 +29761,7 @@ paths: - created_at - updated_at examples: - default: &322 + default: &324 value: id: 8030 name: Security Engineer @@ -29691,8 +29852,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *241 - required: *242 + properties: *244 + required: *245 nullable: true additionalProperties: false examples: @@ -29926,7 +30087,7 @@ paths: type: array items: *151 examples: - default: &699 + default: &701 value: - property_name: environment value: production @@ -29976,7 +30137,7 @@ paths: required: - properties examples: - default: &700 + default: &702 value: properties: - property_name: environment @@ -30013,11 +30174,11 @@ paths: parameters: - *83 - *196 - - *243 + - *198 - *197 - - *244 - - *245 - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -30150,9 +30311,8 @@ paths: parameters: - *83 - *196 - - *247 - - *197 - *248 + - *197 responses: '200': description: Billing usage report response for an organization @@ -30170,6 +30330,140 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-report-for-an-organization + parameters: + - *83 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -30196,7 +30490,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30529,7 +30823,7 @@ paths: - updated_at - archived_at examples: - default-response: &252 + default-response: &254 value: login: github id: 1 @@ -30854,17 +31148,17 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *252 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *253 - - *254 + - *255 + - *256 '409': *114 x-github: githubCloudOnly: false @@ -30919,9 +31213,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 headers: Link: *43 x-github: @@ -30962,7 +31256,7 @@ paths: type: integer repository_cache_usages: type: array - items: &484 + items: &486 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31037,7 +31331,7 @@ paths: type: array items: *44 examples: - default: *257 + default: *259 headers: Link: *43 x-github: @@ -31203,7 +31497,7 @@ paths: application/json: schema: *45 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31295,7 +31589,7 @@ paths: application/json: schema: *48 examples: - default: *259 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31414,9 +31708,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *261 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31452,7 +31746,7 @@ paths: type: array items: *52 examples: - default: *262 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31640,7 +31934,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &263 + schema: &265 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31654,7 +31948,7 @@ paths: required: - include_claim_keys examples: - default: &264 + default: &266 value: include_claim_keys: - repo @@ -31681,15 +31975,15 @@ paths: required: true content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &289 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -31728,7 +32022,7 @@ paths: schema: type: object properties: - enabled_repositories: &266 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31742,7 +32036,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *56 - selected_actions_url: *265 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled_repositories @@ -31784,7 +32078,7 @@ paths: schema: type: object properties: - enabled_repositories: *266 + enabled_repositories: *268 allowed_actions: *56 sha_pinning_required: *57 required: @@ -31820,7 +32114,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: response: summary: Example response @@ -31851,7 +32145,7 @@ paths: required: true content: application/json: - schema: *268 + schema: *270 examples: application/json: value: @@ -31889,7 +32183,7 @@ paths: application/json: schema: *58 examples: - default: *269 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -31946,7 +32240,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: default: *59 '403': *29 @@ -31971,7 +32265,7 @@ paths: required: true content: application/json: - schema: *271 + schema: *273 examples: default: *59 responses: @@ -32023,7 +32317,7 @@ paths: type: array items: *74 examples: - default: &273 + default: &275 value: total_count: 1 repositories: @@ -32208,7 +32502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - &272 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -32237,7 +32531,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: Response @@ -32433,7 +32727,7 @@ paths: type: array items: *74 examples: - default: *273 + default: *275 '403': *29 '404': *6 x-github: @@ -32502,7 +32796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: No content @@ -32529,7 +32823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: No content @@ -32563,7 +32857,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: *65 x-github: @@ -32597,7 +32891,7 @@ paths: required: false content: application/json: - schema: *275 + schema: *277 examples: default: *65 x-github: @@ -32644,7 +32938,7 @@ paths: type: number runner_groups: type: array - items: &276 + items: &278 type: object properties: id: @@ -32832,9 +33126,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &277 + default: &279 value: id: 2 name: octo-runner-group @@ -32876,7 +33170,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: default: value: @@ -32967,9 +33261,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -33033,7 +33327,7 @@ paths: type: array items: *44 examples: - default: *257 + default: *259 headers: Link: *43 x-github: @@ -33074,9 +33368,9 @@ paths: type: number repositories: type: array - items: *278 + items: *280 examples: - default: &815 + default: &817 value: total_count: 1 repositories: @@ -33375,7 +33669,7 @@ paths: parameters: - *83 - *68 - - *272 + - *274 responses: '204': description: Response @@ -33399,7 +33693,7 @@ paths: parameters: - *83 - *68 - - *272 + - *274 responses: '204': description: Response @@ -33617,9 +33911,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33684,7 +33978,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *281 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -33723,7 +34017,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33759,7 +34053,7 @@ paths: application/json: schema: *75 examples: - default: *283 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33790,7 +34084,7 @@ paths: application/json: schema: *72 examples: - default: *284 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33965,7 +34259,7 @@ paths: - *83 - *71 responses: - '200': *285 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -33994,7 +34288,7 @@ paths: parameters: - *83 - *71 - - *286 + - *288 responses: '200': *77 '404': *6 @@ -34039,7 +34333,7 @@ paths: type: integer secrets: type: array - items: &287 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34118,7 +34412,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &506 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34147,7 +34441,7 @@ paths: - key_id - key examples: - default: &505 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34173,7 +34467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *83 - - &288 + - &290 name: secret_name description: The name of the secret. in: path @@ -34185,7 +34479,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: default: value: @@ -34216,7 +34510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -34273,7 +34567,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -34300,7 +34594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -34327,7 +34621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 - *19 - *17 responses: @@ -34345,9 +34639,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: &292 + default: &294 value: total_count: 1 repositories: @@ -34440,7 +34734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -34493,7 +34787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -34527,7 +34821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -34560,7 +34854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &489 + - &491 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)." @@ -34584,7 +34878,7 @@ paths: type: integer variables: type: array - items: &290 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34717,7 +35011,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -34743,7 +35037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *83 - - &291 + - &293 name: name description: The name of the variable. in: path @@ -34755,7 +35049,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: default: value: @@ -34786,7 +35080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *83 - - *291 + - *293 requestBody: required: true content: @@ -34849,7 +35143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *83 - - *291 + - *293 responses: '204': description: Response @@ -34876,7 +35170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *83 - - *291 + - *293 - *19 - *17 responses: @@ -34894,9 +35188,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34923,7 +35217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *83 - - *291 + - *293 requestBody: required: true content: @@ -34973,7 +35267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *83 - - *291 + - *293 - name: repository_id in: path required: true @@ -35008,7 +35302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *83 - - *291 + - *293 - name: repository_id in: path required: true @@ -35066,7 +35360,7 @@ paths: required: true content: application/json: - schema: *293 + schema: *295 examples: default: *81 parameters: @@ -35168,6 +35462,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -35358,12 +35665,12 @@ paths: required: - subject_digests examples: - default: &843 + default: &845 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &844 + withPredicateType: &846 value: subject_digests: - sha256:abc123 @@ -35421,7 +35728,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &845 + default: &847 value: attestations_subject_digests: - sha256:abc: @@ -35770,7 +36077,7 @@ paths: initiator: type: string examples: - default: &518 + default: &520 value: attestations: - bundle: @@ -35896,10 +36203,10 @@ paths: required: false schema: type: string - - *294 - - *295 - *296 - *297 + - *298 + - *299 - *17 responses: '200': @@ -35908,9 +36215,9 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: - default: *299 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35939,7 +36246,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36033,7 +36340,7 @@ paths: subcategory: bypass-requests parameters: - *83 - - &302 + - &304 name: repository_name description: The name of the repository to filter on. in: query @@ -36052,9 +36359,9 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: - default: *301 + default: *303 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -36078,7 +36385,7 @@ paths: subcategory: delegated-bypass parameters: - *83 - - *302 + - *304 - *99 - *100 - *101 @@ -36092,9 +36399,9 @@ paths: application/json: schema: type: array - items: *303 + items: *305 examples: - default: *304 + default: *306 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -36121,7 +36428,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &306 + schema: &308 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36147,7 +36454,7 @@ paths: application/json: schema: type: array - items: &307 + items: &309 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36178,7 +36485,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *305 + items: *307 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36196,7 +36503,7 @@ paths: type: string format: date-time nullable: true - state: *306 + state: *308 contact_link: description: The contact link of the campaign. type: string @@ -36416,9 +36723,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &308 + default: &310 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36501,9 +36808,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 '422': description: Unprocessable Entity @@ -36580,7 +36887,7 @@ paths: type: string format: uri nullable: true - state: *306 + state: *308 examples: default: value: @@ -36590,9 +36897,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '400': description: Bad Request content: @@ -36659,8 +36966,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *83 - - *309 - - *310 + - *311 + - *312 - *104 - *105 - *19 @@ -36671,7 +36978,7 @@ paths: be returned. in: query required: false - schema: *311 + schema: *313 - name: sort description: The property by which to sort the results. in: query @@ -36687,7 +36994,7 @@ paths: be returned. in: query required: false - schema: &545 + schema: &547 type: string description: Severity of a code scanning alert. enum: @@ -36705,9 +37012,9 @@ paths: application/json: schema: type: array - items: *312 + items: *314 examples: - default: *313 + default: *315 headers: Link: *43 '404': *6 @@ -36922,7 +37229,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *314 + code_scanning_options: *316 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -37065,7 +37372,7 @@ paths: application/json: schema: *110 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37093,9 +37400,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '304': *37 '403': *29 '404': *6 @@ -37182,7 +37489,7 @@ paths: application/json: schema: *110 examples: - default: *315 + default: *317 '304': *37 '403': *29 '404': *6 @@ -37604,7 +37911,7 @@ paths: default: value: default_for_new_repos: all - configuration: *315 + configuration: *317 '403': *29 '404': *6 x-github: @@ -37657,13 +37964,13 @@ paths: application/json: schema: type: array - items: *318 + items: *320 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *319 + repository: *321 '403': *29 '404': *6 x-github: @@ -37703,7 +38010,7 @@ paths: type: integer codespaces: type: array - items: &367 + items: &369 type: object title: Codespace description: A codespace. @@ -37728,12 +38035,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *278 + repository: *280 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &574 + properties: &576 name: type: string description: The name of the machine. @@ -37775,7 +38082,7 @@ paths: - ready - in_progress nullable: true - required: &575 + required: &577 - name - display_name - operating_system @@ -37980,7 +38287,7 @@ paths: - pulls_url - recent_folders examples: - default: &368 + default: &370 value: total_count: 3 codespaces: @@ -38604,7 +38911,7 @@ paths: type: integer secrets: type: array - items: &320 + items: &322 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38643,7 +38950,7 @@ paths: - updated_at - visibility examples: - default: &576 + default: &578 value: total_count: 2 secrets: @@ -38681,7 +38988,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &579 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38710,7 +39017,7 @@ paths: - key_id - key examples: - default: &578 + default: &580 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38734,15 +39041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: &580 + default: &582 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38770,7 +39077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -38825,7 +39132,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -38852,7 +39159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -38878,7 +39185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 - *19 - *17 responses: @@ -38896,9 +39203,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -38921,7 +39228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -38972,7 +39279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -39006,7 +39313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -39595,13 +39902,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39813,7 +40120,7 @@ paths: type: integer custom_roles: type: array - items: *321 + items: *323 examples: default: value: @@ -39905,7 +40212,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &325 type: object properties: name: @@ -39946,9 +40253,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -39979,9 +40286,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -40009,7 +40316,7 @@ paths: required: true content: application/json: - schema: &324 + schema: &326 type: object properties: name: @@ -40047,9 +40354,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -40107,7 +40414,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -40121,9 +40428,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -40160,9 +40467,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -40196,7 +40503,7 @@ paths: required: true content: application/json: - schema: *324 + schema: *326 examples: default: value: @@ -40211,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -40273,11 +40580,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *83 - - *325 - - *326 - *327 - *328 - *329 + - *330 + - *331 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40315,8 +40622,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *330 - - *331 + - *332 + - *333 - *106 - *104 - *105 @@ -40328,9 +40635,9 @@ paths: application/json: schema: type: array - items: *332 + items: *334 examples: - default: *333 + default: *335 '304': *37 '400': *14 '403': *29 @@ -40374,7 +40681,7 @@ paths: type: integer secrets: type: array - items: &334 + items: &336 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40451,7 +40758,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &608 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40468,7 +40775,7 @@ paths: - key_id - key examples: - default: &607 + default: &609 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40492,13 +40799,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -40527,7 +40834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -40586,7 +40893,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -40611,7 +40918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -40636,7 +40943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 - *19 - *17 responses: @@ -40654,9 +40961,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40678,7 +40985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -40729,7 +41036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -40761,7 +41068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -40798,7 +41105,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &615 + - &617 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40806,7 +41113,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40814,7 +41121,7 @@ paths: required: false schema: type: string - - &617 + - &619 name: time_period description: |- The time period to filter by. @@ -40830,7 +41137,7 @@ paths: - week - month default: month - - &618 + - &620 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40845,7 +41152,7 @@ paths: - denied - all default: all - - *302 + - *304 - *17 - *19 responses: @@ -40855,7 +41162,7 @@ paths: application/json: schema: type: array - items: &619 + items: &621 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41011,7 +41318,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &620 + default: &622 value: - id: 21 number: 42 @@ -41098,11 +41405,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - *302 + - *304 - *99 - *100 - *101 - - &621 + - &623 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41128,7 +41435,7 @@ paths: application/json: schema: type: array - items: &622 + items: &624 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41249,7 +41556,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &623 + default: &625 value: - id: 21 number: 42 @@ -41337,7 +41644,7 @@ paths: application/json: schema: type: array - items: &378 + items: &380 title: Package description: A software package type: object @@ -41387,8 +41694,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *335 - required: *336 + properties: *337 + required: *338 nullable: true created_at: type: string @@ -41407,7 +41714,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &381 value: - id: 197 name: hello_docker @@ -41495,7 +41802,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -41594,7 +41901,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &462 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41675,7 +41982,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &461 + default: &463 value: group_id: '123' group_name: Octocat admins @@ -41730,7 +42037,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &460 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41767,7 +42074,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &459 + default: &461 value: groups: - group_id: '123' @@ -41811,7 +42118,7 @@ paths: application/json: schema: type: array - items: &359 + items: &361 title: Organization Invitation description: Organization Invitation type: object @@ -41858,7 +42165,7 @@ paths: - invitation_teams_url - node_id examples: - default: &360 + default: &362 value: - id: 1 login: monalisa @@ -41925,7 +42232,7 @@ paths: application/json: schema: type: array - items: &412 + items: &414 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41939,7 +42246,7 @@ paths: - name - description examples: - default: &413 + default: &415 value: - name: add_assignee description: Assign or remove a user @@ -41980,7 +42287,7 @@ paths: application/json: schema: type: array - items: &337 + items: &339 title: Org Hook description: Org Hook type: object @@ -42149,9 +42456,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - default: &338 + default: &340 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42196,7 +42503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *83 - - &339 + - &341 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. @@ -42209,9 +42516,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - default: *338 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -42233,7 +42540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *83 - - *339 + - *341 requestBody: required: false content: @@ -42278,7 +42585,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -42318,7 +42625,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *83 - - *339 + - *341 responses: '204': description: Response @@ -42344,7 +42651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *83 - - *339 + - *341 responses: '200': description: Response @@ -42373,7 +42680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *83 - - *339 + - *341 requestBody: required: false content: @@ -42422,9 +42729,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *83 - - *339 + - *341 - *17 - - *340 + - *342 responses: '200': description: Response @@ -42432,9 +42739,9 @@ paths: application/json: schema: type: array - items: *341 + items: *343 examples: - default: *342 + default: *344 '400': *14 '422': *15 x-github: @@ -42458,16 +42765,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *83 - - *339 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - default: *344 + default: *346 '400': *14 '422': *15 x-github: @@ -42491,7 +42798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *83 - - *339 + - *341 - *16 responses: '202': *39 @@ -42518,7 +42825,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *83 - - *339 + - *341 responses: '204': description: Response @@ -42541,7 +42848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *83 - - &349 + - &351 name: actor_type in: path description: The type of the actor @@ -42554,14 +42861,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &350 + - &352 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &345 + - &347 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`.' @@ -42569,7 +42876,7 @@ paths: required: true schema: type: string - - &346 + - &348 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) @@ -42663,12 +42970,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *83 - - *345 - - *346 + - *347 + - *348 - *19 - *17 - *106 - - &355 + - &357 name: sort description: The property to sort the results by. in: query @@ -42747,14 +43054,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *83 - - *345 - - *346 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42770,7 +43077,7 @@ paths: type: integer format: int64 examples: - default: &348 + default: &350 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42791,23 +43098,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *83 - - &351 + - &353 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *345 - - *346 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42826,18 +43133,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *83 - - *345 - - *346 - - *349 - - *350 + - *347 + - *348 + - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42855,9 +43162,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *83 - - *345 - - *346 - - &352 + - *347 + - *348 + - &354 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42870,7 +43177,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42886,7 +43193,7 @@ paths: type: integer format: int64 examples: - default: &354 + default: &356 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42923,18 +43230,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *83 - - *351 - - *345 - - *346 - - *352 + - *353 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42952,19 +43259,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *83 - - *349 - - *350 - - *345 - - *346 + - *351 - *352 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42982,13 +43289,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *83 - - *351 - - *345 - - *346 + - *353 + - *347 + - *348 - *19 - *17 - *106 - - *355 + - *357 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43069,7 +43376,7 @@ paths: application/json: schema: *22 examples: - default: &654 + default: &656 value: id: 1 account: @@ -43235,12 +43542,12 @@ paths: application/json: schema: anyOf: - - &357 + - &359 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &356 + limit: &358 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43265,7 +43572,7 @@ paths: properties: {} additionalProperties: false examples: - default: &358 + default: &360 value: limit: collaborators_only origin: organization @@ -43294,13 +43601,13 @@ paths: required: true content: application/json: - schema: &655 + schema: &657 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *356 + limit: *358 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43324,9 +43631,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -43404,9 +43711,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *43 '404': *6 @@ -43484,7 +43791,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -43541,7 +43848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *83 - - &361 + - &363 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43575,7 +43882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *83 - - *361 + - *363 - *17 - *19 responses: @@ -43585,9 +43892,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: &377 + default: &379 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43630,7 +43937,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -43715,9 +44022,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &363 + default: &365 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43750,7 +44057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *83 - - &364 + - &366 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43803,9 +44110,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *7 x-github: @@ -43830,7 +44137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *83 - - *364 + - *366 responses: '204': description: Response @@ -43893,7 +44200,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: type description: Can be the name of an issue type. in: query @@ -43912,7 +44219,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -43922,9 +44229,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *366 + default: *368 headers: Link: *43 '404': *6 @@ -43984,7 +44291,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '422': *15 @@ -44083,9 +44390,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *37 '500': *40 '401': *25 @@ -44112,7 +44419,7 @@ paths: parameters: - *83 - *138 - - &369 + - &371 name: codespace_name in: path required: true @@ -44147,15 +44454,15 @@ paths: parameters: - *83 - *138 - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &573 + default: &575 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44411,7 +44718,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Org Membership description: Org Membership type: object @@ -44478,7 +44785,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &371 + response-if-user-has-an-active-admin-membership-with-organization: &373 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44575,9 +44882,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - response-if-user-already-had-membership-with-organization: *371 + response-if-user-already-had-membership-with-organization: *373 '422': *15 '403': *29 x-github: @@ -44648,7 +44955,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Migration description: A migration. type: object @@ -44977,7 +45284,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -45156,7 +45463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *83 - - &373 + - &375 name: migration_id description: The unique identifier of the migration. in: path @@ -45183,7 +45490,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -45353,7 +45660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *83 - - *373 + - *375 responses: '302': description: Response @@ -45375,7 +45682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *83 - - *373 + - *375 responses: '204': description: Response @@ -45399,8 +45706,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *83 - - *373 - - &828 + - *375 + - &830 name: repo_name description: repo_name parameter in: path @@ -45428,7 +45735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *83 - - *373 + - *375 - *17 - *19 responses: @@ -45438,9 +45745,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: &384 + default: &386 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45649,7 +45956,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &374 + items: &376 title: Organization Role description: Organization roles type: object @@ -45856,7 +46163,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -45908,7 +46215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -45934,7 +46241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -45965,7 +46272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -46086,7 +46393,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -46183,7 +46490,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -46341,8 +46648,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *375 - required: *376 + properties: *377 + required: *378 nullable: true type: description: The ownership type of the team @@ -46374,7 +46681,7 @@ paths: - type - parent examples: - default: *377 + default: *379 headers: Link: *43 '404': @@ -46432,13 +46739,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &432 + items: &434 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *375 - required: *376 + properties: *377 + required: *378 name: nullable: true type: string @@ -46533,7 +46840,7 @@ paths: - type - url examples: - default: *203 + default: *206 headers: Link: *43 '404': @@ -46584,7 +46891,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -46726,7 +47033,7 @@ paths: - nuget - container - *83 - - &829 + - &831 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46762,12 +47069,12 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *379 + default: *381 '403': *29 '401': *25 - '400': &831 + '400': &833 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46789,7 +47096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &380 + - &382 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 @@ -46807,7 +47114,7 @@ paths: - docker - nuget - container - - &381 + - &383 name: package_name description: The name of the package. in: path @@ -46820,7 +47127,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -46872,8 +47179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *380 - - *381 + - *382 + - *383 - *83 responses: '204': @@ -46906,8 +47213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *380 - - *381 + - *382 + - *383 - *83 - name: token description: package token @@ -46940,8 +47247,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: - - *380 - - *381 + - *382 + - *383 - *83 - *19 - *17 @@ -46962,7 +47269,7 @@ paths: application/json: schema: type: array - items: &382 + items: &384 title: Package Version description: A version of a software package type: object @@ -47087,10 +47394,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: - - *380 - - *381 + - *382 + - *383 - *83 - - &383 + - &385 name: package_version_id description: Unique identifier of the package version. in: path @@ -47102,7 +47409,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -47138,10 +47445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *380 - - *381 - - *83 + - *382 - *383 + - *83 + - *385 responses: '204': description: Response @@ -47173,10 +47480,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *380 - - *381 - - *83 + - *382 - *383 + - *83 + - *385 responses: '204': description: Response @@ -47206,7 +47513,7 @@ paths: - *83 - *17 - *19 - - &385 + - &387 name: sort description: The property by which to sort the results. in: query @@ -47217,7 +47524,7 @@ paths: - created_at default: created_at - *106 - - &386 + - &388 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47228,7 +47535,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &387 + - &389 name: repository description: The name of the repository to use to filter the results. in: query @@ -47236,7 +47543,7 @@ paths: schema: type: string example: Hello-World - - &388 + - &390 name: permission description: The permission to use to filter the results. in: query @@ -47244,7 +47551,7 @@ paths: schema: type: string example: issues_read - - &389 + - &391 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) @@ -47254,7 +47561,7 @@ paths: schema: type: string format: date-time - - &390 + - &392 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) @@ -47264,7 +47571,7 @@ paths: schema: type: string format: date-time - - &391 + - &393 name: token_id description: The ID of the token in: query @@ -47575,9 +47882,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -47603,14 +47910,14 @@ paths: - *83 - *17 - *19 - - *385 - - *106 - - *386 - *387 + - *106 - *388 - *389 - *390 - *391 + - *392 + - *393 responses: '500': *40 '422': *15 @@ -47890,9 +48197,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -47934,7 +48241,7 @@ paths: type: integer configurations: type: array - items: &392 + items: &394 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48187,7 +48494,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &393 + org-private-registry-with-selected-visibility: &395 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48277,15 +48584,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *83 - - *288 + - *290 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -48307,7 +48614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -48403,7 +48710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -48449,7 +48756,7 @@ paths: application/json: schema: type: array - items: &394 + items: &396 title: Project description: Projects are a way to organize columns and cards of work. @@ -48622,7 +48929,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: default: value: @@ -48660,7 +48967,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &476 + '410': &478 description: Gone content: application/json: @@ -48703,7 +49010,7 @@ paths: application/json: schema: type: array - items: &395 + items: &397 title: Projects v2 Project description: A projects v2 project type: object @@ -48773,7 +49080,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &907 + properties: &909 id: type: number description: The unique identifier of the status update. @@ -48821,7 +49128,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &908 + required: &910 - id - node_id - created_at @@ -48846,7 +49153,7 @@ paths: - deleted_at - deleted_by examples: - default: &396 + default: &398 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -48949,7 +49256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &397 + - &399 name: project_number description: The project's number. in: path @@ -48962,9 +49269,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 headers: Link: *43 '304': *37 @@ -48986,7 +49293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *397 + - *399 - *83 - *17 - *104 @@ -48998,7 +49305,7 @@ paths: application/json: schema: type: array - items: &398 + items: &400 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49145,7 +49452,7 @@ paths: - updated_at - project_url examples: - default: &399 + default: &401 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49188,8 +49495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *397 - - &848 + - *399 + - &850 name: field_id description: The unique identifier of the field. in: path @@ -49202,9 +49509,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 headers: Link: *43 '304': *37 @@ -49227,7 +49534,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: - - *397 + - *399 - *83 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -49260,7 +49567,7 @@ paths: application/json: schema: type: array - items: &405 + items: &407 title: Projects v2 Item description: An item belonging to a project type: object @@ -49276,7 +49583,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &403 + content_type: &405 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49326,7 +49633,7 @@ paths: - updated_at - archived_at examples: - default: &406 + default: &408 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50021,7 +50328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *397 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -50058,7 +50365,7 @@ paths: description: Response content: application/json: - schema: &849 + schema: &851 title: Projects v2 Item description: An item belonging to a project type: object @@ -50071,8 +50378,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *223 - - &588 + - *226 + - &590 title: Pull Request Simple description: Pull Request Simple type: object @@ -50178,8 +50485,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 nullable: true active_lock_reason: type: string @@ -50224,7 +50531,7 @@ paths: nullable: true requested_teams: type: array - items: *305 + items: *307 nullable: true head: type: object @@ -50275,7 +50582,7 @@ paths: _links: type: object properties: - comments: &402 + comments: &404 title: Link description: Hypermedia Link type: object @@ -50284,13 +50591,13 @@ paths: type: string required: - href - commits: *402 - statuses: *402 - html: *402 - issue: *402 - review_comments: *402 - review_comment: *402 - self: *402 + commits: *404 + statuses: *404 + html: *404 + issue: *404 + review_comments: *404 + review_comment: *404 + self: *404 required: - comments - commits @@ -50300,8 +50607,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: &702 + author_association: *213 + auto_merge: &704 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50403,7 +50710,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *403 + content_type: *405 creator: *4 created_at: type: string @@ -50436,7 +50743,7 @@ paths: - updated_at - archived_at examples: - issue: &404 + issue: &406 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50491,7 +50798,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *404 + pull_request: *406 '304': *37 '403': *29 '401': *25 @@ -50511,9 +50818,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: - - *397 + - *399 - *83 - - &407 + - &409 name: item_id description: The unique identifier of the project item. in: path @@ -50539,9 +50846,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 headers: Link: *43 '304': *37 @@ -50562,9 +50869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *397 + - *399 - *83 - - *407 + - *409 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50634,13 +50941,13 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - text_field: *406 - number_field: *406 - date_field: *406 - single_select_field: *406 - iteration_field: *406 + text_field: *408 + number_field: *408 + date_field: *408 + single_select_field: *408 + iteration_field: *408 '401': *25 '403': *29 '404': *6 @@ -50660,9 +50967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *397 + - *399 - *83 - - *407 + - *409 responses: '204': description: Response @@ -50825,7 +51132,7 @@ paths: required: true content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -51050,7 +51357,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -51188,9 +51495,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -51393,7 +51700,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: Full Repository description: Full Repository type: object @@ -51670,8 +51977,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *409 - required: *410 + properties: *411 + required: *412 nullable: true temp_clone_token: type: string @@ -51758,8 +52065,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -51786,7 +52093,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &593 + properties: &595 url: type: string format: uri @@ -51802,12 +52109,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &594 + required: &596 - url - key - name - html_url - security_and_analysis: *411 + security_and_analysis: *413 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -51891,7 +52198,7 @@ paths: - network_count - subscribers_count examples: - default: &480 + default: &482 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52417,9 +52724,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: *413 + default: *415 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52444,7 +52751,7 @@ paths: - *83 - *17 - *19 - - &725 + - &727 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52535,11 +52842,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *414 + conditions: *416 rules: type: array description: An array of rules within the ruleset. - items: &416 + items: &418 title: Repository Rule type: object description: A repository rule. @@ -52603,7 +52910,7 @@ paths: application/json: schema: *185 examples: - default: &415 + default: &417 value: id: 21 name: super cool ruleset @@ -52658,7 +52965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &727 + - &729 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 @@ -52668,16 +52975,16 @@ paths: schema: type: string x-multi-segment: true - - *302 + - *304 - *101 - - &728 + - &730 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 - - &729 + - &731 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52697,7 +53004,7 @@ paths: description: Response content: application/json: - schema: &730 + schema: &732 title: Rule Suites description: Response type: array @@ -52752,7 +53059,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &731 + default: &733 value: - id: 21 actor_id: 12 @@ -52796,7 +53103,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &732 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52812,7 +53119,7 @@ paths: description: Response content: application/json: - schema: &733 + schema: &735 title: Rule Suite description: Response type: object @@ -52911,7 +53218,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &734 + default: &736 value: id: 21 actor_id: 12 @@ -52986,7 +53293,7 @@ paths: application/json: schema: *185 examples: - default: *415 + default: *417 '404': *6 '500': *40 put: @@ -53035,11 +53342,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *414 + conditions: *416 rules: description: An array of rules within the ruleset. type: array - items: *416 + items: *418 examples: default: value: @@ -53076,7 +53383,7 @@ paths: application/json: schema: *185 examples: - default: *415 + default: *417 '404': *6 '500': *40 delete: @@ -53135,7 +53442,7 @@ paths: type: array items: *189 examples: - default: *417 + default: *419 '404': *6 '500': *40 x-github: @@ -53172,7 +53479,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: default: value: @@ -53235,14 +53542,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *419 - - *420 - *421 - *422 + - *423 + - *424 - *106 - *19 - *17 - - &736 + - &738 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 @@ -53252,7 +53559,7 @@ paths: required: false schema: type: string - - &737 + - &739 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 @@ -53262,10 +53569,10 @@ paths: required: false schema: type: string - - *423 - - *424 - *425 - *426 + - *427 + - *428 responses: '200': description: Response @@ -53273,9 +53580,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *43 '404': *6 @@ -53310,9 +53617,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 '403': *29 '404': *6 patch: @@ -53465,7 +53772,7 @@ paths: application/json: schema: type: array - items: &758 + items: &760 description: A repository security advisory. type: object properties: @@ -53685,7 +53992,7 @@ paths: login: type: string description: The username of the user credited. - type: *431 + type: *433 credits_detailed: type: array nullable: true @@ -53695,7 +54002,7 @@ paths: type: object properties: user: *4 - type: *431 + type: *433 state: type: string description: The state of the user's acceptance of the @@ -53719,7 +54026,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *305 + items: *307 private_fork: readOnly: true nullable: true @@ -53756,7 +54063,7 @@ paths: - private_fork additionalProperties: false examples: - default: &759 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54143,9 +54450,9 @@ paths: application/json: schema: type: array - items: *432 + items: *434 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54169,7 +54476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54195,7 +54502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54230,9 +54537,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54257,7 +54564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *435 + - *437 - *17 - *19 responses: @@ -54265,9 +54572,9 @@ paths: description: Success content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54295,9 +54602,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54325,9 +54632,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54471,9 +54778,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54542,7 +54849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: Response @@ -54565,7 +54872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: Response @@ -54608,7 +54915,7 @@ paths: type: array items: *143 examples: - default: *442 + default: *444 headers: Link: *43 x-github: @@ -54809,15 +55116,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *83 - - *443 + - *445 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 headers: Link: *43 x-github: @@ -54855,7 +55162,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -54901,7 +55208,7 @@ paths: type: string nullable: true examples: - default: &468 + default: &470 value: groups: - group_id: '123' @@ -54947,7 +55254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *83 - - *206 + - *209 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -54979,13 +55286,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55013,9 +55320,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 headers: Link: *43 '403': *29 @@ -55109,7 +55416,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &448 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55172,8 +55479,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *375 - required: *376 + properties: *377 + required: *378 nullable: true members_count: type: integer @@ -55436,7 +55743,7 @@ paths: - repos_count - organization examples: - default: &447 + default: &449 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55507,15 +55814,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 x-github: githubCloudOnly: false @@ -55537,7 +55844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *83 - - *206 + - *209 requestBody: required: false content: @@ -55599,16 +55906,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '201': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 '422': *15 '403': *29 @@ -55634,7 +55941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -55661,7 +55968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *83 - - *206 + - *209 - *106 - *17 - *19 @@ -55678,7 +55985,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -55757,7 +56064,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *211 + reactions: *214 required: - author - body @@ -55777,7 +56084,7 @@ paths: - updated_at - url examples: - default: &802 + default: &804 value: - author: login: octocat @@ -55852,7 +56159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -55886,9 +56193,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: &449 + default: &451 value: author: login: octocat @@ -55961,8 +56268,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *83 - - *206 - - &450 + - *209 + - &452 name: discussion_number description: The number that identifies the discussion. in: path @@ -55974,9 +56281,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55999,8 +56306,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 requestBody: required: false content: @@ -56023,9 +56330,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: &803 + default: &805 value: author: login: octocat @@ -56096,8 +56403,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 responses: '204': description: Response @@ -56124,8 +56431,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *83 - - *206 - - *450 + - *209 + - *452 - *106 - *17 - *19 @@ -56136,7 +56443,7 @@ paths: application/json: schema: type: array - items: &451 + items: &453 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56193,7 +56500,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *211 + reactions: *214 required: - author - body @@ -56208,7 +56515,7 @@ paths: - updated_at - url examples: - default: &804 + default: &806 value: - author: login: octocat @@ -56277,8 +56584,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *83 - - *206 - - *450 + - *209 + - *452 requestBody: required: true content: @@ -56300,9 +56607,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: &452 + default: &454 value: author: login: octocat @@ -56369,9 +56676,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *83 - - *206 - - *450 - - &453 + - *209 + - *452 + - &455 name: comment_number description: The number that identifies the comment. in: path @@ -56383,9 +56690,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56408,9 +56715,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 requestBody: required: true content: @@ -56432,9 +56739,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: &805 + default: &807 value: author: login: octocat @@ -56499,9 +56806,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 responses: '204': description: Response @@ -56528,9 +56835,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 - 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. @@ -56556,7 +56863,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -56599,7 +56906,7 @@ paths: - content - created_at examples: - default: &456 + default: &458 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56650,9 +56957,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 requestBody: required: true content: @@ -56685,9 +56992,9 @@ paths: team discussion comment content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56716,9 +57023,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56742,10 +57049,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *83 - - *206 - - *450 - - *453 - - &457 + - *209 + - *452 + - *455 + - &459 name: reaction_id description: The unique identifier of the reaction. in: path @@ -56778,8 +57085,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 - 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. @@ -56805,9 +57112,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 x-github: @@ -56834,8 +57141,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 requestBody: required: true content: @@ -56867,16 +57174,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56900,9 +57207,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *83 - - *206 - - *450 - - *457 + - *209 + - *452 + - *459 responses: '204': description: Response @@ -56926,15 +57233,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *459 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56954,7 +57261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -56977,9 +57284,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *461 + default: *463 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56999,7 +57306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -57024,7 +57331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57034,9 +57341,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *43 x-github: @@ -57059,7 +57366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *83 - - *206 + - *209 - name: role description: Filters members returned by their role in the team. in: query @@ -57082,7 +57389,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -57113,14 +57420,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '200': description: Response content: application/json: - schema: &462 + schema: &464 title: Team Membership description: Team Membership type: object @@ -57147,7 +57454,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &806 + response-if-user-is-a-team-maintainer: &808 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57184,7 +57491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 requestBody: required: false @@ -57210,9 +57517,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: &807 + response-if-users-membership-with-team-is-now-pending: &809 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57248,7 +57555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '204': @@ -57275,7 +57582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57285,7 +57592,7 @@ paths: application/json: schema: type: array - items: &463 + items: &465 title: Team Project description: A team's access to a project. type: object @@ -57353,7 +57660,7 @@ paths: - updated_at - permissions examples: - default: &808 + default: &810 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57417,8 +57724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *83 - - *206 - - &464 + - *209 + - &466 name: project_id description: The unique identifier of the project. in: path @@ -57430,9 +57737,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: - default: &809 + default: &811 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57495,8 +57802,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *83 - - *206 - - *464 + - *209 + - *466 requestBody: required: false content: @@ -57563,8 +57870,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *83 - - *206 - - *464 + - *209 + - *466 responses: '204': description: Response @@ -57592,7 +57899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57602,9 +57909,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -57634,15 +57941,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *83 - - *206 - - *465 - - *466 + - *209 + - *467 + - *468 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &810 + schema: &812 title: Team Repository description: A team's access to a repository. type: object @@ -57665,8 +57972,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true forks: type: integer @@ -58212,9 +58519,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *83 - - *206 - - *465 - - *466 + - *209 + - *467 + - *468 requestBody: required: false content: @@ -58260,9 +58567,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *83 - - *206 - - *465 - - *466 + - *209 + - *467 + - *468 responses: '204': description: Response @@ -58289,15 +58596,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58320,7 +58627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -58363,7 +58670,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default: value: @@ -58396,7 +58703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -58406,9 +58713,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - response-if-child-teams-exist: &811 + response-if-child-teams-exist: &813 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58535,7 +58842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &469 + - &471 name: card_id description: The unique identifier of the card. in: path @@ -58547,7 +58854,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 title: Project Card description: Project cards represent a scope of work. type: object @@ -58614,7 +58921,7 @@ paths: - created_at - updated_at examples: - default: &471 + default: &473 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -58670,7 +58977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *469 + - *471 requestBody: required: false content: @@ -58697,9 +59004,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '304': *37 '403': *29 '401': *25 @@ -58726,7 +59033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *469 + - *471 responses: '204': description: Response @@ -58770,7 +59077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *469 + - *471 requestBody: required: true content: @@ -58881,7 +59188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &472 + - &474 name: column_id description: The unique identifier of the column. in: path @@ -58893,7 +59200,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &475 title: Project Column description: Project columns contain cards of work. type: object @@ -58939,7 +59246,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &476 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -58974,7 +59281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *472 + - *474 requestBody: required: true content: @@ -58998,9 +59305,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: - default: *474 + default: *476 '304': *37 '403': *29 '401': *25 @@ -59025,7 +59332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *472 + - *474 responses: '204': description: Response @@ -59054,7 +59361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *472 + - *474 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59075,7 +59382,7 @@ paths: application/json: schema: type: array - items: *470 + items: *472 examples: default: value: @@ -59134,7 +59441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *472 + - *474 requestBody: required: true content: @@ -59174,9 +59481,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '304': *37 '403': *29 '401': *25 @@ -59186,8 +59493,8 @@ paths: application/json: schema: oneOf: - - *253 - - *254 + - *255 + - *256 '503': description: Response content: @@ -59232,7 +59539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *472 + - *474 requestBody: required: true content: @@ -59292,15 +59599,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *464 + - *466 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &475 + default: &477 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59357,7 +59664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *464 + - *466 requestBody: required: false content: @@ -59403,9 +59710,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *475 + default: *477 '404': description: Not Found if the authenticated user does not have access to the project @@ -59426,7 +59733,7 @@ paths: items: type: string '401': *25 - '410': *476 + '410': *478 '422': *7 x-github: githubCloudOnly: false @@ -59449,7 +59756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *464 + - *466 responses: '204': description: Delete Success @@ -59470,7 +59777,7 @@ paths: items: type: string '401': *25 - '410': *476 + '410': *478 '404': *6 x-github: githubCloudOnly: false @@ -59494,7 +59801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *464 + - *466 - 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 @@ -59521,7 +59828,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -59551,7 +59858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *464 + - *466 - *138 requestBody: required: false @@ -59604,7 +59911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *464 + - *466 - *138 responses: '204': @@ -59636,7 +59943,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: - - *464 + - *466 - *138 responses: '200': @@ -59696,115 +60003,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns - parameters: - - *464 - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *473 - examples: - default: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - headers: - Link: *43 - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column - parameters: - - *464 - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: *473 - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': *37 - '403': *29 - '422': *7 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -59846,7 +60044,7 @@ paths: resources: type: object properties: - core: &477 + core: &479 title: Rate Limit type: object properties: @@ -59863,21 +60061,21 @@ paths: - remaining - reset - used - graphql: *477 - search: *477 - code_search: *477 - source_import: *477 - integration_manifest: *477 - code_scanning_upload: *477 - actions_runner_registration: *477 - scim: *477 - dependency_snapshots: *477 - dependency_sbom: *477 - code_scanning_autofix: *477 + graphql: *479 + search: *479 + code_search: *479 + source_import: *479 + integration_manifest: *479 + code_scanning_upload: *479 + actions_runner_registration: *479 + scim: *479 + dependency_snapshots: *479 + dependency_sbom: *479 + code_scanning_autofix: *479 required: - core - search - rate: *477 + rate: *479 required: - rate - resources @@ -59982,14 +60180,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: default-response: summary: Default response @@ -60494,7 +60692,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *479 + '301': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60512,8 +60710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -60770,10 +60968,10 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 - '307': &481 + default: *482 + '307': &483 description: Temporary Redirect content: application/json: @@ -60802,8 +61000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -60825,7 +61023,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': *481 + '307': *483 '404': *6 '409': *114 x-github: @@ -60849,11 +61047,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - - &496 + - &498 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -60876,7 +61074,7 @@ paths: type: integer artifacts: type: array - items: &482 + items: &484 title: Artifact description: An artifact type: object @@ -60954,7 +61152,7 @@ paths: - expires_at - updated_at examples: - default: &497 + default: &499 value: total_count: 2 artifacts: @@ -61015,9 +61213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *465 - - *466 - - &483 + - *467 + - *468 + - &485 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61029,7 +61227,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -61067,9 +61265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *465 - - *466 - - *483 + - *467 + - *468 + - *485 responses: '204': description: Response @@ -61093,9 +61291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *465 - - *466 - - *483 + - *467 + - *468 + - *485 - name: archive_format in: path required: true @@ -61109,7 +61307,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': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61132,14 +61330,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -61165,11 +61363,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: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - - &485 + - &487 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 @@ -61203,7 +61401,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &488 title: Repository actions caches description: Repository actions caches type: object @@ -61245,7 +61443,7 @@ paths: - total_count - actions_caches examples: - default: &487 + default: &489 value: total_count: 1 actions_caches: @@ -61277,23 +61475,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: - - *465 - - *466 + - *467 + - *468 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *485 + - *487 responses: '200': description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *487 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61313,8 +61511,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: - - *465 - - *466 + - *467 + - *468 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61345,9 +61543,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: - - *465 - - *466 - - &488 + - *467 + - *468 + - &490 name: job_id description: The unique identifier of the job. in: path @@ -61359,7 +61557,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &502 title: Job description: Information of a job execution in a workflow run type: object @@ -61666,9 +61864,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: - - *465 - - *466 - - *488 + - *467 + - *468 + - *490 responses: '302': description: Response @@ -61696,9 +61894,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: - - *465 - - *466 - - *488 + - *467 + - *468 + - *490 requestBody: required: false content: @@ -61719,7 +61917,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -61743,8 +61941,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Status response @@ -61794,8 +61992,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -61829,7 +62027,7 @@ paths: description: Empty response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -61858,8 +62056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -61877,7 +62075,7 @@ paths: type: integer secrets: type: array - items: &502 + items: &504 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61897,7 +62095,7 @@ paths: - created_at - updated_at examples: - default: &503 + default: &505 value: total_count: 2 secrets: @@ -61930,9 +62128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *465 - - *466 - - *489 + - *467 + - *468 + - *491 - *19 responses: '200': @@ -61949,7 +62147,7 @@ paths: type: integer variables: type: array - items: &506 + items: &508 title: Actions Variable type: object properties: @@ -61979,7 +62177,7 @@ paths: - created_at - updated_at examples: - default: &507 + default: &509 value: total_count: 2 variables: @@ -62012,8 +62210,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62022,11 +62220,11 @@ paths: schema: type: object properties: - enabled: &490 + enabled: &492 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 - selected_actions_url: *265 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled @@ -62057,8 +62255,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -62069,7 +62267,7 @@ paths: schema: type: object properties: - enabled: *490 + enabled: *492 allowed_actions: *56 sha_pinning_required: *57 required: @@ -62102,14 +62300,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: &491 + schema: &493 type: object properties: access_level: @@ -62127,7 +62325,7 @@ paths: required: - access_level examples: - default: &492 + default: &494 value: access_level: organization x-github: @@ -62152,15 +62350,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 responses: '204': description: Response @@ -62184,14 +62382,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *267 + schema: *269 examples: default: value: @@ -62215,8 +62413,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Empty response for successful settings update @@ -62226,7 +62424,7 @@ paths: required: true content: application/json: - schema: *268 + schema: *270 examples: default: summary: Set retention days @@ -62250,8 +62448,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62259,7 +62457,7 @@ paths: application/json: schema: *58 examples: - default: *269 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -62278,8 +62476,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -62313,14 +62511,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *270 + schema: *272 examples: default: *59 '403': *29 @@ -62342,13 +62540,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: application/json: - schema: *271 + schema: *273 examples: default: *59 responses: @@ -62374,8 +62572,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62406,8 +62604,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -62439,14 +62637,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: default: *65 x-github: @@ -62469,8 +62667,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Success response @@ -62481,7 +62679,7 @@ paths: required: true content: application/json: - schema: *275 + schema: *277 examples: default: *65 x-github: @@ -62510,8 +62708,8 @@ paths: in: query schema: type: string - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -62555,8 +62753,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62564,9 +62762,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62588,8 +62786,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -62632,7 +62830,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *281 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -62663,8 +62861,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: - - *465 - - *466 + - *467 + - *468 responses: '201': description: Response @@ -62672,7 +62870,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62700,8 +62898,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: - - *465 - - *466 + - *467 + - *468 responses: '201': description: Response @@ -62709,7 +62907,7 @@ paths: application/json: schema: *75 examples: - default: *283 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62731,8 +62929,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: '200': @@ -62741,7 +62939,7 @@ paths: application/json: schema: *72 examples: - default: *284 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62762,8 +62960,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: '204': @@ -62790,8 +62988,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: '200': *77 @@ -62816,8 +63014,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: - - *465 - - *466 + - *467 + - *468 - *71 requestBody: required: true @@ -62866,8 +63064,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: - - *465 - - *466 + - *467 + - *468 - *71 requestBody: required: true @@ -62917,11 +63115,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: - '200': *285 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -62948,10 +63146,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: - - *465 - - *466 + - *467 + - *468 - *71 - - *286 + - *288 responses: '200': *77 '404': *6 @@ -62979,9 +63177,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: - - *465 - - *466 - - &510 + - *467 + - *468 + - &512 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. @@ -62989,7 +63187,7 @@ paths: required: false schema: type: string - - &511 + - &513 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62997,7 +63195,7 @@ paths: required: false schema: type: string - - &512 + - &514 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63006,7 +63204,7 @@ paths: required: false schema: type: string - - &513 + - &515 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 @@ -63033,7 +63231,7 @@ paths: - pending - *17 - *19 - - &514 + - &516 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)." @@ -63042,7 +63240,7 @@ paths: schema: type: string format: date-time - - &493 + - &495 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63051,13 +63249,13 @@ paths: schema: type: boolean default: false - - &515 + - &517 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &516 + - &518 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63080,7 +63278,7 @@ paths: type: integer workflow_runs: type: array - items: &494 + items: &496 title: Workflow Run description: An invocation of a workflow type: object @@ -63175,7 +63373,7 @@ paths: that triggered the run. type: array nullable: true - items: &535 + items: &537 title: Pull Request Minimal type: object properties: @@ -63294,7 +63492,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &539 + properties: &541 id: type: string description: SHA for the commit @@ -63345,7 +63543,7 @@ paths: - name - email nullable: true - required: &540 + required: &542 - id - tree_id - message @@ -63353,8 +63551,8 @@ paths: - author - committer nullable: true - repository: *278 - head_repository: *278 + repository: *280 + head_repository: *280 head_repository_id: type: integer example: 5 @@ -63392,7 +63590,7 @@ paths: - workflow_url - pull_requests examples: - default: &517 + default: &519 value: total_count: 1 workflow_runs: @@ -63628,24 +63826,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *465 - - *466 - - &495 + - *467 + - *468 + - &497 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *493 + - *495 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &498 + default: &500 value: id: 30433642 name: Build @@ -63886,9 +64084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '204': description: Response @@ -63911,9 +64109,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '200': description: Response @@ -64032,15 +64230,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64067,12 +64265,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 - *17 - *19 - - *496 + - *498 responses: '200': description: Response @@ -64088,9 +64286,9 @@ paths: type: integer artifacts: type: array - items: *482 + items: *484 examples: - default: *497 + default: *499 headers: Link: *43 x-github: @@ -64114,25 +64312,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *465 - - *466 - - *495 - - &499 + - *467 + - *468 + - *497 + - &501 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *493 + - *495 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64155,10 +64353,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: - - *465 - - *466 - - *495 - - *499 + - *467 + - *468 + - *497 + - *501 - *17 - *19 responses: @@ -64176,9 +64374,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *502 examples: - default: &501 + default: &503 value: total_count: 1 jobs: @@ -64291,10 +64489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *465 - - *466 - - *495 - - *499 + - *467 + - *468 + - *497 + - *501 responses: '302': description: Response @@ -64322,15 +64520,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '202': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64357,9 +64555,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: true content: @@ -64426,15 +64624,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '202': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64461,9 +64659,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 - 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 @@ -64493,9 +64691,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *502 examples: - default: *501 + default: *503 headers: Link: *43 x-github: @@ -64520,9 +64718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '302': description: Response @@ -64549,9 +64747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '204': description: Response @@ -64578,9 +64776,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '200': description: Response @@ -64640,7 +64838,7 @@ paths: items: type: object properties: - type: &624 + type: &626 type: string description: The type of reviewer. enum: @@ -64650,7 +64848,7 @@ paths: reviewer: anyOf: - *4 - - *305 + - *307 required: - environment - wait_timer @@ -64725,9 +64923,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: true content: @@ -64774,7 +64972,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64862,8 +65060,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -64880,7 +65078,7 @@ paths: - created_at - updated_at examples: - default: &611 + default: &613 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64936,9 +65134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: false content: @@ -64959,7 +65157,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64982,9 +65180,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: false content: @@ -65005,7 +65203,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -65038,9 +65236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '200': description: Response @@ -65177,8 +65375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -65196,9 +65394,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *504 examples: - default: *503 + default: *505 headers: Link: *43 x-github: @@ -65223,16 +65421,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: *505 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65254,17 +65452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '200': description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: &637 + default: &639 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65290,9 +65488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 requestBody: required: true content: @@ -65323,7 +65521,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -65349,9 +65547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '204': description: Response @@ -65376,9 +65574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *465 - - *466 - - *489 + - *467 + - *468 + - *491 - *19 responses: '200': @@ -65395,9 +65593,9 @@ paths: type: integer variables: type: array - items: *506 + items: *508 examples: - default: *507 + default: *509 headers: Link: *43 x-github: @@ -65420,8 +65618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -65448,7 +65646,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -65473,17 +65671,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *465 - - *466 - - *291 + - *467 + - *468 + - *293 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: &638 + default: &640 value: name: USERNAME value: octocat @@ -65509,9 +65707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *465 - - *466 - - *291 + - *467 + - *468 + - *293 requestBody: required: true content: @@ -65553,9 +65751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *465 - - *466 - - *291 + - *467 + - *468 + - *293 responses: '204': description: Response @@ -65580,8 +65778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -65599,7 +65797,7 @@ paths: type: integer workflows: type: array - items: &508 + items: &510 title: Workflow description: A GitHub Actions workflow type: object @@ -65706,9 +65904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *465 - - *466 - - &509 + - *467 + - *468 + - &511 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65723,7 +65921,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -65756,9 +65954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '204': description: Response @@ -65783,9 +65981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '204': description: Response @@ -65836,9 +66034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '204': description: Response @@ -65865,19 +66063,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: - - *465 - - *466 - - *509 - - *510 + - *467 + - *468 - *511 - *512 - *513 - - *17 - - *19 - *514 - - *493 - *515 + - *17 + - *19 - *516 + - *495 + - *517 + - *518 responses: '200': description: Response @@ -65893,9 +66091,9 @@ paths: type: integer workflow_runs: type: array - items: *494 + items: *496 examples: - default: *517 + default: *519 headers: Link: *43 x-github: @@ -65928,9 +66126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '200': description: Response @@ -65991,8 +66189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *465 - - *466 + - *467 + - *468 - *106 - *17 - *104 @@ -66156,8 +66354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -66169,7 +66367,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -66194,8 +66392,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: - - *465 - - *466 + - *467 + - *468 - name: assignee in: path required: true @@ -66231,8 +66429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -66344,8 +66542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *104 - *105 @@ -66402,7 +66600,7 @@ paths: initiator: type: string examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66422,8 +66620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -66431,7 +66629,7 @@ paths: application/json: schema: type: array - items: &519 + items: &521 title: Autolink reference description: An autolink reference. type: object @@ -66485,8 +66683,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -66525,9 +66723,9 @@ paths: description: response content: application/json: - schema: *519 + schema: *521 examples: - default: &520 + default: &522 value: id: 1 key_prefix: TICKET- @@ -66558,9 +66756,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: - - *465 - - *466 - - &521 + - *467 + - *468 + - &523 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66572,9 +66770,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -66594,9 +66792,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: - - *465 - - *466 - - *521 + - *467 + - *468 + - *523 responses: '204': description: Response @@ -66620,8 +66818,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response if Dependabot is enabled @@ -66669,8 +66867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -66691,8 +66889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -66712,8 +66910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *465 - - *466 + - *467 + - *468 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66751,7 +66949,7 @@ paths: - url protected: type: boolean - protection: &523 + protection: &525 title: Branch Protection description: Branch Protection type: object @@ -66793,7 +66991,7 @@ paths: required: - contexts - checks - enforce_admins: &526 + enforce_admins: &528 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66808,7 +67006,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &528 + required_pull_request_reviews: &530 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66829,7 +67027,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *305 + items: *307 apps: description: The list of apps with review dismissal access. @@ -66858,7 +67056,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *305 + items: *307 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66884,7 +67082,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &525 + restrictions: &527 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66947,7 +67145,7 @@ paths: type: string teams: type: array - items: *305 + items: *307 apps: type: array items: @@ -67161,9 +67359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *465 - - *466 - - &524 + - *467 + - *468 + - &526 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). @@ -67177,14 +67375,14 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &584 + commit: &586 title: Commit description: Commit type: object @@ -67218,7 +67416,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &522 + properties: &524 name: type: string example: '"Chris Wanstrath"' @@ -67233,7 +67431,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *524 nullable: true message: type: string @@ -67254,7 +67452,7 @@ paths: required: - sha - url - verification: &644 + verification: &646 title: Verification type: object properties: @@ -67288,12 +67486,12 @@ paths: nullable: true oneOf: - *4 - - *289 + - *291 committer: nullable: true oneOf: - *4 - - *289 + - *291 parents: type: array items: @@ -67324,7 +67522,7 @@ paths: type: integer files: type: array - items: &597 + items: &599 title: Diff Entry description: Diff Entry type: object @@ -67408,7 +67606,7 @@ paths: - self protected: type: boolean - protection: *523 + protection: *525 protection_url: type: string format: uri @@ -67515,7 +67713,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *479 + '301': *481 '404': *6 x-github: githubCloudOnly: false @@ -67537,15 +67735,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -67739,9 +67937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -67996,7 +68194,7 @@ paths: url: type: string format: uri - required_status_checks: &531 + required_status_checks: &533 title: Status Check Policy description: Status Check Policy type: object @@ -68072,7 +68270,7 @@ paths: items: *4 teams: type: array - items: *305 + items: *307 apps: type: array items: *5 @@ -68090,7 +68288,7 @@ paths: items: *4 teams: type: array - items: *305 + items: *307 apps: type: array items: *5 @@ -68148,7 +68346,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *525 + restrictions: *527 required_conversation_resolution: type: object properties: @@ -68260,9 +68458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68287,17 +68485,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: &527 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68319,17 +68517,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: *527 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68348,9 +68546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68375,17 +68573,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &529 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68481,9 +68679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -68581,9 +68779,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -68604,9 +68802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68633,17 +68831,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: &530 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68666,17 +68864,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -68696,9 +68894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68723,17 +68921,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: &532 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68759,9 +68957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -68813,9 +69011,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *532 + default: *534 '404': *6 '422': *15 x-github: @@ -68837,9 +69035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68863,9 +69061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -68899,9 +69097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -68968,9 +69166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -69034,9 +69232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: content: application/json: @@ -69102,15 +69300,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -69201,9 +69399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -69226,9 +69424,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: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -69238,7 +69436,7 @@ paths: type: array items: *5 examples: - default: &533 + default: &535 value: - id: 1 slug: octoapp @@ -69295,9 +69493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69331,7 +69529,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -69352,9 +69550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69388,7 +69586,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -69409,9 +69607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69445,7 +69643,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -69467,9 +69665,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: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -69477,9 +69675,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '404': *6 x-github: githubCloudOnly: false @@ -69499,9 +69697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -69537,9 +69735,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69560,9 +69758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -69598,9 +69796,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69621,9 +69819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: content: application/json: @@ -69658,9 +69856,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69682,9 +69880,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: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -69694,7 +69892,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '404': *6 x-github: githubCloudOnly: false @@ -69718,9 +69916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69753,7 +69951,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69778,9 +69976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69813,7 +70011,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69838,9 +70036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69873,7 +70071,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69900,9 +70098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69924,7 +70122,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -70038,8 +70236,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *465 - - *466 + - *467 + - *468 - *99 - *100 - *101 @@ -70053,9 +70251,9 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: - default: *301 + default: *303 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70075,8 +70273,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_request_number in: path required: true @@ -70090,7 +70288,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -70149,8 +70347,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - *99 - *100 - *101 @@ -70164,9 +70362,9 @@ paths: application/json: schema: type: array - items: *303 + items: *305 examples: - default: *304 + default: *306 '404': *6 '403': *29 '500': *40 @@ -70190,8 +70388,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_request_number in: path required: true @@ -70203,7 +70401,7 @@ paths: description: A single bypass request. content: application/json: - schema: *303 + schema: *305 examples: default: value: @@ -70261,8 +70459,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_request_number in: path required: true @@ -70333,8 +70531,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_response_id in: path required: true @@ -70367,8 +70565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -70647,7 +70845,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &538 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70758,16 +70956,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *535 - deployment: &865 + items: *537 + deployment: &867 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70834,8 +71032,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -71047,9 +71245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *465 - - *466 - - &537 + - *467 + - *468 + - &539 name: check_run_id description: The unique identifier of the check run. in: path @@ -71061,9 +71259,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &538 + default: &540 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71163,9 +71361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *465 - - *466 - - *537 + - *467 + - *468 + - *539 requestBody: required: true content: @@ -71405,9 +71603,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *538 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71427,9 +71625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *465 - - *466 - - *537 + - *467 + - *468 + - *539 - *17 - *19 responses: @@ -71524,15 +71722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *465 - - *466 - - *537 + - *467 + - *468 + - *539 responses: '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -71570,8 +71768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -71593,7 +71791,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &541 + schema: &543 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71657,7 +71855,7 @@ paths: nullable: true pull_requests: type: array - items: *535 + items: *537 nullable: true app: title: GitHub app @@ -71668,9 +71866,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - repository: *278 + properties: *211 + required: *212 + repository: *280 created_at: type: string format: date-time @@ -71679,12 +71877,12 @@ paths: type: string format: date-time nullable: true - head_commit: &891 + head_commit: &893 title: Simple Commit description: A commit. type: object - properties: *539 - required: *540 + properties: *541 + required: *542 latest_check_runs_count: type: integer check_runs_url: @@ -71712,7 +71910,7 @@ paths: - check_runs_url - pull_requests examples: - default: &542 + default: &544 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72003,9 +72201,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72024,8 +72222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -72086,7 +72284,7 @@ paths: required: - app_id - setting - repository: *278 + repository: *280 examples: default: value: @@ -72334,9 +72532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *465 - - *466 - - &543 + - *467 + - *468 + - &545 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72348,9 +72546,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72373,17 +72571,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: - - *465 - - *466 - - *543 - - &590 + - *467 + - *468 + - *545 + - &592 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &591 + - &593 name: status description: Returns check runs with the specified `status`. in: query @@ -72422,9 +72620,9 @@ paths: type: integer check_runs: type: array - items: *536 + items: *538 examples: - default: &592 + default: &594 value: total_count: 1 check_runs: @@ -72526,15 +72724,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *465 - - *466 - - *543 + - *467 + - *468 + - *545 responses: '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -72561,21 +72759,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: - - *465 - - *466 - - *309 - - *310 + - *467 + - *468 + - *311 + - *312 - *19 - *17 - - &559 + - &561 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: *544 - - &560 + schema: *546 + - &562 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72600,13 +72798,13 @@ paths: be returned. in: query required: false - schema: *311 + schema: *313 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *545 + schema: *547 responses: '200': description: Response @@ -72622,7 +72820,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *546 + instances_url: *548 state: *109 fixed_at: *133 dismissed_by: @@ -72633,11 +72831,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *547 - dismissed_comment: *548 - rule: *549 - tool: *550 - most_recent_instance: *551 + dismissed_reason: *549 + dismissed_comment: *550 + rule: *551 + tool: *552 + most_recent_instance: *553 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72763,7 +72961,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &552 + '403': &554 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72790,9 +72988,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: - - *465 - - *466 - - &553 + - *467 + - *468 + - &555 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72806,7 +73004,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &556 type: object properties: number: *123 @@ -72814,7 +73012,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *546 + instances_url: *548 state: *109 fixed_at: *133 dismissed_by: @@ -72825,8 +73023,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *547 - dismissed_comment: *548 + dismissed_reason: *549 + dismissed_comment: *550 rule: type: object properties: @@ -72880,8 +73078,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *550 - most_recent_instance: *551 + tool: *552 + most_recent_instance: *553 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72980,7 +73178,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73000,9 +73198,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 requestBody: required: true content: @@ -73017,8 +73215,8 @@ paths: enum: - open - dismissed - dismissed_reason: *547 - dismissed_comment: *548 + dismissed_reason: *549 + dismissed_comment: *550 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73037,7 +73235,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -73113,7 +73311,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &558 + '403': &560 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73140,15 +73338,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 responses: '200': description: Response content: application/json: - schema: &555 + schema: &557 type: object properties: status: @@ -73174,13 +73372,13 @@ paths: - description - started_at examples: - default: &556 + default: &558 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &557 + '400': &559 description: Bad Request content: application/json: @@ -73191,7 +73389,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': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73216,29 +73414,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 responses: '200': description: OK content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '202': description: Accepted content: application/json: - schema: *555 + schema: *557 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *557 + '400': *559 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73270,9 +73468,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 requestBody: required: false content: @@ -73317,8 +73515,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *557 - '403': *558 + '400': *559 + '403': *560 '404': *6 '422': description: Unprocessable Entity @@ -73342,13 +73540,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 - *19 - *17 - - *559 - - *560 + - *561 + - *562 responses: '200': description: Response @@ -73356,7 +73554,7 @@ paths: application/json: schema: type: array - items: *551 + items: *553 examples: default: value: @@ -73395,7 +73593,7 @@ paths: end_column: 50 classifications: - source - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73429,25 +73627,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: - - *465 - - *466 - - *309 - - *310 + - *467 + - *468 + - *311 + - *312 - *19 - *17 - - *560 + - *562 - 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: *544 + schema: *546 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &563 + schema: &565 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -73468,23 +73666,23 @@ paths: application/json: schema: type: array - items: &564 + items: &566 type: object properties: - ref: *544 - commit_sha: &572 + ref: *546 + commit_sha: &574 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: *561 + analysis_key: *563 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *562 + category: *564 error: type: string example: error reading field xyz @@ -73508,8 +73706,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *563 - tool: *550 + sarif_id: *565 + tool: *552 deletable: type: boolean warning: @@ -73570,7 +73768,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73606,8 +73804,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: - - *465 - - *466 + - *467 + - *468 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73620,7 +73818,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: response: summary: application/json response @@ -73674,7 +73872,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *552 + '403': *554 '404': *6 '422': description: Response if analysis could not be processed @@ -73761,8 +73959,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: - - *465 - - *466 + - *467 + - *468 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73815,7 +74013,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': *558 + '403': *560 '404': *6 '503': *190 x-github: @@ -73837,8 +74035,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -73846,7 +74044,7 @@ paths: application/json: schema: type: array - items: &565 + items: &567 title: CodeQL Database description: A CodeQL database. type: object @@ -73957,7 +74155,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': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73986,8 +74184,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: - - *465 - - *466 + - *467 + - *468 - name: language in: path description: The language of the CodeQL database. @@ -73999,7 +74197,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *567 examples: default: value: @@ -74031,9 +74229,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': &599 + '302': &601 description: Found - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -74055,8 +74253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *465 - - *466 + - *467 + - *468 - name: language in: path description: The language of the CodeQL database. @@ -74066,7 +74264,7 @@ paths: responses: '204': description: Response - '403': *558 + '403': *560 '404': *6 '503': *190 x-github: @@ -74094,8 +74292,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -74104,7 +74302,7 @@ paths: type: object additionalProperties: false properties: - language: &566 + language: &568 type: string description: The language targeted by the CodeQL query enum: @@ -74183,7 +74381,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &570 + schema: &572 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74193,7 +74391,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *566 + query_language: *568 query_pack_url: type: string description: The download url for the query pack. @@ -74240,7 +74438,7 @@ paths: items: type: object properties: - repository: &567 + repository: &569 title: Repository Identifier description: Repository Identifier type: object @@ -74276,7 +74474,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &571 + analysis_status: &573 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74308,7 +74506,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &568 + access_mismatch_repos: &570 type: object properties: repository_count: @@ -74322,7 +74520,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: *567 + items: *569 required: - repository_count - repositories @@ -74344,8 +74542,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *568 - over_limit_repos: *568 + no_codeql_db_repos: *570 + over_limit_repos: *570 required: - access_mismatch_repos - not_found_repos @@ -74361,7 +74559,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &569 + value: &571 summary: Default response value: id: 1 @@ -74513,10 +74711,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *569 + value: *571 repository_lists: summary: Response for a successful variant analysis submission - value: *569 + value: *571 '404': *6 '422': description: Unable to process variant analysis submission @@ -74544,8 +74742,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: - - *465 - - *466 + - *467 + - *468 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74557,9 +74755,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *572 examples: - default: *569 + default: *571 '404': *6 '503': *190 x-github: @@ -74582,7 +74780,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: - - *465 + - *467 - name: repo in: path description: The name of the controller repository. @@ -74617,7 +74815,7 @@ paths: type: object properties: repository: *115 - analysis_status: *571 + analysis_status: *573 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74742,8 +74940,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -74828,7 +75026,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -74849,8 +75047,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -74917,7 +75115,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -74942,7 +75140,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *558 + '403': *560 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75013,8 +75211,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -75022,7 +75220,7 @@ paths: schema: type: object properties: - commit_sha: *572 + commit_sha: *574 ref: type: string description: |- @@ -75080,7 +75278,7 @@ paths: schema: type: object properties: - id: *563 + id: *565 url: type: string description: The REST API URL for checking the status of the upload. @@ -75094,7 +75292,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': *558 + '403': *560 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75117,8 +75315,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: - - *465 - - *466 + - *467 + - *468 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75164,7 +75362,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': *552 + '403': *554 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -75189,8 +75387,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -75271,8 +75469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *465 - - *466 + - *467 + - *468 - 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 @@ -75392,8 +75590,8 @@ paths: parameters: - *17 - *19 - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -75409,7 +75607,7 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: default: value: @@ -75707,8 +75905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -75771,17 +75969,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '400': *14 '401': *25 '403': *29 @@ -75810,8 +76008,8 @@ paths: parameters: - *17 - *19 - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -75875,8 +76073,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: - - *465 - - *466 + - *467 + - *468 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75911,14 +76109,14 @@ paths: type: integer machines: type: array - items: &818 + items: &820 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *574 - required: *575 + properties: *576 + required: *577 examples: - default: &819 + default: &821 value: total_count: 2 machines: @@ -75958,8 +76156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *465 - - *466 + - *467 + - *468 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76043,8 +76241,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: - - *465 - - *466 + - *467 + - *468 - 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 @@ -76110,8 +76308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -76129,7 +76327,7 @@ paths: type: integer secrets: type: array - items: &579 + items: &581 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76149,7 +76347,7 @@ paths: - created_at - updated_at examples: - default: *576 + default: *578 headers: Link: *43 x-github: @@ -76172,16 +76370,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76201,17 +76399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '200': description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76231,9 +76429,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: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 requestBody: required: true content: @@ -76261,7 +76459,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -76285,9 +76483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '204': description: Response @@ -76315,8 +76513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *465 - - *466 + - *467 + - *468 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76358,7 +76556,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &581 + properties: &583 login: type: string example: octocat @@ -76451,7 +76649,7 @@ paths: user_view_type: type: string example: public - required: &582 + required: &584 - avatar_url - events_url - followers_url @@ -76525,8 +76723,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: - - *465 - - *466 + - *467 + - *468 - *138 responses: '204': @@ -76573,8 +76771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *465 - - *466 + - *467 + - *468 - *138 requestBody: required: false @@ -76601,7 +76799,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &657 + schema: &659 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76612,7 +76810,7 @@ paths: example: 42 type: integer format: int64 - repository: *278 + repository: *280 invitee: title: Simple User description: A GitHub user. @@ -76790,7 +76988,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *253 + schema: *255 '403': *29 x-github: triggersNotification: true @@ -76830,8 +77028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *465 - - *466 + - *467 + - *468 - *138 responses: '204': @@ -76863,8 +77061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *465 - - *466 + - *467 + - *468 - *138 responses: '200': @@ -76885,8 +77083,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *581 - required: *582 + properties: *583 + required: *584 nullable: true required: - permission @@ -76941,8 +77139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -76952,7 +77150,7 @@ paths: application/json: schema: type: array - items: &583 + items: &585 title: Commit Comment description: Commit Comment type: object @@ -76993,8 +77191,8 @@ paths: updated_at: type: string format: date-time - author_association: *210 - reactions: *211 + author_association: *213 + reactions: *214 required: - url - html_url @@ -77010,7 +77208,7 @@ paths: - created_at - updated_at examples: - default: &586 + default: &588 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77069,17 +77267,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '200': description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: &587 + default: &589 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77136,9 +77334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -77160,7 +77358,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: default: value: @@ -77211,9 +77409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '204': description: Response @@ -77234,9 +77432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -77262,9 +77460,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -77285,9 +77483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -77319,16 +77517,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -77350,10 +77548,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *465 - - *466 - - *222 - - *457 + - *467 + - *468 + - *225 + - *459 responses: '204': description: Response @@ -77402,8 +77600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *465 - - *466 + - *467 + - *468 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77459,9 +77657,9 @@ paths: application/json: schema: type: array - items: *584 + items: *586 examples: - default: &709 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77555,9 +77753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *465 - - *466 - - &585 + - *467 + - *468 + - &587 name: commit_sha description: The SHA of the commit. in: path @@ -77629,9 +77827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 - *17 - *19 responses: @@ -77641,9 +77839,9 @@ paths: application/json: schema: type: array - items: *583 + items: *585 examples: - default: *586 + default: *588 headers: Link: *43 x-github: @@ -77671,9 +77869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 requestBody: required: true content: @@ -77708,9 +77906,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: *587 + default: *589 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77738,9 +77936,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: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 - *17 - *19 responses: @@ -77750,9 +77948,9 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: - default: &701 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78289,11 +78487,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *465 - - *466 + - *467 + - *468 - *19 - *17 - - &589 + - &591 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)" @@ -78308,9 +78506,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: - default: &686 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78423,11 +78621,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: - - *465 - - *466 - - *589 - - *590 + - *467 + - *468 - *591 + - *592 + - *593 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78461,9 +78659,9 @@ paths: type: integer check_runs: type: array - items: *536 + items: *538 examples: - default: *592 + default: *594 headers: Link: *43 x-github: @@ -78488,9 +78686,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: - - *465 - - *466 - - *589 + - *467 + - *468 + - *591 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78498,7 +78696,7 @@ paths: schema: type: integer example: 1 - - *590 + - *592 - *17 - *19 responses: @@ -78516,7 +78714,7 @@ paths: type: integer check_suites: type: array - items: *541 + items: *543 examples: default: value: @@ -78716,9 +78914,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: - - *465 - - *466 - - *589 + - *467 + - *468 + - *591 - *17 - *19 responses: @@ -78785,7 +78983,7 @@ paths: type: string total_count: type: integer - repository: *278 + repository: *280 commit_url: type: string format: uri @@ -78916,9 +79114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *465 - - *466 - - *589 + - *467 + - *468 + - *591 - *17 - *19 responses: @@ -78928,7 +79126,7 @@ paths: application/json: schema: type: array - items: &763 + items: &765 title: Status description: The status of a commit. type: object @@ -79009,7 +79207,7 @@ paths: site_admin: false headers: Link: *43 - '301': *479 + '301': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79037,8 +79235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -79067,20 +79265,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *593 - required: *594 + properties: *595 + required: *596 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &595 + properties: &597 url: type: string format: uri html_url: type: string format: uri - required: &596 + required: &598 - url - html_url nullable: true @@ -79088,32 +79286,32 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true contributing: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true readme: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true issue_template: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true pull_request_template: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true required: - code_of_conduct @@ -79240,8 +79438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *465 - - *466 + - *467 + - *468 - *19 - *17 - name: basehead @@ -79284,8 +79482,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *584 - merge_base_commit: *584 + base_commit: *586 + merge_base_commit: *586 status: type: string enum: @@ -79305,10 +79503,10 @@ paths: example: 6 commits: type: array - items: *584 + items: *586 files: type: array - items: *597 + items: *599 required: - url - html_url @@ -79594,8 +79792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *465 - - *466 + - *467 + - *468 - name: path description: path parameter in: path @@ -79738,7 +79936,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &598 + response-if-content-is-a-file: &600 summary: Response if content is a file value: type: file @@ -79870,7 +80068,7 @@ paths: - size - type - url - - &714 + - &716 title: Content File description: Content File type: object @@ -80071,7 +80269,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *598 + response-if-content-is-a-file: *600 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80140,7 +80338,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *599 + '302': *601 '304': *37 x-github: githubCloudOnly: false @@ -80163,8 +80361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *465 - - *466 + - *467 + - *468 - name: path description: path parameter in: path @@ -80257,7 +80455,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &602 title: File Commit description: File Commit type: object @@ -80409,7 +80607,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *602 examples: example-for-creating-a-file: value: @@ -80463,7 +80661,7 @@ paths: schema: oneOf: - *3 - - &639 + - &641 description: Repository rule violation was detected type: object properties: @@ -80484,7 +80682,7 @@ paths: items: type: object properties: - placeholder_id: &755 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80516,8 +80714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *465 - - *466 + - *467 + - *468 - name: path description: path parameter in: path @@ -80578,7 +80776,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *602 examples: default: value: @@ -80633,8 +80831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *465 - - *466 + - *467 + - *468 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80757,22 +80955,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *465 - - *466 - - *325 - - *326 + - *467 + - *468 - *327 - *328 + - *329 + - *330 - 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 - - *329 - - *601 - - *330 - *331 + - *603 + - *332 + - *333 - *106 - name: per_page description: The number of results per page (max 100). For more information, @@ -80791,7 +80989,7 @@ paths: application/json: schema: type: array - items: &604 + items: &606 type: object description: A Dependabot alert. properties: @@ -80837,7 +81035,7 @@ paths: - unknown - direct - transitive - security_advisory: *602 + security_advisory: *604 security_vulnerability: *127 url: *128 html_url: *129 @@ -80868,7 +81066,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *603 + auto_dismissed_at: *605 required: - number - state @@ -81098,9 +81296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *465 - - *466 - - &605 + - *467 + - *468 + - &607 name: alert_number in: path description: |- @@ -81115,7 +81313,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -81228,9 +81426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *465 - - *466 - - *605 + - *467 + - *468 + - *607 requestBody: required: true content: @@ -81275,7 +81473,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -81404,8 +81602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -81423,7 +81621,7 @@ paths: type: integer secrets: type: array - items: &608 + items: &610 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81476,16 +81674,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81505,15 +81703,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '200': description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -81539,9 +81737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 requestBody: required: true content: @@ -81569,7 +81767,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -81593,9 +81791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '204': description: Response @@ -81617,8 +81815,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: - - *465 - - *466 + - *467 + - *468 - 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 @@ -81778,8 +81976,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -82018,8 +82216,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -82094,7 +82292,7 @@ paths: - version - url additionalProperties: false - metadata: &609 + metadata: &611 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82127,7 +82325,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *609 + metadata: *611 resolved: type: object description: A collection of resolved package dependencies. @@ -82140,7 +82338,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *609 + metadata: *611 relationship: type: string description: A notation of whether a dependency is requested @@ -82269,8 +82467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *465 - - *466 + - *467 + - *468 - name: sha description: The SHA recorded at creation time. in: query @@ -82310,9 +82508,9 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: - default: *611 + default: *613 headers: Link: *43 x-github: @@ -82378,8 +82576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -82460,7 +82658,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: simple-example: summary: Simple example @@ -82533,9 +82731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *465 - - *466 - - &612 + - *467 + - *468 + - &614 name: deployment_id description: deployment_id parameter in: path @@ -82547,7 +82745,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: default: value: @@ -82612,9 +82810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 responses: '204': description: Response @@ -82636,9 +82834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 - *17 - *19 responses: @@ -82648,7 +82846,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 title: Deployment Status description: The status of a deployment. type: object @@ -82739,8 +82937,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -82809,9 +83007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 requestBody: required: true content: @@ -82886,9 +83084,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82944,9 +83142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 - name: status_id in: path required: true @@ -82957,9 +83155,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -82986,12 +83184,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 - - *615 - - *616 + - *467 + - *468 - *617 - *618 + - *619 + - *620 - *17 - *19 responses: @@ -83001,9 +83199,9 @@ paths: application/json: schema: type: array - items: *619 + items: *621 examples: - default: *620 + default: *622 '404': *6 '403': *29 '500': *40 @@ -83027,8 +83225,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83040,7 +83238,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -83096,8 +83294,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83156,12 +83354,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - *99 - *100 - *101 - - *621 + - *623 - *17 - *19 responses: @@ -83171,9 +83369,9 @@ paths: application/json: schema: type: array - items: *622 + items: *624 examples: - default: *623 + default: *625 '404': *6 '403': *29 '500': *40 @@ -83198,8 +83396,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83211,7 +83409,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *622 + schema: *624 examples: default: value: @@ -83269,8 +83467,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83339,8 +83537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -83397,8 +83595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -83415,7 +83613,7 @@ paths: type: integer environments: type: array - items: &625 + items: &627 title: Environment description: Details of a deployment environment type: object @@ -83467,7 +83665,7 @@ paths: type: type: string example: wait_timer - wait_timer: &627 + wait_timer: &629 type: integer example: 30 description: The amount of time to delay a job after @@ -83504,11 +83702,11 @@ paths: items: type: object properties: - type: *624 + type: *626 reviewer: anyOf: - *4 - - *305 + - *307 required: - id - node_id @@ -83528,7 +83726,7 @@ paths: - id - node_id - type - deployment_branch_policy: &628 + deployment_branch_policy: &630 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -83644,9 +83842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *465 - - *466 - - &626 + - *467 + - *468 + - &628 name: environment_name in: path required: true @@ -83659,9 +83857,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: &629 + default: &631 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83745,9 +83943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 requestBody: required: false content: @@ -83756,7 +83954,7 @@ paths: type: object nullable: true properties: - wait_timer: *627 + wait_timer: *629 prevent_self_review: type: boolean example: false @@ -83773,13 +83971,13 @@ paths: items: type: object properties: - type: *624 + type: *626 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *628 + deployment_branch_policy: *630 additionalProperties: false examples: default: @@ -83799,9 +83997,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *629 + default: *631 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83825,9 +84023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 responses: '204': description: Default response @@ -83852,9 +84050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 - *17 - *19 responses: @@ -83872,7 +84070,7 @@ paths: example: 2 branch_policies: type: array - items: &630 + items: &632 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83929,9 +84127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 requestBody: required: true content: @@ -83977,9 +84175,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - example-wildcard: &631 + example-wildcard: &633 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84021,10 +84219,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 - - &632 + - *467 + - *468 + - *628 + - &634 name: branch_policy_id in: path required: true @@ -84036,9 +84234,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *631 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84057,10 +84255,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 - - *632 + - *467 + - *468 + - *628 + - *634 requestBody: required: true content: @@ -84088,9 +84286,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *631 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84109,10 +84307,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 - - *632 + - *467 + - *468 + - *628 + - *634 responses: '204': description: Response @@ -84137,9 +84335,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: - - *626 - - *466 - - *465 + - *628 + - *468 + - *467 responses: '200': description: List of deployment protection rules @@ -84155,7 +84353,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &633 + items: &635 title: Deployment protection rule description: Deployment protection rule type: object @@ -84174,7 +84372,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &634 + app: &636 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84273,9 +84471,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: - - *626 - - *466 - - *465 + - *628 + - *468 + - *467 requestBody: content: application/json: @@ -84296,9 +84494,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *633 + schema: *635 examples: - default: &635 + default: &637 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84333,9 +84531,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: - - *626 - - *466 - - *465 + - *628 + - *468 + - *467 - *19 - *17 responses: @@ -84354,7 +84552,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *634 + items: *636 examples: default: value: @@ -84389,10 +84587,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: - - *465 - - *466 - - *626 - - &636 + - *467 + - *468 + - *628 + - &638 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84404,9 +84602,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: - default: *635 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84427,10 +84625,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: - - *626 - - *466 - - *465 - - *636 + - *628 + - *468 + - *467 + - *638 responses: '204': description: Response @@ -84456,9 +84654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 - *17 - *19 responses: @@ -84476,9 +84674,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *504 examples: - default: *503 + default: *505 headers: Link: *43 x-github: @@ -84503,17 +84701,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: *505 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84535,18 +84733,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *465 - - *466 - - *626 - - *288 + - *467 + - *468 + - *628 + - *290 responses: '200': description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84568,10 +84766,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *465 - - *466 - - *626 - - *288 + - *467 + - *468 + - *628 + - *290 requestBody: required: true content: @@ -84602,7 +84800,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -84628,10 +84826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *465 - - *466 - - *626 - - *288 + - *467 + - *468 + - *628 + - *290 responses: '204': description: Default response @@ -84656,10 +84854,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *465 - - *466 - - *626 - - *489 + - *467 + - *468 + - *628 + - *491 - *19 responses: '200': @@ -84676,9 +84874,9 @@ paths: type: integer variables: type: array - items: *506 + items: *508 examples: - default: *507 + default: *509 headers: Link: *43 x-github: @@ -84701,9 +84899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 requestBody: required: true content: @@ -84730,7 +84928,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -84755,18 +84953,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *465 - - *466 - - *626 - - *291 + - *467 + - *468 + - *628 + - *293 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *638 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84787,10 +84985,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *465 - - *466 - - *291 - - *626 + - *467 + - *468 + - *293 + - *628 requestBody: required: true content: @@ -84832,10 +85030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *465 - - *466 - - *291 - - *626 + - *467 + - *468 + - *293 + - *628 responses: '204': description: Response @@ -84857,8 +85055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -84868,7 +85066,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -84926,8 +85124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *465 - - *466 + - *467 + - *468 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84949,7 +85147,7 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: default: value: @@ -85086,8 +85284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -85119,9 +85317,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 '400': *14 '422': *15 '403': *29 @@ -85142,8 +85340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -85202,8 +85400,8 @@ paths: application/json: schema: oneOf: - - *253 - - *639 + - *255 + - *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85228,8 +85426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *465 - - *466 + - *467 + - *468 - name: file_sha in: path required: true @@ -85328,8 +85526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -85438,7 +85636,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &642 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85652,15 +85850,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: default: value: @@ -85716,9 +85914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *465 - - *466 - - &641 + - *467 + - *468 + - &643 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. @@ -85735,7 +85933,7 @@ paths: application/json: schema: type: array - items: &642 + items: &644 title: Git Reference description: Git references within a repository type: object @@ -85810,17 +86008,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *465 - - *466 - - *641 + - *467 + - *468 + - *643 responses: '200': description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: &643 + default: &645 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85849,8 +86047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -85879,9 +86077,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: *643 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85907,9 +86105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *465 - - *466 - - *641 + - *467 + - *468 + - *643 requestBody: required: true content: @@ -85938,9 +86136,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: *643 + default: *645 '422': *15 '409': *114 x-github: @@ -85958,9 +86156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *465 - - *466 - - *641 + - *467 + - *468 + - *643 responses: '204': description: Response @@ -86015,8 +86213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -86083,7 +86281,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &647 title: Git Tag description: Metadata for a Git tag type: object @@ -86134,7 +86332,7 @@ paths: - sha - type - url - verification: *644 + verification: *646 required: - sha - url @@ -86144,7 +86342,7 @@ paths: - tag - message examples: - default: &646 + default: &648 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86217,8 +86415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *465 - - *466 + - *467 + - *468 - name: tag_sha in: path required: true @@ -86229,9 +86427,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: *646 + default: *648 '404': *6 '409': *114 x-github: @@ -86255,8 +86453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -86329,7 +86527,7 @@ paths: description: Response content: application/json: - schema: &647 + schema: &649 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86425,8 +86623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *465 - - *466 + - *467 + - *468 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86449,7 +86647,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *649 examples: default-response: summary: Default response @@ -86508,8 +86706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -86519,7 +86717,7 @@ paths: application/json: schema: type: array - items: &648 + items: &650 title: Webhook description: Webhooks for repositories. type: object @@ -86573,7 +86771,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &899 + last_response: &901 title: Hook Response type: object properties: @@ -86647,8 +86845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -86700,9 +86898,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: &649 + default: &651 value: type: Repository id: 12345678 @@ -86750,17 +86948,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '200': description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '404': *6 x-github: githubCloudOnly: false @@ -86780,9 +86978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 requestBody: required: true content: @@ -86827,9 +87025,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '422': *15 '404': *6 x-github: @@ -86850,9 +87048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '204': description: Response @@ -86876,9 +87074,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '200': description: Response @@ -86905,9 +87103,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 requestBody: required: false content: @@ -86951,11 +87149,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 - *17 - - *340 + - *342 responses: '200': description: Response @@ -86963,9 +87161,9 @@ paths: application/json: schema: type: array - items: *341 + items: *343 examples: - default: *342 + default: *344 '400': *14 '422': *15 x-github: @@ -86984,18 +87182,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - default: *344 + default: *346 '400': *14 '422': *15 x-github: @@ -87014,9 +87212,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 - *16 responses: '202': *39 @@ -87039,9 +87237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '204': description: Response @@ -87066,9 +87264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '204': description: Response @@ -87091,8 +87289,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response if immutable releases are enabled @@ -87138,8 +87336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '409': *114 @@ -87159,8 +87357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '409': *114 @@ -87217,14 +87415,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: &650 + schema: &652 title: Import description: A repository import from an external source. type: object @@ -87323,7 +87521,7 @@ paths: - html_url - authors_url examples: - default: &653 + default: &655 value: vcs: subversion use_lfs: true @@ -87339,7 +87537,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': &651 + '503': &653 description: Unavailable due to service under maintenance. content: application/json: @@ -87368,8 +87566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -87417,7 +87615,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *652 examples: default: value: @@ -87442,7 +87640,7 @@ paths: type: string '422': *15 '404': *6 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87470,8 +87668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -87520,7 +87718,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *652 examples: example-1: summary: Example 1 @@ -87568,7 +87766,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': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87591,12 +87789,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87622,9 +87820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *465 - - *466 - - &840 + - *467 + - *468 + - &842 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87638,7 +87836,7 @@ paths: application/json: schema: type: array - items: &652 + items: &654 title: Porter Author description: Porter Author type: object @@ -87692,7 +87890,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': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87717,8 +87915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *465 - - *466 + - *467 + - *468 - name: author_id in: path required: true @@ -87748,7 +87946,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *654 examples: default: value: @@ -87761,7 +87959,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87785,8 +87983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -87827,7 +88025,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87855,8 +88053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -87883,11 +88081,11 @@ paths: description: Response content: application/json: - schema: *650 + schema: *652 examples: - default: *653 + default: *655 '422': *15 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87910,8 +88108,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -87919,8 +88117,8 @@ paths: application/json: schema: *22 examples: - default: *654 - '301': *479 + default: *656 + '301': *481 '404': *6 x-github: githubCloudOnly: false @@ -87940,8 +88138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -87949,12 +88147,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: &656 + default: &658 value: limit: collaborators_only origin: repository @@ -87979,13 +88177,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: application/json: - schema: *655 + schema: *657 examples: default: summary: Example request body @@ -87997,9 +88195,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *656 + default: *658 '409': description: Response x-github: @@ -88021,8 +88219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -88045,8 +88243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -88056,9 +88254,9 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: &833 + default: &835 value: - id: 1 repository: @@ -88189,9 +88387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *465 - - *466 - - *361 + - *467 + - *468 + - *363 requestBody: required: false content: @@ -88220,7 +88418,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: default: value: @@ -88351,9 +88549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *465 - - *466 - - *361 + - *467 + - *468 + - *363 responses: '204': description: Response @@ -88384,8 +88582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *465 - - *466 + - *467 + - *468 - 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 @@ -88433,7 +88631,7 @@ paths: required: false schema: type: string - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -88446,7 +88644,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -88456,9 +88654,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &666 + default: &668 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88606,7 +88804,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *479 + '301': *481 '422': *15 '404': *6 x-github: @@ -88635,8 +88833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -88718,9 +88916,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: &663 + default: &665 value: id: 1 node_id: MDU6SXNzdWUx @@ -88876,7 +89074,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *476 + '410': *478 x-github: triggersNotification: true githubCloudOnly: false @@ -88904,9 +89102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *465 - - *466 - - *233 + - *467 + - *468 + - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88916,7 +89114,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -88926,9 +89124,9 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: &665 + default: &667 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88986,17 +89184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '200': description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: &659 + default: &661 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89050,9 +89248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -89074,9 +89272,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 '422': *15 x-github: githubCloudOnly: false @@ -89094,9 +89292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '204': description: Response @@ -89116,9 +89314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -89144,9 +89342,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -89167,9 +89365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -89201,16 +89399,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -89232,10 +89430,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *465 - - *466 - - *222 - - *457 + - *467 + - *468 + - *225 + - *459 responses: '204': description: Response @@ -89255,8 +89453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -89266,7 +89464,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: Issue Event description: Issue Event type: object @@ -89309,8 +89507,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *660 - required: *661 + properties: *662 + required: *663 nullable: true label: title: Issue Event Label @@ -89354,7 +89552,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *305 + requested_team: *307 dismissed_review: title: Issue Event Dismissed Review type: object @@ -89419,7 +89617,7 @@ paths: required: - from - to - author_association: *210 + author_association: *213 lock_reason: type: string nullable: true @@ -89432,8 +89630,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -89617,8 +89815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *465 - - *466 + - *467 + - *468 - name: event_id in: path required: true @@ -89629,7 +89827,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: default: value: @@ -89822,7 +90020,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *476 + '410': *478 '403': *29 x-github: githubCloudOnly: false @@ -89856,9 +90054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *465 - - *466 - - &664 + - *467 + - *468 + - &666 name: issue_number description: The number that identifies the issue. in: path @@ -89870,12 +90068,12 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 - '301': *479 + default: *665 + '301': *481 '404': *6 - '410': *476 + '410': *478 '304': *37 x-github: githubCloudOnly: false @@ -89900,9 +90098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -90006,15 +90204,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 '422': *15 '503': *190 '403': *29 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90032,9 +90230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -90060,9 +90258,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90078,9 +90276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: content: application/json: @@ -90105,9 +90303,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90129,9 +90327,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - name: assignee in: path required: true @@ -90171,10 +90369,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *465 - - *466 - - *664 - - *213 + - *467 + - *468 + - *666 + - *216 - *17 - *19 responses: @@ -90184,13 +90382,13 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: *665 + default: *667 headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90219,9 +90417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -90243,16 +90441,16 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *476 + '410': *478 '422': *15 '404': *6 x-github: @@ -90280,9 +90478,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -90292,14 +90490,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *666 + default: *668 headers: Link: *43 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90327,9 +90525,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -90351,17 +90549,17 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *479 + '301': *481 '403': *29 - '410': *476 + '410': *478 '422': *15 '404': *6 x-github: @@ -90392,9 +90590,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90406,15 +90604,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 - '301': *479 + default: *665 + '301': *481 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *476 + '410': *478 x-github: triggersNotification: true githubCloudOnly: false @@ -90440,9 +90638,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -90452,14 +90650,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *666 + default: *668 headers: Link: *43 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90476,9 +90674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -90492,7 +90690,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &669 + - &671 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90523,8 +90721,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90546,7 +90744,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &672 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90577,8 +90775,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90666,8 +90864,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 assigner: *4 required: @@ -90682,7 +90880,7 @@ paths: - performed_via_github_app - assignee - assigner - - &671 + - &673 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90713,8 +90911,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90733,7 +90931,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &674 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90764,8 +90962,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90784,7 +90982,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &675 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90815,8 +91013,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 rename: type: object properties: @@ -90838,7 +91036,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &676 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90869,10 +91067,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *305 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90885,7 +91083,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &677 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90916,10 +91114,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *305 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90932,7 +91130,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &678 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90963,8 +91161,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 dismissed_review: type: object properties: @@ -90992,7 +91190,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &679 title: Locked Issue Event description: Locked Issue Event type: object @@ -91023,8 +91221,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 lock_reason: type: string example: '"off-topic"' @@ -91040,7 +91238,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &680 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91071,8 +91269,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91106,7 +91304,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &681 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91137,8 +91335,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91172,7 +91370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &682 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91203,8 +91401,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91238,7 +91436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &683 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91329,7 +91527,7 @@ paths: color: red headers: Link: *43 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91346,9 +91544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -91358,7 +91556,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -91405,7 +91603,7 @@ paths: - color - default examples: - default: &668 + default: &670 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91423,9 +91621,9 @@ paths: default: false headers: Link: *43 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91442,9 +91640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -91503,12 +91701,12 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 - '301': *479 + default: *670 + '301': *481 '404': *6 - '410': *476 + '410': *478 '422': *15 x-github: githubCloudOnly: false @@ -91525,9 +91723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -91587,12 +91785,12 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 - '301': *479 + default: *670 + '301': *481 '404': *6 - '410': *476 + '410': *478 '422': *15 x-github: githubCloudOnly: false @@ -91609,15 +91807,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 responses: '204': description: Response - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91636,9 +91834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - name: name in: path required: true @@ -91651,7 +91849,7 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: default: value: @@ -91662,9 +91860,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91684,9 +91882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -91714,7 +91912,7 @@ paths: '204': description: Response '403': *29 - '410': *476 + '410': *478 '404': *6 '422': *15 x-github: @@ -91732,9 +91930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 responses: '204': description: Response @@ -91764,20 +91962,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 responses: '200': description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 - '301': *479 + default: *665 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91794,9 +91992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - 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. @@ -91822,13 +92020,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91846,9 +92044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -91880,16 +92078,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -91911,10 +92109,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *465 - - *466 - - *664 - - *457 + - *467 + - *468 + - *666 + - *459 responses: '204': description: Response @@ -91943,9 +92141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -91967,9 +92165,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92002,9 +92200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -92014,13 +92212,13 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *666 + default: *668 headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92048,9 +92246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -92077,16 +92275,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *476 + '410': *478 '422': *15 '404': *6 x-github: @@ -92106,9 +92304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -92139,9 +92337,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 '403': *29 '404': *6 '422': *7 @@ -92163,9 +92361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -92180,8 +92378,6 @@ paths: description: Timeline Event type: object anyOf: - - *669 - - *670 - *671 - *672 - *673 @@ -92193,6 +92389,8 @@ paths: - *679 - *680 - *681 + - *682 + - *683 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92235,7 +92433,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -92245,9 +92443,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - event - actor @@ -92278,7 +92476,7 @@ paths: properties: type: type: string - issue: *223 + issue: *226 required: - event - created_at @@ -92478,7 +92676,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - event - id @@ -92501,7 +92699,7 @@ paths: type: string comments: type: array - items: &703 + items: &705 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92590,7 +92788,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: @@ -92674,7 +92872,7 @@ paths: enum: - line - file - reactions: *211 + reactions: *214 body_html: type: string example: '"

comment body

"' @@ -92710,7 +92908,7 @@ paths: type: string comments: type: array - items: *583 + items: *585 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92741,8 +92939,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92785,8 +92983,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92829,8 +93027,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 state_reason: type: string nullable: true @@ -92999,7 +93197,7 @@ paths: headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93016,8 +93214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -93027,7 +93225,7 @@ paths: application/json: schema: type: array - items: &682 + items: &684 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93093,8 +93291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93130,9 +93328,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: &683 + default: &685 value: id: 1 key: ssh-rsa AAA... @@ -93166,9 +93364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *465 - - *466 - - &684 + - *467 + - *468 + - &686 name: key_id description: The unique identifier of the key. in: path @@ -93180,9 +93378,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: *683 + default: *685 '404': *6 x-github: githubCloudOnly: false @@ -93200,9 +93398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *465 - - *466 - - *684 + - *467 + - *468 + - *686 responses: '204': description: Response @@ -93222,8 +93420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -93233,9 +93431,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *43 '404': *6 @@ -93256,8 +93454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93293,9 +93491,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: &685 + default: &687 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93327,8 +93525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *465 - - *466 + - *467 + - *468 - name: name in: path required: true @@ -93339,9 +93537,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *685 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -93358,8 +93556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *465 - - *466 + - *467 + - *468 - name: name in: path required: true @@ -93398,7 +93596,7 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: default: value: @@ -93424,8 +93622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *465 - - *466 + - *467 + - *468 - name: name in: path required: true @@ -93451,8 +93649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -93488,8 +93686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '202': *39 '403': @@ -93517,8 +93715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -93544,9 +93742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *465 - - *466 - - *559 + - *467 + - *468 + - *561 responses: '200': description: Response @@ -93608,8 +93806,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true required: - _links @@ -93691,8 +93889,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93757,8 +93955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93792,9 +93990,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *584 + schema: *586 examples: - default: *686 + default: *688 '204': description: Response when already merged '404': @@ -93819,8 +94017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *465 - - *466 + - *467 + - *468 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93861,12 +94059,12 @@ paths: application/json: schema: type: array - items: &687 + items: &689 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 examples: default: value: @@ -93922,8 +94120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93963,9 +94161,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: &688 + default: &690 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94024,9 +94222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *465 - - *466 - - &689 + - *467 + - *468 + - &691 name: milestone_number description: The number that identifies the milestone. in: path @@ -94038,9 +94236,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *688 + default: *690 '404': *6 x-github: githubCloudOnly: false @@ -94057,9 +94255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *465 - - *466 - - *689 + - *467 + - *468 + - *691 requestBody: required: false content: @@ -94097,9 +94295,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *688 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94115,9 +94313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *465 - - *466 - - *689 + - *467 + - *468 + - *691 responses: '204': description: Response @@ -94138,9 +94336,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: - - *465 - - *466 - - *689 + - *467 + - *468 + - *691 - *17 - *19 responses: @@ -94150,9 +94348,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *43 x-github: @@ -94171,12 +94369,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: - - *465 - - *466 - - *690 - - *691 - - *213 + - *467 + - *468 - *692 + - *693 + - *216 + - *694 - *17 - *19 responses: @@ -94186,9 +94384,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *693 + default: *695 headers: Link: *43 x-github: @@ -94212,8 +94410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -94271,14 +94469,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: &694 + schema: &696 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94403,7 +94601,7 @@ paths: - custom_404 - public examples: - default: &695 + default: &697 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94444,8 +94642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -94499,9 +94697,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 '422': *15 '409': *114 x-github: @@ -94524,8 +94722,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -94632,8 +94830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -94659,8 +94857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -94670,7 +94868,7 @@ paths: application/json: schema: type: array - items: &696 + items: &698 title: Page Build description: Page Build type: object @@ -94764,8 +94962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *465 - - *466 + - *467 + - *468 responses: '201': description: Response @@ -94810,16 +95008,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: &697 + default: &699 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94867,8 +95065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *465 - - *466 + - *467 + - *468 - name: build_id in: path required: true @@ -94879,9 +95077,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *697 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94901,8 +95099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95007,9 +95205,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: - - *465 - - *466 - - &698 + - *467 + - *468 + - &700 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95067,9 +95265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *465 - - *466 - - *698 + - *467 + - *468 + - *700 responses: '204': *150 '404': *6 @@ -95096,8 +95294,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -95328,7 +95526,7 @@ paths: description: Empty response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -95355,8 +95553,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Private vulnerability reporting status @@ -95393,8 +95591,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: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '422': *14 @@ -95415,8 +95613,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: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '422': *14 @@ -95439,8 +95637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *465 - - *466 + - *467 + - *468 - name: state description: Indicates the state of the projects to return. in: query @@ -95461,7 +95659,7 @@ paths: application/json: schema: type: array - items: *394 + items: *396 examples: default: value: @@ -95501,7 +95699,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *476 + '410': *478 '422': *7 x-github: githubCloudOnly: false @@ -95524,8 +95722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95551,13 +95749,13 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *475 + default: *477 '401': *25 '403': *29 '404': *6 - '410': *476 + '410': *478 '422': *7 x-github: githubCloudOnly: false @@ -95580,8 +95778,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -95591,7 +95789,7 @@ paths: type: array items: *151 examples: - default: *699 + default: *701 '403': *29 '404': *6 x-github: @@ -95613,8 +95811,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95630,7 +95828,7 @@ paths: required: - properties examples: - default: *700 + default: *702 responses: '204': description: No Content when custom property values are successfully created @@ -95668,8 +95866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95729,9 +95927,9 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: - default: *701 + default: *703 headers: Link: *43 '304': *37 @@ -95763,8 +95961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95829,7 +96027,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &707 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95940,8 +96138,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 nullable: true active_lock_reason: type: string @@ -95986,7 +96184,7 @@ paths: nullable: true requested_teams: type: array - items: *432 + items: *434 nullable: true head: type: object @@ -96025,14 +96223,14 @@ paths: _links: type: object properties: - comments: *402 - commits: *402 - statuses: *402 - html: *402 - issue: *402 - review_comments: *402 - review_comment: *402 - self: *402 + comments: *404 + commits: *404 + statuses: *404 + html: *404 + issue: *404 + review_comments: *404 + review_comment: *404 + self: *404 required: - comments - commits @@ -96042,8 +96240,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: *702 + author_association: *213 + auto_merge: *704 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96135,7 +96333,7 @@ paths: - merged_by - review_comments examples: - default: &706 + default: &708 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96662,8 +96860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - name: sort in: query required: false @@ -96682,7 +96880,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -96692,9 +96890,9 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: &708 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96771,17 +96969,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: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '200': description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: &704 + default: &706 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96856,9 +97054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -96880,9 +97078,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: *704 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96898,9 +97096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '204': description: Response @@ -96921,9 +97119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -96949,9 +97147,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -96972,9 +97170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -97006,16 +97204,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -97037,10 +97235,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *465 - - *466 - - *222 - - *457 + - *467 + - *468 + - *225 + - *459 responses: '204': description: Response @@ -97083,9 +97281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *465 - - *466 - - &707 + - *467 + - *468 + - &709 name: pull_number description: The number that identifies the pull request. in: path @@ -97098,9 +97296,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *705 + schema: *707 examples: - default: *706 + default: *708 '304': *37 '404': *6 '406': @@ -97135,9 +97333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -97179,9 +97377,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *707 examples: - default: *706 + default: *708 '422': *15 '403': *29 x-github: @@ -97203,9 +97401,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: true content: @@ -97265,17 +97463,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '401': *25 '403': *29 '404': *6 @@ -97305,10 +97503,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *465 - - *466 - - *707 - - *233 + - *467 + - *468 + - *709 + - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -97318,7 +97516,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -97328,9 +97526,9 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: *708 + default: *710 headers: Link: *43 x-github: @@ -97363,9 +97561,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: true content: @@ -97470,7 +97668,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: example-for-a-multi-line-comment: value: @@ -97558,10 +97756,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *465 - - *466 - - *707 - - *222 + - *467 + - *468 + - *709 + - *225 requestBody: required: true content: @@ -97583,7 +97781,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: default: value: @@ -97669,9 +97867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 - *17 - *19 responses: @@ -97681,9 +97879,9 @@ paths: application/json: schema: type: array - items: *584 + items: *586 examples: - default: *709 + default: *711 headers: Link: *43 x-github: @@ -97713,9 +97911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 - *17 - *19 responses: @@ -97725,7 +97923,7 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: default: value: @@ -97763,9 +97961,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 responses: '204': description: Response if pull request has been merged @@ -97788,9 +97986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -97901,9 +98099,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 responses: '200': description: Response @@ -97919,7 +98117,7 @@ paths: items: *4 teams: type: array - items: *305 + items: *307 required: - users - teams @@ -97978,9 +98176,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -98017,7 +98215,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: default: value: @@ -98553,9 +98751,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: true content: @@ -98589,7 +98787,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: default: value: @@ -99094,9 +99292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 - *17 - *19 responses: @@ -99106,7 +99304,7 @@ paths: application/json: schema: type: array - items: &710 + items: &712 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99175,7 +99373,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - id - node_id @@ -99257,9 +99455,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -99345,9 +99543,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: &712 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99410,10 +99608,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: - - *465 - - *466 - - *707 - - &711 + - *467 + - *468 + - *709 + - &713 name: review_id description: The unique identifier of the review. in: path @@ -99425,9 +99623,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: &713 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99486,10 +99684,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 requestBody: required: true content: @@ -99512,7 +99710,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: default: value: @@ -99574,18 +99772,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 responses: '200': description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: *712 + default: *714 '422': *7 '404': *6 x-github: @@ -99612,10 +99810,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 - *17 - *19 responses: @@ -99694,13 +99892,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: - self: *402 - html: *402 - pull_request: *402 + self: *404 + html: *404 + pull_request: *404 required: - self - html @@ -99709,7 +99907,7 @@ paths: type: string body_html: type: string - reactions: *211 + reactions: *214 side: description: The side of the first line of the range for a multi-line comment. @@ -99850,10 +100048,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 requestBody: required: true content: @@ -99881,7 +100079,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: default: value: @@ -99944,10 +100142,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 requestBody: required: true content: @@ -99982,9 +100180,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: *713 + default: *715 '404': *6 '422': *7 '403': *29 @@ -100006,9 +100204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -100071,8 +100269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *465 - - *466 + - *467 + - *468 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100085,9 +100283,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *716 examples: - default: &715 + default: &717 value: type: file encoding: base64 @@ -100129,8 +100327,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: - - *465 - - *466 + - *467 + - *468 - name: dir description: The alternate path to look for a README file in: path @@ -100150,9 +100348,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *716 examples: - default: *715 + default: *717 '404': *6 '422': *15 x-github: @@ -100174,8 +100372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -100185,7 +100383,7 @@ paths: application/json: schema: type: array - items: &716 + items: &718 title: Release description: A release. type: object @@ -100256,7 +100454,7 @@ paths: author: *4 assets: type: array - items: &717 + items: &719 title: Release Asset description: Data related to a release. type: object @@ -100331,7 +100529,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *211 + reactions: *214 required: - assets_url - upload_url @@ -100443,8 +100641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -100520,9 +100718,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: &720 + default: &722 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100627,9 +100825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *465 - - *466 - - &718 + - *467 + - *468 + - &720 name: asset_id description: The unique identifier of the asset. in: path @@ -100641,9 +100839,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *719 examples: - default: &719 + default: &721 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 @@ -100678,7 +100876,7 @@ paths: type: User site_admin: false '404': *6 - '302': *599 + '302': *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100694,9 +100892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *465 - - *466 - - *718 + - *467 + - *468 + - *720 requestBody: required: false content: @@ -100724,9 +100922,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *719 examples: - default: *719 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100742,9 +100940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *465 - - *466 - - *718 + - *467 + - *468 + - *720 responses: '204': description: Response @@ -100768,8 +100966,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -100854,16 +101052,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *720 + default: *722 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100880,8 +101078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *465 - - *466 + - *467 + - *468 - name: tag description: tag parameter in: path @@ -100894,9 +101092,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *720 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -100918,9 +101116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *465 - - *466 - - &721 + - *467 + - *468 + - &723 name: release_id description: The unique identifier of the release. in: path @@ -100934,9 +101132,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: *716 + schema: *718 examples: - default: *720 + default: *722 '401': description: Unauthorized x-github: @@ -100954,9 +101152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 requestBody: required: false content: @@ -101020,9 +101218,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *720 + default: *722 '404': description: Not Found if the discussion category name is invalid content: @@ -101043,9 +101241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 responses: '204': description: Response @@ -101065,9 +101263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 - *17 - *19 responses: @@ -101077,7 +101275,7 @@ paths: application/json: schema: type: array - items: *717 + items: *719 examples: default: value: @@ -101159,9 +101357,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: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 - name: name in: query required: true @@ -101187,7 +101385,7 @@ paths: description: Response for successful upload content: application/json: - schema: *717 + schema: *719 examples: response-for-successful-upload: value: @@ -101242,9 +101440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 - 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. @@ -101268,9 +101466,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -101291,9 +101489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 requestBody: required: true content: @@ -101323,16 +101521,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -101354,10 +101552,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *465 - - *466 - - *721 - - *457 + - *467 + - *468 + - *723 + - *459 responses: '204': description: Response @@ -101381,9 +101579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 - *17 - *19 responses: @@ -101400,7 +101598,7 @@ paths: oneOf: - allOf: - *165 - - &722 + - &724 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101421,67 +101619,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *722 + - *724 - allOf: - *167 - - *722 + - *724 - allOf: - *168 - - *722 + - *724 - allOf: - - *723 - - *722 + - *725 + - *724 - allOf: - *169 - - *722 + - *724 - allOf: - *170 - - *722 + - *724 - allOf: - *171 - - *722 + - *724 - allOf: - *172 - - *722 + - *724 - allOf: - *173 - - *722 + - *724 - allOf: - *174 - - *722 + - *724 - allOf: - *175 - - *722 + - *724 - allOf: - *176 - - *722 + - *724 - allOf: - *177 - - *722 + - *724 - allOf: - *178 - - *722 + - *724 - allOf: - *179 - - *722 + - *724 - allOf: - *180 - - *722 + - *724 - allOf: - *181 - - *722 + - *724 - allOf: - *182 - - *722 + - *724 - allOf: - *183 - - *722 + - *724 - allOf: - *184 - - *722 + - *724 - allOf: + - *726 - *724 - - *722 examples: default: value: @@ -101520,8 +101718,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - name: includes_parents @@ -101532,7 +101730,7 @@ paths: schema: type: boolean default: true - - *725 + - *727 responses: '200': description: Response @@ -101587,8 +101785,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 requestBody: description: Request body required: true @@ -101617,7 +101815,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *726 + items: *728 required: - name - enforcement @@ -101650,7 +101848,7 @@ paths: application/json: schema: *185 examples: - default: &735 + default: &737 value: id: 42 name: super cool ruleset @@ -101697,12 +101895,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *465 - - *466 - - *727 - - *101 - - *728 + - *467 + - *468 - *729 + - *101 + - *730 + - *731 - *17 - *19 responses: @@ -101710,9 +101908,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *732 examples: - default: *731 + default: *733 '404': *6 '500': *40 x-github: @@ -101733,17 +101931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *465 - - *466 - - *732 + - *467 + - *468 + - *734 responses: '200': description: Response content: application/json: - schema: *733 + schema: *735 examples: - default: *734 + default: *736 '404': *6 '500': *40 x-github: @@ -101771,8 +101969,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101794,7 +101992,7 @@ paths: application/json: schema: *185 examples: - default: *735 + default: *737 '404': *6 '500': *40 put: @@ -101812,8 +102010,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101847,7 +102045,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *726 + items: *728 examples: default: value: @@ -101877,7 +102075,7 @@ paths: application/json: schema: *185 examples: - default: *735 + default: *737 '404': *6 '500': *40 delete: @@ -101895,8 +102093,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101919,8 +102117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - name: ruleset_id @@ -101938,7 +102136,7 @@ paths: type: array items: *189 examples: - default: *417 + default: *419 '404': *6 '500': *40 x-github: @@ -101957,8 +102155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101976,7 +102174,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: default: value: @@ -102031,21 +102229,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: - - *465 - - *466 - - *419 - - *420 + - *467 + - *468 - *421 - *422 + - *423 + - *424 - *106 - *19 - *17 - - *736 - - *737 - - *423 - - *424 + - *738 + - *739 - *425 - *426 + - *427 + - *428 responses: '200': description: Response @@ -102053,7 +102251,7 @@ paths: application/json: schema: type: array - items: &741 + items: &743 type: object properties: number: *123 @@ -102072,8 +102270,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *738 - resolution: *739 + state: *740 + resolution: *741 resolved_at: type: string format: date-time @@ -102169,7 +102367,7 @@ paths: pull request. ' - oneOf: *740 + oneOf: *742 nullable: true has_more_locations: type: boolean @@ -102318,16 +102516,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: - - *465 - - *466 - - *553 - - *426 + - *467 + - *468 + - *555 + - *428 responses: '200': description: Response content: application/json: - schema: *741 + schema: *743 examples: default: value: @@ -102379,9 +102577,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 requestBody: required: true content: @@ -102389,8 +102587,8 @@ paths: schema: type: object properties: - state: *738 - resolution: *739 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102408,7 +102606,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *743 examples: default: value: @@ -102483,9 +102681,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 - *19 - *17 responses: @@ -102496,7 +102694,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &921 + items: &923 type: object properties: type: @@ -102522,8 +102720,6 @@ paths: example: commit details: oneOf: - - *742 - - *743 - *744 - *745 - *746 @@ -102535,6 +102731,8 @@ paths: - *752 - *753 - *754 + - *755 + - *756 examples: default: value: @@ -102620,8 +102818,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -102629,14 +102827,14 @@ paths: schema: type: object properties: - reason: &756 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *755 + placeholder_id: *757 required: - reason - placeholder_id @@ -102653,7 +102851,7 @@ paths: schema: type: object properties: - reason: *756 + reason: *758 expire_at: type: string format: date-time @@ -102699,8 +102897,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: - - *465 - - *466 + - *467 + - *468 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102715,7 +102913,7 @@ paths: properties: incremental_scans: type: array - items: &757 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102741,15 +102939,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *757 + items: *759 backfill_scans: type: array - items: *757 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *757 + - *759 - type: object properties: pattern_name: @@ -102819,8 +103017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *465 - - *466 + - *467 + - *468 - *106 - name: sort description: The property to sort the results by. @@ -102864,9 +103062,9 @@ paths: application/json: schema: type: array - items: *758 + items: *760 examples: - default: *759 + default: *761 '400': *14 '404': *6 x-github: @@ -102889,8 +103087,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -102963,7 +103161,7 @@ paths: login: type: string description: The username of the user credited. - type: *431 + type: *433 required: - login - type @@ -103050,9 +103248,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: &761 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103285,8 +103483,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -103390,7 +103588,7 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: default: value: @@ -103537,17 +103735,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 responses: '200': description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: *761 + default: *763 '403': *29 '404': *6 x-github: @@ -103571,9 +103769,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 requestBody: required: true content: @@ -103646,7 +103844,7 @@ paths: login: type: string description: The username of the user credited. - type: *431 + type: *433 required: - login - type @@ -103732,17 +103930,17 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: *761 - add_credit: *761 + default: *763 + add_credit: *763 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *253 + schema: *255 examples: invalid_state_transition: value: @@ -103773,9 +103971,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 responses: '202': *39 '400': *14 @@ -103802,17 +104000,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 responses: '202': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 '400': *14 '422': *15 '403': *29 @@ -103838,8 +104036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -103938,8 +104136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103948,7 +104146,7 @@ paths: application/json: schema: type: array - items: &762 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103981,8 +104179,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -104058,8 +104256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -104155,8 +104353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104310,8 +104508,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104321,7 +104519,7 @@ paths: application/json: schema: type: array - items: *762 + items: *764 examples: default: value: @@ -104354,8 +104552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *465 - - *466 + - *467 + - *468 - name: sha in: path required: true @@ -104409,7 +104607,7 @@ paths: description: Response content: application/json: - schema: *763 + schema: *765 examples: default: value: @@ -104463,8 +104661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -104476,7 +104674,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -104496,14 +104694,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &764 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104571,8 +104769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -104598,7 +104796,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *766 examples: default: value: @@ -104625,8 +104823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -104646,8 +104844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -104726,8 +104924,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -104735,7 +104933,7 @@ paths: application/json: schema: type: array - items: &765 + items: &767 title: Tag protection description: Tag protection type: object @@ -104787,8 +104985,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -104811,7 +105009,7 @@ paths: description: Response content: application/json: - schema: *765 + schema: *767 examples: default: value: @@ -104842,8 +105040,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: - - *465 - - *466 + - *467 + - *468 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104880,8 +105078,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *465 - - *466 + - *467 + - *468 - name: ref in: path required: true @@ -104917,8 +105115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -104928,9 +105126,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 headers: Link: *43 '404': *6 @@ -104950,8 +105148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *465 - - *466 + - *467 + - *468 - *19 - *17 responses: @@ -104959,7 +105157,7 @@ paths: description: Response content: application/json: - schema: &766 + schema: &768 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104971,7 +105169,7 @@ paths: required: - names examples: - default: &767 + default: &769 value: names: - octocat @@ -104994,8 +105192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -105026,9 +105224,9 @@ paths: description: Response content: application/json: - schema: *766 + schema: *768 examples: - default: *767 + default: *769 '404': *6 '422': *7 x-github: @@ -105049,9 +105247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *465 - - *466 - - &768 + - *467 + - *468 + - &770 name: per description: The time frame to display results for. in: query @@ -105080,7 +105278,7 @@ paths: example: 128 clones: type: array - items: &769 + items: &771 title: Traffic type: object properties: @@ -105167,8 +105365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -105258,8 +105456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -105319,9 +105517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *465 - - *466 - - *768 + - *467 + - *468 + - *770 responses: '200': description: Response @@ -105340,7 +105538,7 @@ paths: example: 3782 views: type: array - items: *769 + items: *771 required: - uniques - count @@ -105417,8 +105615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -105454,7 +105652,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *280 examples: default: value: @@ -105692,8 +105890,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105716,8 +105914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -105739,8 +105937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -105766,8 +105964,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *465 - - *466 + - *467 + - *468 - name: ref in: path required: true @@ -105859,9 +106057,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105902,7 +106100,7 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: default: value: @@ -106012,7 +106210,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &777 + - &779 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106021,7 +106219,7 @@ paths: schema: type: string example: members - - &782 + - &784 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106032,7 +106230,7 @@ paths: default: 1 format: int32 example: 1 - - &783 + - &785 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106074,7 +106272,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &772 + items: &774 allOf: - type: object required: @@ -106149,7 +106347,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: &784 + meta: &786 type: object description: The metadata associated with the creation/updates to the user. @@ -106209,30 +106407,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &773 + '400': &775 description: Bad request content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '401': *771 - '403': &774 + schema: *772 + '401': *773 + '403': &776 description: Permission denied - '429': &775 + '429': &777 description: Too many requests content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '500': &776 + schema: *772 + '500': &778 description: Internal server error content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 + schema: *772 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106256,7 +106454,7 @@ paths: required: true content: application/json: - schema: &780 + schema: &782 type: object required: - schemas @@ -106316,9 +106514,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *772 + schema: *774 examples: - group: &778 + group: &780 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106337,13 +106535,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': *773 - '401': *771 - '403': *774 - '409': &781 + '400': *775 + '401': *773 + '403': *776 + '409': &783 description: Duplicate record detected - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106360,7 +106558,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: - - &779 + - &781 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106368,22 +106566,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *777 + - *779 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *772 + schema: *774 examples: - default: *778 - '400': *773 - '401': *771 - '403': *774 + default: *780 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106402,13 +106600,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: - - *779 + - *781 - *41 requestBody: required: true content: application/json: - schema: *780 + schema: *782 examples: group: summary: Group @@ -106434,17 +106632,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *772 + schema: *774 examples: - group: *778 - groupWithMembers: *778 - '400': *773 - '401': *771 - '403': *774 + group: *780 + groupWithMembers: *780 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106468,13 +106666,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: - - *779 + - *781 - *41 requestBody: required: true content: application/json: - schema: &791 + schema: &793 type: object required: - Operations @@ -106534,17 +106732,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *772 + schema: *774 examples: - updateGroup: *778 - addMembers: *778 - '400': *773 - '401': *771 - '403': *774 + updateGroup: *780 + addMembers: *780 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106560,17 +106758,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: - - *779 + - *781 - *41 responses: '204': description: Group was deleted, no content - '400': *773 - '401': *771 - '403': *774 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106604,8 +106802,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *782 - - *783 + - *784 + - *785 - *41 responses: '200': @@ -106638,7 +106836,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &786 + items: &788 allOf: - type: object required: @@ -106717,7 +106915,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &785 + roles: &787 type: array description: The roles assigned to the user. items: @@ -106773,7 +106971,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *784 + meta: *786 startIndex: type: integer description: A starting index for the returned page @@ -106810,11 +107008,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *773 - '401': *771 - '403': *774 - '429': *775 - '500': *776 + '400': *775 + '401': *773 + '403': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106838,7 +107036,7 @@ paths: required: true content: application/json: - schema: &789 + schema: &791 type: object required: - schemas @@ -106920,9 +107118,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *785 + roles: *787 examples: - user: &790 + user: &792 summary: User value: schemas: @@ -106969,9 +107167,9 @@ paths: description: User has been created content: application/scim+json: - schema: *786 + schema: *788 examples: - user: &787 + user: &789 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106997,13 +107195,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: *787 - '400': *773 - '401': *771 - '403': *774 - '409': *781 - '429': *775 - '500': *776 + enterpriseOwner: *789 + '400': *775 + '401': *773 + '403': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107020,7 +107218,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: - - &788 + - &790 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107033,15 +107231,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *786 + schema: *788 examples: - default: *787 - '400': *773 - '401': *771 - '403': *774 + default: *789 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107063,30 +107261,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: - - *788 + - *790 - *41 requestBody: required: true content: application/json: - schema: *789 + schema: *791 examples: - user: *790 + user: *792 responses: '200': description: User was updated content: application/scim+json: - schema: *786 + schema: *788 examples: - user: *787 - '400': *773 - '401': *771 - '403': *774 + user: *789 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107121,13 +107319,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: - - *788 + - *790 - *41 requestBody: required: true content: application/json: - schema: *791 + schema: *793 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107167,18 +107365,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *786 + schema: *788 examples: - userMultiValuedProperties: *787 - userSingleValuedProperties: *787 - disableUser: *787 - '400': *773 - '401': *771 - '403': *774 + userMultiValuedProperties: *789 + userSingleValuedProperties: *789 + disableUser: *789 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107198,17 +107396,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: - - *788 + - *790 - *41 responses: '204': description: User was deleted, no content - '400': *773 - '401': *771 - '403': *774 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107295,7 +107493,7 @@ paths: example: 1 Resources: type: array - items: &792 + items: &794 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -107526,22 +107724,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &793 + '404': &795 description: Resource not found content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '403': &794 + schema: *772 + '403': &796 description: Forbidden content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '400': *773 - '429': *775 + schema: *772 + '400': *775 + '429': *777 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -107567,9 +107765,9 @@ paths: description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: &795 + default: &797 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107592,17 +107790,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *793 - '403': *794 - '500': *776 + '404': *795 + '403': *796 + '500': *778 '409': description: Conflict content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '400': *773 + schema: *772 + '400': *775 requestBody: required: true content: @@ -107700,17 +107898,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *788 + - *790 responses: '200': description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: *795 - '404': *793 - '403': *794 + default: *797 + '404': *795 + '403': *796 '304': *37 x-github: githubCloudOnly: true @@ -107734,18 +107932,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *788 + - *790 responses: '200': description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: *795 + default: *797 '304': *37 - '404': *793 - '403': *794 + '404': *795 + '403': *796 requestBody: required: true content: @@ -107858,19 +108056,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *788 + - *790 responses: '200': description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: *795 + default: *797 '304': *37 - '404': *793 - '403': *794 - '400': *773 + '404': *795 + '403': *796 + '400': *775 '429': description: Response content: @@ -107961,12 +108159,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *788 + - *790 responses: '204': description: Response - '404': *793 - '403': *794 + '404': *795 + '403': *796 '304': *37 x-github: githubCloudOnly: true @@ -108081,7 +108279,7 @@ paths: html_url: type: string format: uri - repository: *278 + repository: *280 score: type: number file_size: @@ -108099,7 +108297,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &796 + text_matches: &798 title: Search Result Text Matches type: array items: @@ -108262,7 +108460,7 @@ paths: enum: - author-date - committer-date - - &797 + - &799 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 @@ -108333,7 +108531,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *524 nullable: true comment_count: type: integer @@ -108353,7 +108551,7 @@ paths: url: type: string format: uri - verification: *644 + verification: *646 required: - author - committer @@ -108372,7 +108570,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *524 nullable: true parents: type: array @@ -108385,12 +108583,12 @@ paths: type: string sha: type: string - repository: *278 + repository: *280 score: type: number node_id: type: string - text_matches: *796 + text_matches: *798 required: - sha - node_id @@ -108583,7 +108781,7 @@ paths: - interactions - created - updated - - *797 + - *799 - *17 - *19 - name: advanced_search @@ -108680,11 +108878,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: type: string state_reason: @@ -108701,8 +108899,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 nullable: true comments: type: integer @@ -108716,7 +108914,7 @@ paths: type: string format: date-time nullable: true - text_matches: *796 + text_matches: *798 pull_request: type: object properties: @@ -108749,7 +108947,7 @@ paths: type: string score: type: number - author_association: *210 + author_association: *213 draft: type: boolean repository: *74 @@ -108760,7 +108958,7 @@ paths: timeline_url: type: string format: uri - type: *362 + type: *364 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -108770,9 +108968,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - assignee - closed_at @@ -108941,7 +109139,7 @@ paths: enum: - created - updated - - *797 + - *799 - *17 - *19 responses: @@ -108985,7 +109183,7 @@ paths: nullable: true score: type: number - text_matches: *796 + text_matches: *798 required: - id - node_id @@ -109071,7 +109269,7 @@ paths: - forks - help-wanted-issues - updated - - *797 + - *799 - *17 - *19 responses: @@ -109290,8 +109488,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true permissions: type: object @@ -109310,7 +109508,7 @@ paths: - admin - pull - push - text_matches: *796 + text_matches: *798 temp_clone_token: type: string allow_merge_commit: @@ -109611,7 +109809,7 @@ paths: type: string format: uri nullable: true - text_matches: *796 + text_matches: *798 related: type: array nullable: true @@ -109804,7 +110002,7 @@ paths: - followers - repositories - joined - - *797 + - *799 - *17 - *19 responses: @@ -109908,7 +110106,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *796 + text_matches: *798 blog: type: string nullable: true @@ -109987,7 +110185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &801 + - &803 name: team_id description: The unique identifier of the team. in: path @@ -109999,9 +110197,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 x-github: githubCloudOnly: false @@ -110028,7 +110226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *801 + - *803 requestBody: required: true content: @@ -110091,16 +110289,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '201': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 '422': *15 '403': *29 @@ -110128,7 +110326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *801 + - *803 responses: '204': description: Response @@ -110159,7 +110357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *801 + - *803 - *106 - *17 - *19 @@ -110170,9 +110368,9 @@ paths: application/json: schema: type: array - items: *448 + items: *450 examples: - default: *802 + default: *804 headers: Link: *43 x-github: @@ -110201,7 +110399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *801 + - *803 requestBody: required: true content: @@ -110235,9 +110433,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: triggersNotification: true githubCloudOnly: false @@ -110264,16 +110462,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *801 - - *450 + - *803 + - *452 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110298,8 +110496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *801 - - *450 + - *803 + - *452 requestBody: required: false content: @@ -110322,9 +110520,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *803 + default: *805 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110349,8 +110547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *801 - - *450 + - *803 + - *452 responses: '204': description: Response @@ -110379,8 +110577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *801 - - *450 + - *803 + - *452 - *106 - *17 - *19 @@ -110391,9 +110589,9 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: - default: *804 + default: *806 headers: Link: *43 x-github: @@ -110422,8 +110620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *801 - - *450 + - *803 + - *452 requestBody: required: true content: @@ -110445,9 +110643,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: triggersNotification: true githubCloudOnly: false @@ -110474,17 +110672,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 responses: '200': description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110509,9 +110707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 requestBody: required: true content: @@ -110533,9 +110731,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *805 + default: *807 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110560,9 +110758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 responses: '204': description: Response @@ -110591,9 +110789,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: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 - 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. @@ -110619,9 +110817,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 x-github: @@ -110650,9 +110848,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: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 requestBody: required: true content: @@ -110684,9 +110882,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110712,8 +110910,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: - - *801 - - *450 + - *803 + - *452 - 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. @@ -110739,9 +110937,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 x-github: @@ -110770,8 +110968,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: - - *801 - - *450 + - *803 + - *452 requestBody: required: true content: @@ -110803,9 +111001,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110829,7 +111027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -110839,9 +111037,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *43 x-github: @@ -110867,7 +111065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *801 + - *803 - name: role description: Filters members returned by their role in the team. in: query @@ -110890,7 +111088,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -110918,7 +111116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *801 + - *803 - *138 responses: '204': @@ -110955,7 +111153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *801 + - *803 - *138 responses: '204': @@ -110995,7 +111193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *801 + - *803 - *138 responses: '204': @@ -111032,16 +111230,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: - - *801 + - *803 - *138 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - response-if-user-is-a-team-maintainer: *806 + response-if-user-is-a-team-maintainer: *808 '404': *6 x-github: githubCloudOnly: false @@ -111074,7 +111272,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: - - *801 + - *803 - *138 requestBody: required: false @@ -111100,9 +111298,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: *807 + response-if-users-membership-with-team-is-now-pending: *809 '403': description: Forbidden if team synchronization is set up '422': @@ -111136,7 +111334,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: - - *801 + - *803 - *138 responses: '204': @@ -111165,7 +111363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -111175,9 +111373,9 @@ paths: application/json: schema: type: array - items: *463 + items: *465 examples: - default: *808 + default: *810 headers: Link: *43 '404': *6 @@ -111203,16 +111401,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: - - *801 - - *464 + - *803 + - *466 responses: '200': description: Response content: application/json: - schema: *463 + schema: *465 examples: - default: *809 + default: *811 '404': description: Not Found if project is not managed by this team x-github: @@ -111236,8 +111434,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: - - *801 - - *464 + - *803 + - *466 requestBody: required: false content: @@ -111304,8 +111502,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: - - *801 - - *464 + - *803 + - *466 responses: '204': description: Response @@ -111332,7 +111530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -111342,9 +111540,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 '404': *6 @@ -111374,15 +111572,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: - - *801 - - *465 - - *466 + - *803 + - *467 + - *468 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *810 + schema: *812 examples: alternative-response-with-extra-repository-information: value: @@ -111533,9 +111731,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: - - *801 - - *465 - - *466 + - *803 + - *467 + - *468 requestBody: required: false content: @@ -111585,9 +111783,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: - - *801 - - *465 - - *466 + - *803 + - *467 + - *468 responses: '204': description: Response @@ -111616,15 +111814,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: - - *801 + - *803 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 '403': *29 '404': *6 x-github: @@ -111651,7 +111849,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: - - *801 + - *803 requestBody: required: true content: @@ -111708,7 +111906,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default: value: @@ -111739,7 +111937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -111749,9 +111947,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - response-if-child-teams-exist: *811 + response-if-child-teams-exist: *813 headers: Link: *43 '404': *6 @@ -111784,7 +111982,7 @@ paths: application/json: schema: oneOf: - - &813 + - &815 title: Private User description: Private User type: object @@ -111987,7 +112185,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *812 + - *814 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112140,7 +112338,7 @@ paths: description: Response content: application/json: - schema: *813 + schema: *815 examples: default: value: @@ -112219,7 +112417,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '304': *37 '404': *6 '403': *29 @@ -112343,9 +112541,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *37 '500': *40 '401': *25 @@ -112484,17 +112682,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '401': *25 '403': *29 '404': *6 @@ -112538,7 +112736,7 @@ paths: type: integer secrets: type: array - items: &814 + items: &816 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112578,7 +112776,7 @@ paths: - visibility - selected_repositories_url examples: - default: *576 + default: *578 headers: Link: *43 x-github: @@ -112648,13 +112846,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *814 + schema: *816 examples: default: value: @@ -112684,7 +112882,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: - - *288 + - *290 requestBody: required: true content: @@ -112729,7 +112927,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -112757,7 +112955,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: - - *288 + - *290 responses: '204': description: Response @@ -112782,7 +112980,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: - - *288 + - *290 responses: '200': description: Response @@ -112798,9 +112996,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *815 + default: *817 '401': *25 '403': *29 '404': *6 @@ -112825,7 +113023,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: - - *288 + - *290 requestBody: required: true content: @@ -112879,7 +113077,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: - - *288 + - *290 - name: repository_id in: path required: true @@ -112912,7 +113110,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: - - *288 + - *290 - name: repository_id in: path required: true @@ -112944,15 +113142,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '304': *37 '500': *40 '401': *25 @@ -112978,7 +113176,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: - - *369 + - *371 requestBody: required: false content: @@ -113008,9 +113206,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '401': *25 '403': *29 '404': *6 @@ -113032,7 +113230,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: - - *369 + - *371 responses: '202': *39 '304': *37 @@ -113061,13 +113259,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: - - *369 + - *371 responses: '202': description: Response content: application/json: - schema: &816 + schema: &818 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113108,7 +113306,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &817 + default: &819 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113140,7 +113338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *369 + - *371 - name: export_id in: path required: true @@ -113153,9 +113351,9 @@ paths: description: Response content: application/json: - schema: *816 + schema: *818 examples: - default: *817 + default: *819 '404': *6 x-github: githubCloudOnly: false @@ -113176,7 +113374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *369 + - *371 responses: '200': description: Response @@ -113192,9 +113390,9 @@ paths: type: integer machines: type: array - items: *818 + items: *820 examples: - default: *819 + default: *821 '304': *37 '500': *40 '401': *25 @@ -113223,7 +113421,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: - - *369 + - *371 requestBody: required: true content: @@ -113273,13 +113471,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *478 + repository: *480 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *574 - required: *575 + properties: *576 + required: *577 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -114053,15 +114251,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '304': *37 '500': *40 '400': *14 @@ -114093,15 +114291,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '500': *40 '401': *25 '403': *29 @@ -114131,9 +114329,9 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: &830 + default: &832 value: - id: 197 name: hello_docker @@ -114234,7 +114432,7 @@ paths: application/json: schema: type: array - items: &820 + items: &822 title: Email description: Email type: object @@ -114299,9 +114497,9 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: - default: &832 + default: &834 value: - email: octocat@github.com verified: true @@ -114376,7 +114574,7 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: default: value: @@ -114486,7 +114684,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114519,7 +114717,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114632,7 +114830,7 @@ paths: application/json: schema: type: array - items: &821 + items: &823 title: GPG Key description: A unique encryption key type: object @@ -114763,7 +114961,7 @@ paths: - subkeys - revoked examples: - default: &846 + default: &848 value: - id: 3 name: Octocat's GPG Key @@ -114848,9 +115046,9 @@ paths: description: Response content: application/json: - schema: *821 + schema: *823 examples: - default: &822 + default: &824 value: id: 3 name: Octocat's GPG Key @@ -114907,7 +115105,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: - - &823 + - &825 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114919,9 +115117,9 @@ paths: description: Response content: application/json: - schema: *821 + schema: *823 examples: - default: *822 + default: *824 '404': *6 '304': *37 '403': *29 @@ -114944,7 +115142,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: - - *823 + - *825 responses: '204': description: Response @@ -115135,7 +115333,7 @@ paths: type: array items: *74 examples: - default: *273 + default: *275 headers: Link: *43 '404': *6 @@ -115160,7 +115358,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *272 + - *274 responses: '204': description: Response @@ -115186,7 +115384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *272 + - *274 responses: '204': description: Response @@ -115220,12 +115418,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: *358 + default: *360 '204': description: Response when there are no restrictions x-github: @@ -115249,7 +115447,7 @@ paths: required: true content: application/json: - schema: *655 + schema: *657 examples: default: value: @@ -115260,7 +115458,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -115341,7 +115539,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -115354,7 +115552,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -115364,9 +115562,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *366 + default: *368 headers: Link: *43 '404': *6 @@ -115399,7 +115597,7 @@ paths: application/json: schema: type: array - items: &824 + items: &826 title: Key description: Key type: object @@ -115500,9 +115698,9 @@ paths: description: Response content: application/json: - schema: *824 + schema: *826 examples: - default: &825 + default: &827 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115535,15 +115733,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: - - *684 + - *686 responses: '200': description: Response content: application/json: - schema: *824 + schema: *826 examples: - default: *825 + default: *827 '404': *6 '304': *37 '403': *29 @@ -115566,7 +115764,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: - - *684 + - *686 responses: '204': description: Response @@ -115599,7 +115797,7 @@ paths: application/json: schema: type: array - items: &826 + items: &828 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115656,7 +115854,7 @@ paths: - id - type - login - plan: *227 + plan: *230 required: - billing_cycle - next_billing_date @@ -115667,7 +115865,7 @@ paths: - account - plan examples: - default: &827 + default: &829 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115729,9 +115927,9 @@ paths: application/json: schema: type: array - items: *826 + items: *828 examples: - default: *827 + default: *829 headers: Link: *43 '304': *37 @@ -115771,7 +115969,7 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: default: value: @@ -115879,7 +116077,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -115962,7 +116160,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -116030,7 +116228,7 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: default: value: @@ -116283,7 +116481,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -116463,7 +116661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *373 + - *375 - name: exclude in: query required: false @@ -116476,7 +116674,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -116670,7 +116868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *373 + - *375 responses: '302': description: Response @@ -116696,7 +116894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *373 + - *375 responses: '204': description: Response @@ -116725,8 +116923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *373 - - *828 + - *375 + - *830 responses: '204': description: Response @@ -116750,7 +116948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *373 + - *375 - *17 - *19 responses: @@ -116760,9 +116958,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 '404': *6 @@ -116799,7 +116997,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 '304': *37 @@ -116841,7 +117039,7 @@ paths: - docker - nuget - container - - *829 + - *831 - *19 - *17 responses: @@ -116851,10 +117049,10 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *830 - '400': *831 + default: *832 + '400': *833 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116874,16 +117072,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: - - *380 - - *381 + - *382 + - *383 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: &847 + default: &849 value: id: 40201 name: octo-name @@ -116996,8 +117194,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: - - *380 - - *381 + - *382 + - *383 responses: '204': description: Response @@ -117027,8 +117225,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: - - *380 - - *381 + - *382 + - *383 - name: token description: package token schema: @@ -117060,8 +117258,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: - - *380 - - *381 + - *382 + - *383 - *19 - *17 - name: state @@ -117081,7 +117279,7 @@ paths: application/json: schema: type: array - items: *382 + items: *384 examples: default: value: @@ -117130,15 +117328,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: - - *380 - - *381 + - *382 - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -117174,9 +117372,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: - - *380 - - *381 + - *382 - *383 + - *385 responses: '204': description: Response @@ -117206,9 +117404,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: - - *380 - - *381 + - *382 - *383 + - *385 responses: '204': description: Response @@ -117264,7 +117462,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: default: value: @@ -117336,9 +117534,9 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: - default: *832 + default: *834 headers: Link: *43 '304': *37 @@ -117451,7 +117649,7 @@ paths: type: array items: *74 examples: - default: &839 + default: &841 summary: Default response value: - id: 1296269 @@ -117755,9 +117953,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117795,9 +117993,9 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: *833 + default: *835 headers: Link: *43 '304': *37 @@ -117820,7 +118018,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -117843,7 +118041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -117876,7 +118074,7 @@ paths: application/json: schema: type: array - items: &834 + items: &836 title: Social account description: Social media account type: object @@ -117891,7 +118089,7 @@ paths: - provider - url examples: - default: &835 + default: &837 value: - provider: twitter url: https://twitter.com/github @@ -117953,9 +118151,9 @@ paths: application/json: schema: type: array - items: *834 + items: *836 examples: - default: *835 + default: *837 '422': *15 '304': *37 '404': *6 @@ -118042,7 +118240,7 @@ paths: application/json: schema: type: array - items: &836 + items: &838 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118062,7 +118260,7 @@ paths: - title - created_at examples: - default: &850 + default: &852 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118128,9 +118326,9 @@ paths: description: Response content: application/json: - schema: *836 + schema: *838 examples: - default: &837 + default: &839 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118161,7 +118359,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: - - &838 + - &840 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118173,9 +118371,9 @@ paths: description: Response content: application/json: - schema: *836 + schema: *838 examples: - default: *837 + default: *839 '404': *6 '304': *37 '403': *29 @@ -118198,7 +118396,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: - - *838 + - *840 responses: '204': description: Response @@ -118227,7 +118425,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: - - &851 + - &853 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 @@ -118252,11 +118450,11 @@ paths: type: array items: *74 examples: - default-response: *839 + default-response: *841 application/vnd.github.v3.star+json: schema: type: array - items: &852 + items: &854 title: Starred Repository description: Starred Repository type: object @@ -118412,8 +118610,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response if this repository is starred by you @@ -118441,8 +118639,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -118466,8 +118664,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -118500,9 +118698,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 '304': *37 @@ -118539,7 +118737,7 @@ paths: application/json: schema: type: array - items: *446 + items: *448 examples: default: value: @@ -118617,7 +118815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *229 + - *232 responses: '200': description: Response @@ -118625,10 +118823,10 @@ paths: application/json: schema: oneOf: - - *813 - - *812 + - *815 + - *814 examples: - default-response: &841 + default-response: &843 summary: Default response value: login: octocat @@ -118663,7 +118861,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &842 + response-with-git-hub-plan-information: &844 summary: Response with GitHub plan information value: login: octocat @@ -118723,7 +118921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *840 + - *842 - *17 responses: '200': @@ -118734,7 +118932,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: example: ; rel="next" @@ -118772,11 +118970,11 @@ paths: application/json: schema: oneOf: - - *813 - - *812 + - *815 + - *814 examples: - default-response: *841 - response-with-git-hub-plan-information: *842 + default-response: *843 + response-with-git-hub-plan-information: *844 '404': *6 x-github: githubCloudOnly: false @@ -118826,8 +119024,8 @@ paths: required: - subject_digests examples: - default: *843 - withPredicateType: *844 + default: *845 + withPredicateType: *846 responses: '200': description: Response @@ -118880,7 +119078,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *845 + default: *847 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119085,12 +119283,12 @@ paths: initiator: type: string examples: - default: *518 + default: *520 '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -119124,9 +119322,9 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *830 + default: *832 '403': *29 '401': *25 x-github: @@ -119159,7 +119357,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119232,7 +119430,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119319,7 +119517,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119389,7 +119587,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119420,7 +119618,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119467,7 +119665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *138 - - *213 + - *216 - *17 - *19 responses: @@ -119477,9 +119675,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -119510,9 +119708,9 @@ paths: application/json: schema: type: array - items: *821 + items: *823 examples: - default: *846 + default: *848 headers: Link: *43 x-github: @@ -119616,7 +119814,7 @@ paths: application/json: schema: *22 examples: - default: *654 + default: *656 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119701,7 +119899,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 x-github: @@ -119740,7 +119938,7 @@ paths: - docker - nuget - container - - *829 + - *831 - *138 - *19 - *17 @@ -119751,12 +119949,12 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *830 + default: *832 '403': *29 '401': *25 - '400': *831 + '400': *833 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119776,17 +119974,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *380 - - *381 + - *382 + - *383 - *138 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *847 + default: *849 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119807,8 +120005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *380 - - *381 + - *382 + - *383 - *138 responses: '204': @@ -119841,8 +120039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *380 - - *381 + - *382 + - *383 - *138 - name: token description: package token @@ -119875,8 +120073,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: - - *380 - - *381 + - *382 + - *383 - *138 responses: '200': @@ -119885,7 +120083,7 @@ paths: application/json: schema: type: array - items: *382 + items: *384 examples: default: value: @@ -119943,16 +120141,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: - - *380 - - *381 + - *382 - *383 + - *385 - *138 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -119987,10 +120185,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *380 - - *381 - - *138 + - *382 - *383 + - *138 + - *385 responses: '204': description: Response @@ -120022,10 +120220,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *380 - - *381 - - *138 + - *382 - *383 + - *138 + - *385 responses: '204': description: Response @@ -120072,7 +120270,7 @@ paths: application/json: schema: type: array - items: *394 + items: *396 examples: default: value: @@ -120147,9 +120345,9 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: - default: *396 + default: *398 headers: Link: *43 '304': *37 @@ -120171,16 +120369,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *397 + - *399 - *138 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 headers: Link: *43 '304': *37 @@ -120202,7 +120400,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *397 + - *399 - *138 - *17 - *104 @@ -120214,9 +120412,9 @@ paths: application/json: schema: type: array - items: *398 + items: *400 examples: - default: *399 + default: *401 headers: Link: *43 '304': *37 @@ -120238,17 +120436,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *397 - - *848 + - *399 + - *850 - *138 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 headers: Link: *43 '304': *37 @@ -120271,7 +120469,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: - - *397 + - *399 - *138 - *104 - *105 @@ -120304,9 +120502,9 @@ paths: application/json: schema: type: array - items: *405 + items: *407 examples: - default: *406 + default: *408 headers: Link: *43 '304': *37 @@ -120328,7 +120526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *397 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -120365,10 +120563,10 @@ paths: description: Response content: application/json: - schema: *849 + schema: *851 examples: - issue: *404 - pull_request: *404 + issue: *406 + pull_request: *406 '304': *37 '403': *29 '401': *25 @@ -120388,9 +120586,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: - - *397 + - *399 - *138 - - *407 + - *409 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120410,9 +120608,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 headers: Link: *43 '304': *37 @@ -120433,9 +120631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *397 + - *399 - *138 - - *407 + - *409 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120505,13 +120703,13 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - text_field: *406 - number_field: *406 - date_field: *406 - single_select_field: *406 - iteration_field: *406 + text_field: *408 + number_field: *408 + date_field: *408 + single_select_field: *408 + iteration_field: *408 '401': *25 '403': *29 '404': *6 @@ -120531,9 +120729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *397 + - *399 - *138 - - *407 + - *409 responses: '204': description: Response @@ -120570,7 +120768,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120645,7 +120843,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120751,9 +120949,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -120783,9 +120981,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120813,9 +121011,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120837,10 +121035,10 @@ paths: parameters: - *138 - *196 - - *243 + - *198 - *197 - - *245 - - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -120976,9 +121174,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121000,9 +121198,8 @@ paths: parameters: - *138 - *196 - - *247 - - *197 - *248 + - *197 responses: '200': description: Response when getting a billing usage report @@ -121079,6 +121276,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-report-for-a-user + parameters: + - *138 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -121101,9 +121433,9 @@ paths: application/json: schema: type: array - items: *834 + items: *836 examples: - default: *835 + default: *837 headers: Link: *43 x-github: @@ -121133,9 +121465,9 @@ paths: application/json: schema: type: array - items: *836 + items: *838 examples: - default: *850 + default: *852 headers: Link: *43 x-github: @@ -121160,7 +121492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *851 + - *853 - *106 - *17 - *19 @@ -121172,11 +121504,11 @@ paths: schema: anyOf: - type: array - items: *852 + items: *854 - type: array items: *74 examples: - default-response: *839 + default-response: *841 headers: Link: *43 x-github: @@ -121205,9 +121537,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -121335,7 +121667,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &853 + enterprise: &855 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121393,7 +121725,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &854 + installation: &856 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121412,7 +121744,7 @@ x-webhooks: required: - id - node_id - organization: &855 + organization: &857 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121472,13 +121804,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &856 + repository: &858 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &893 + properties: &895 id: description: Unique identifier of the repository example: 42 @@ -121498,8 +121830,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -122161,7 +122493,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &894 + required: &896 - archive_url - assignees_url - blobs_url @@ -122312,10 +122644,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -122391,11 +122723,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: &857 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + rule: &859 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) @@ -122618,11 +122950,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + rule: *859 sender: *4 required: - action @@ -122805,11 +123137,11 @@ x-webhooks: - everyone required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + rule: *859 sender: *4 required: - action @@ -122880,7 +123212,7 @@ x-webhooks: required: true content: application/json: - schema: &860 + schema: &862 title: Exemption request cancellation event type: object properties: @@ -122888,11 +123220,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: &858 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: &860 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123125,7 +123457,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &859 + items: &861 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -123233,7 +123565,7 @@ x-webhooks: required: true content: application/json: - schema: &861 + schema: &863 title: Exemption request completed event type: object properties: @@ -123241,11 +123573,11 @@ x-webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 sender: *4 required: - action @@ -123315,7 +123647,7 @@ x-webhooks: required: true content: application/json: - schema: &862 + schema: &864 title: Exemption request created event type: object properties: @@ -123323,11 +123655,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 sender: *4 required: - action @@ -123397,7 +123729,7 @@ x-webhooks: required: true content: application/json: - schema: &863 + schema: &865 title: Exemption response dismissed event type: object properties: @@ -123405,12 +123737,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 + exemption_response: *861 sender: *4 required: - action @@ -123482,7 +123814,7 @@ x-webhooks: required: true content: application/json: - schema: &864 + schema: &866 title: Exemption response submitted event type: object properties: @@ -123490,12 +123822,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 + exemption_response: *861 sender: *4 required: - action @@ -123568,7 +123900,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123635,7 +123967,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123702,7 +124034,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123769,7 +124101,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123837,7 +124169,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123915,7 +124247,7 @@ x-webhooks: type: string enum: - completed - check_run: &866 + check_run: &868 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123968,8 +124300,8 @@ x-webhooks: type: string pull_requests: type: array - items: *535 - repository: *278 + items: *537 + repository: *280 status: example: completed type: string @@ -124006,7 +124338,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *865 + deployment: *867 details_url: example: https://example.com type: string @@ -124056,7 +124388,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *535 + items: *537 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -124091,10 +124423,10 @@ x-webhooks: - output - app - pull_requests - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 sender: *4 required: - check_run @@ -124487,11 +124819,11 @@ x-webhooks: type: string enum: - created - check_run: *866 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *868 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 sender: *4 required: - check_run @@ -124887,11 +125219,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *866 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *868 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 requested_action: description: The action requested by the user. type: object @@ -125296,11 +125628,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *866 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *868 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 sender: *4 required: - check_run @@ -126277,10 +126609,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -126950,10 +127282,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -127617,10 +127949,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -127786,7 +128118,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127931,20 +128263,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &867 + commit_oid: &869 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: *853 - installation: *854 - organization: *855 - ref: &868 + enterprise: *855 + installation: *856 + organization: *857 + ref: &870 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: *856 + repository: *858 sender: *4 required: - action @@ -128109,7 +128441,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128339,12 +128671,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -128439,7 +128771,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128610,12 +128942,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -128781,7 +129113,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128947,12 +129279,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -129052,7 +129384,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129220,16 +129552,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *856 + repository: *858 sender: *4 required: - action @@ -129326,7 +129658,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129466,12 +129798,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -129728,10 +130060,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -129811,18 +130143,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *855 - pusher_type: &869 + organization: *857 + pusher_type: &871 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &870 + ref: &872 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129832,7 +130164,7 @@ x-webhooks: enum: - tag - branch - repository: *856 + repository: *858 sender: *4 required: - ref @@ -129915,9 +130247,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130002,9 +130334,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130082,9 +130414,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130162,9 +130494,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130241,10 +130573,10 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - repository: *856 - organization: *855 + enterprise: *855 + installation: *856 + repository: *858 + organization: *857 sender: *4 new_property_values: type: array @@ -130329,18 +130661,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - pusher_type: *869 - ref: *870 + enterprise: *855 + installation: *856 + organization: *857 + pusher_type: *871 + ref: *872 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *856 + repository: *858 sender: *4 required: - ref @@ -130424,11 +130756,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130512,11 +130844,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130600,11 +130932,11 @@ x-webhooks: type: string enum: - created - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130686,11 +131018,11 @@ x-webhooks: type: string enum: - dismissed - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130772,11 +131104,11 @@ x-webhooks: type: string enum: - fixed - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130859,11 +131191,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130945,11 +131277,11 @@ x-webhooks: type: string enum: - reopened - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -131026,9 +131358,9 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - key: &871 + enterprise: *855 + installation: *856 + key: &873 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131064,8 +131396,8 @@ x-webhooks: - verified - created_at - read_only - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -131142,11 +131474,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - key: *871 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + key: *873 + organization: *857 + repository: *858 sender: *4 required: - action @@ -131707,12 +132039,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: &875 + workflow: &877 title: Workflow type: object nullable: true @@ -132438,13 +132770,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *610 + deployment: *612 pull_requests: type: array - items: *705 - repository: *856 - organization: *855 - installation: *854 + items: *707 + repository: *858 + organization: *857 + installation: *856 sender: *4 responses: '200': @@ -132515,7 +132847,7 @@ x-webhooks: type: string enum: - approved - approver: &872 + approver: &874 type: object properties: avatar_url: @@ -132558,11 +132890,11 @@ x-webhooks: type: string comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: &873 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + reviewers: &875 type: array items: type: object @@ -132641,7 +132973,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &874 + workflow_job_run: &876 type: object properties: conclusion: @@ -133372,18 +133704,18 @@ x-webhooks: type: string enum: - rejected - approver: *872 + approver: *874 comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: *873 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + reviewers: *875 sender: *4 since: type: string - workflow_job_run: *874 + workflow_job_run: *876 workflow_job_runs: type: array items: @@ -134087,13 +134419,13 @@ x-webhooks: type: string enum: - requested - enterprise: *853 + enterprise: *855 environment: type: string - installation: *854 - organization: *855 - repository: *856 - requestor: &880 + installation: *856 + organization: *857 + repository: *858 + requestor: &882 title: User type: object nullable: true @@ -135992,12 +136324,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Deployment Workflow Run type: object @@ -136677,7 +137009,7 @@ x-webhooks: type: string enum: - answered - answer: &878 + answer: &880 type: object properties: author_association: @@ -136834,7 +137166,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &876 + discussion: &878 title: Discussion description: A Discussion in a repository. type: object @@ -137120,7 +137452,7 @@ x-webhooks: - id labels: type: array - items: *667 + items: *669 required: - repository_url - category @@ -137142,10 +137474,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137272,11 +137604,11 @@ x-webhooks: - from required: - category - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137359,11 +137691,11 @@ x-webhooks: type: string enum: - closed - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137445,7 +137777,7 @@ x-webhooks: type: string enum: - created - comment: &877 + comment: &879 type: object properties: author_association: @@ -137602,11 +137934,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137689,12 +138021,12 @@ x-webhooks: type: string enum: - deleted - comment: *877 - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *879 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137789,12 +138121,12 @@ x-webhooks: - from required: - body - comment: *877 - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *879 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137878,11 +138210,11 @@ x-webhooks: type: string enum: - created - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137964,11 +138296,11 @@ x-webhooks: type: string enum: - deleted - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138068,11 +138400,11 @@ x-webhooks: type: string required: - from - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138154,10 +138486,10 @@ x-webhooks: type: string enum: - labeled - discussion: *876 - enterprise: *853 - installation: *854 - label: &879 + discussion: *878 + enterprise: *855 + installation: *856 + label: &881 title: Label type: object properties: @@ -138189,8 +138521,8 @@ x-webhooks: - color - default - description - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138273,11 +138605,11 @@ x-webhooks: type: string enum: - locked - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138359,11 +138691,11 @@ x-webhooks: type: string enum: - pinned - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138445,11 +138777,11 @@ x-webhooks: type: string enum: - reopened - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138534,16 +138866,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *876 - new_repository: *856 + new_discussion: *878 + new_repository: *858 required: - new_discussion - new_repository - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138626,10 +138958,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *876 - old_answer: *878 - organization: *855 - repository: *856 + discussion: *878 + old_answer: *880 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138711,12 +139043,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *876 - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138799,11 +139131,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138885,11 +139217,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138958,7 +139290,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139021,7 +139353,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139087,7 +139419,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139153,7 +139485,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139219,7 +139551,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139285,7 +139617,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139351,7 +139683,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139418,7 +139750,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *853 + enterprise: *855 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -140078,9 +140410,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - forkee @@ -140226,9 +140558,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pages: description: The pages that were updated. type: array @@ -140265,7 +140597,7 @@ x-webhooks: - action - sha - html_url - repository: *856 + repository: *858 sender: *4 required: - pages @@ -140341,10 +140673,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: &881 + organization: *857 + repositories: &883 description: An array of repository objects that the installation can access. type: array @@ -140370,8 +140702,8 @@ x-webhooks: - name - full_name - private - repository: *856 - requester: *880 + repository: *858 + requester: *882 sender: *4 required: - action @@ -140446,11 +140778,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -140526,11 +140858,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -140606,10 +140938,10 @@ x-webhooks: type: string enum: - added - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories_added: &882 + organization: *857 + repositories_added: &884 description: An array of repository objects, which were added to the installation. type: array @@ -140655,15 +140987,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *856 - repository_selection: &883 + repository: *858 + repository_selection: &885 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *880 + requester: *882 sender: *4 required: - action @@ -140742,10 +141074,10 @@ x-webhooks: type: string enum: - removed - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories_added: *882 + organization: *857 + repositories_added: *884 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140772,9 +141104,9 @@ x-webhooks: - name - full_name - private - repository: *856 - repository_selection: *883 - requester: *880 + repository: *858 + repository_selection: *885 + requester: *882 sender: *4 required: - action @@ -140853,11 +141185,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -141036,10 +141368,10 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 target_type: type: string @@ -141118,11 +141450,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -141246,8 +141578,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 reactions: title: Reactions type: object @@ -141374,8 +141706,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142169,8 +142501,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142186,7 +142518,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -142519,8 +142851,8 @@ x-webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -142600,7 +142932,7 @@ x-webhooks: type: string enum: - deleted - comment: &884 + comment: &886 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142765,8 +143097,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143556,8 +143888,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143573,7 +143905,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -143908,8 +144240,8 @@ x-webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -143989,7 +144321,7 @@ x-webhooks: type: string enum: - edited - changes: &913 + changes: &915 description: The changes to the comment. type: object properties: @@ -144001,9 +144333,9 @@ x-webhooks: type: string required: - from - comment: *884 - enterprise: *853 - installation: *854 + comment: *886 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144796,8 +145128,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144813,7 +145145,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -145146,8 +145478,8 @@ x-webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145231,15 +145563,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145327,15 +145659,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145422,15 +145754,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *854 - organization: *855 - repository: *856 + blocking_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145518,15 +145850,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *854 - organization: *855 - repository: *856 + blocking_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145611,10 +145943,10 @@ x-webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - issue: &887 + assignee: *882 + enterprise: *855 + installation: *856 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146403,11 +146735,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146423,7 +146755,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -146524,8 +146856,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -146605,8 +146937,8 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147400,11 +147732,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147420,7 +147752,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -147656,8 +147988,8 @@ x-webhooks: required: - state - closed_at - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -147736,8 +148068,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148522,11 +148854,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148542,7 +148874,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -148642,8 +148974,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -148722,8 +149054,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149530,11 +149862,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149550,7 +149882,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -149629,7 +149961,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &885 + milestone: &887 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149767,8 +150099,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -149867,8 +150199,8 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150657,11 +150989,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150674,7 +151006,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -150778,9 +151110,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *879 - organization: *855 - repository: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -150860,8 +151192,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151649,11 +151981,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151666,7 +151998,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -151770,9 +152102,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *879 - organization: *855 - repository: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -151852,8 +152184,8 @@ x-webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152665,11 +152997,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152682,7 +153014,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -152763,8 +153095,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -152843,8 +153175,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153650,11 +153982,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153670,7 +154002,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -153748,9 +154080,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *885 - organization: *855 - repository: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -154618,11 +154950,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154715,7 +155047,7 @@ x-webhooks: required: - login - id - type: *362 + type: *364 required: - id - number @@ -155184,8 +155516,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155974,11 +156306,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155994,7 +156326,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -156094,8 +156426,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -156175,9 +156507,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *853 - installation: *854 - issue: &886 + enterprise: *855 + installation: *856 + issue: &888 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156960,11 +157292,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156980,7 +157312,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -157080,8 +157412,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -157160,8 +157492,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157971,11 +158303,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158069,9 +158401,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *362 - organization: *855 - repository: *856 + type: *364 + organization: *857 + repository: *858 sender: *4 required: - action @@ -158937,11 +159269,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158957,7 +159289,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -159525,11 +159857,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *853 - installation: *854 - issue: *886 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *888 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159609,12 +159941,12 @@ x-webhooks: type: string enum: - typed - enterprise: *853 - installation: *854 - issue: *887 - type: *362 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + type: *364 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159695,7 +160027,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &916 + assignee: &918 title: User type: object nullable: true @@ -159765,11 +160097,11 @@ x-webhooks: required: - login - id - enterprise: *853 - installation: *854 - issue: *887 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159848,12 +160180,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - issue: *887 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159933,8 +160265,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160744,11 +161076,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160764,7 +161096,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -160842,8 +161174,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -160923,11 +161255,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *853 - installation: *854 - issue: *886 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *888 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161006,12 +161338,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *853 - installation: *854 - issue: *887 - type: *362 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + type: *364 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161091,11 +161423,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161173,11 +161505,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161287,11 +161619,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161373,9 +161705,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: &888 + enterprise: *855 + installation: *856 + marketplace_purchase: &890 title: Marketplace Purchase type: object required: @@ -161458,8 +161790,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: &889 + organization: *857 + previous_marketplace_purchase: &891 title: Marketplace Purchase type: object properties: @@ -161539,7 +161871,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *858 sender: *4 required: - action @@ -161619,10 +161951,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *855 + installation: *856 + marketplace_purchase: *890 + organization: *857 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161705,7 +162037,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *858 sender: *4 required: - action @@ -161787,10 +162119,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *855 + installation: *856 + marketplace_purchase: *890 + organization: *857 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161872,7 +162204,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *858 sender: *4 required: - action @@ -161953,8 +162285,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 marketplace_purchase: title: Marketplace Purchase type: object @@ -162036,9 +162368,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + organization: *857 + previous_marketplace_purchase: *891 + repository: *858 sender: *4 required: - action @@ -162118,12 +162450,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + enterprise: *855 + installation: *856 + marketplace_purchase: *890 + organization: *857 + previous_marketplace_purchase: *891 + repository: *858 sender: *4 required: - action @@ -162225,11 +162557,11 @@ x-webhooks: type: string required: - to - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 sender: *4 required: - action @@ -162329,11 +162661,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 sender: *4 required: - action @@ -162412,11 +162744,11 @@ x-webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 sender: *4 required: - action @@ -162494,11 +162826,11 @@ x-webhooks: type: string enum: - added - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162574,7 +162906,7 @@ x-webhooks: required: - login - id - team: &890 + team: &892 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162797,11 +163129,11 @@ x-webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162878,7 +163210,7 @@ x-webhooks: required: - login - id - team: *890 + team: *892 required: - action - scope @@ -162960,8 +163292,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *854 - merge_group: &892 + installation: *856 + merge_group: &894 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162980,15 +163312,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *891 + head_commit: *893 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163074,10 +163406,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *854 - merge_group: *892 - organization: *855 - repository: *856 + installation: *856 + merge_group: *894 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163150,7 +163482,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *855 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163259,16 +163591,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *854 - organization: *855 + installation: *856 + organization: *857 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -163349,11 +163681,11 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - milestone: *885 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163432,9 +163764,9 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - milestone: &895 + enterprise: *855 + installation: *856 + milestone: &897 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163571,8 +163903,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163651,11 +163983,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - milestone: *885 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163765,11 +164097,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - milestone: *885 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163849,11 +164181,11 @@ x-webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - milestone: *895 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *897 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163932,11 +164264,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *882 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164015,11 +164347,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *882 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164095,7 +164427,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *853 + enterprise: *855 sender: *4 required: - action @@ -164175,8 +164507,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 sender: *4 required: - action @@ -164249,8 +164581,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 sender: *4 required: - action @@ -164322,9 +164654,9 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 new_property_values: type: array @@ -164412,9 +164744,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - membership: &896 + enterprise: *855 + installation: *856 + membership: &898 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164521,8 +164853,8 @@ x-webhooks: - role - organization_url - user - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164600,11 +164932,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *853 - installation: *854 - membership: *896 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + membership: *898 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164683,8 +165015,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164800,10 +165132,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 - user: *880 + user: *882 required: - action - invitation @@ -164881,11 +165213,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *853 - installation: *854 - membership: *896 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + membership: *898 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164972,11 +165304,11 @@ x-webhooks: properties: from: type: string - enterprise: *853 - installation: *854 - membership: *896 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + membership: *898 + organization: *857 + repository: *858 sender: *4 required: - action @@ -165052,9 +165384,9 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 package: description: Information about the package. type: object @@ -165553,7 +165885,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &897 + items: &899 title: Ruby Gems metadata type: object properties: @@ -165648,7 +165980,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -165724,9 +166056,9 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 package: description: Information about the package. type: object @@ -166079,7 +166411,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *897 + items: *899 source_url: type: string format: uri @@ -166149,7 +166481,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -166326,12 +166658,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *853 + enterprise: *855 id: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - id @@ -166408,7 +166740,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &898 + personal_access_token_request: &900 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166554,10 +166886,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *853 - organization: *855 + enterprise: *855 + organization: *857 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166634,11 +166966,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *898 - enterprise: *853 - organization: *855 + personal_access_token_request: *900 + enterprise: *855 + organization: *857 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166714,11 +167046,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *898 - enterprise: *853 - organization: *855 + personal_access_token_request: *900 + enterprise: *855 + organization: *857 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166793,11 +167125,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *898 - organization: *855 - enterprise: *853 + personal_access_token_request: *900 + organization: *857 + enterprise: *855 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166902,7 +167234,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *899 + last_response: *901 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166934,8 +167266,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 zen: description: Random string of GitHub zen. @@ -167180,10 +167512,10 @@ x-webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: &900 + enterprise: *855 + installation: *856 + organization: *857 + project_card: &902 title: Project Card type: object properties: @@ -167302,7 +167634,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *856 + repository: *858 sender: *4 required: - action @@ -167383,11 +167715,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_card: *900 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_card: *902 + repository: *858 sender: *4 required: - action @@ -167467,9 +167799,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 project_card: title: Project Card type: object @@ -167597,8 +167929,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -167692,11 +168024,11 @@ x-webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: *900 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_card: *902 + repository: *858 sender: *4 required: - action @@ -167790,9 +168122,9 @@ x-webhooks: - from required: - column_id - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 project_card: allOf: - title: Project Card @@ -167982,7 +168314,7 @@ x-webhooks: type: string required: - after_id - repository: *856 + repository: *858 sender: *4 required: - action @@ -168062,10 +168394,10 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - organization: *855 - project: &902 + enterprise: *855 + installation: *856 + organization: *857 + project: &904 title: Project type: object properties: @@ -168189,7 +168521,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *856 + repository: *858 sender: *4 required: - action @@ -168269,10 +168601,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_column: &901 + enterprise: *855 + installation: *856 + organization: *857 + project_column: &903 title: Project Column type: object properties: @@ -168311,7 +168643,7 @@ x-webhooks: - name - created_at - updated_at - repository: *856 + repository: *858 sender: *4 required: - action @@ -168390,18 +168722,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project_column: *901 + enterprise: *855 + installation: *856 + organization: *857 + project_column: *903 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -168491,11 +168823,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project_column: *901 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_column: *903 + repository: *858 sender: *4 required: - action @@ -168575,11 +168907,11 @@ x-webhooks: type: string enum: - moved - enterprise: *853 - installation: *854 - organization: *855 - project_column: *901 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_column: *903 + repository: *858 sender: *4 required: - action @@ -168659,11 +168991,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project: *902 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 + repository: *858 sender: *4 required: - action @@ -168743,18 +169075,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project: *902 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -168856,11 +169188,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project: *902 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 + repository: *858 sender: *4 required: - action @@ -168939,11 +169271,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - organization: *855 - project: *902 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 + repository: *858 sender: *4 required: - action @@ -169024,9 +169356,9 @@ x-webhooks: type: string enum: - closed - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169107,9 +169439,9 @@ x-webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169190,9 +169522,9 @@ x-webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169309,9 +169641,9 @@ x-webhooks: type: string to: type: string - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169394,7 +169726,7 @@ x-webhooks: type: string enum: - archived - changes: &906 + changes: &908 type: object properties: archived_at: @@ -169408,9 +169740,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *854 - organization: *855 - projects_v2_item: &903 + installation: *856 + organization: *857 + projects_v2_item: &905 title: Projects v2 Item description: An item belonging to a project type: object @@ -169428,7 +169760,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *403 + content_type: *405 creator: *4 created_at: type: string @@ -169545,9 +169877,9 @@ x-webhooks: nullable: true to: type: string - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169629,9 +169961,9 @@ x-webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169712,9 +170044,9 @@ x-webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169820,7 +170152,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &904 + - &906 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169842,7 +170174,7 @@ x-webhooks: required: - id - name - - &905 + - &907 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169876,8 +170208,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *904 - - *905 + - *906 + - *907 required: - field_value - type: object @@ -169893,9 +170225,9 @@ x-webhooks: nullable: true required: - body - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169990,9 +170322,9 @@ x-webhooks: to: type: string nullable: true - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -170075,10 +170407,10 @@ x-webhooks: type: string enum: - restored - changes: *906 - installation: *854 - organization: *855 - projects_v2_item: *903 + changes: *908 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -170160,9 +170492,9 @@ x-webhooks: type: string enum: - reopened - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -170243,14 +170575,14 @@ x-webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_status_update: &909 + installation: *856 + organization: *857 + projects_v2_status_update: &911 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *907 - required: *908 + properties: *909 + required: *910 sender: *4 required: - action @@ -170331,9 +170663,9 @@ x-webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_status_update: *909 + installation: *856 + organization: *857 + projects_v2_status_update: *911 sender: *4 required: - action @@ -170469,9 +170801,9 @@ x-webhooks: type: string format: date nullable: true - installation: *854 - organization: *855 - projects_v2_status_update: *909 + installation: *856 + organization: *857 + projects_v2_status_update: *911 sender: *4 required: - action @@ -170542,10 +170874,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - repository @@ -170622,13 +170954,13 @@ x-webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - number: &910 + assignee: *882 + enterprise: *855 + installation: *856 + number: &912 description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -172911,7 +173243,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -172993,11 +173325,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -175275,7 +175607,7 @@ x-webhooks: - draft reason: type: string - repository: *856 + repository: *858 sender: *4 required: - action @@ -175357,11 +175689,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -177639,7 +177971,7 @@ x-webhooks: - draft reason: type: string - repository: *856 + repository: *858 sender: *4 required: - action @@ -177721,13 +178053,13 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: &911 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: &913 allOf: - - *705 + - *707 - type: object properties: allow_auto_merge: @@ -177789,7 +178121,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *856 + repository: *858 sender: *4 required: - action @@ -177870,12 +178202,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -177955,11 +178287,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *853 - milestone: *687 - number: *910 - organization: *855 - pull_request: &912 + enterprise: *855 + milestone: *689 + number: *912 + organization: *857 + pull_request: &914 title: Pull Request type: object properties: @@ -180222,7 +180554,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -180301,11 +180633,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -182587,7 +182919,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *856 + repository: *858 sender: *4 required: - action @@ -182711,12 +183043,12 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -182796,11 +183128,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -185067,7 +185399,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -185147,11 +185479,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 - label: *879 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + label: *881 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -187433,7 +187765,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -187514,10 +187846,10 @@ x-webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -189797,7 +190129,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -189877,12 +190209,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *853 - milestone: *687 - number: *910 - organization: *855 - pull_request: *912 - repository: *856 + enterprise: *855 + milestone: *689 + number: *912 + organization: *857 + pull_request: *914 + repository: *858 sender: *4 required: - action @@ -189961,12 +190293,12 @@ x-webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -190047,12 +190379,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -190132,12 +190464,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -190503,9 +190835,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: type: object properties: @@ -192675,7 +193007,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *858 sender: *4 required: - action @@ -192755,7 +193087,7 @@ x-webhooks: type: string enum: - deleted - comment: &914 + comment: &916 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. @@ -193040,9 +193372,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: type: object properties: @@ -195200,7 +195532,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *858 sender: *4 required: - action @@ -195280,11 +195612,11 @@ x-webhooks: type: string enum: - edited - changes: *913 - comment: *914 - enterprise: *853 - installation: *854 - organization: *855 + changes: *915 + comment: *916 + enterprise: *855 + installation: *856 + organization: *857 pull_request: type: object properties: @@ -197445,7 +197777,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *858 sender: *4 required: - action @@ -197526,9 +197858,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -199701,7 +200033,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *858 review: description: The review that was affected. type: object @@ -199948,9 +200280,9 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -202004,8 +202336,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: &915 + repository: *858 + review: &917 description: The review that was affected. type: object properties: @@ -202238,12 +202570,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -204526,7 +204858,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_reviewer: title: User type: object @@ -204610,12 +204942,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -206905,7 +207237,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207097,12 +207429,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -209387,7 +209719,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_reviewer: title: User type: object @@ -209472,12 +209804,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -211753,7 +212085,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211934,9 +212266,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -214111,8 +214443,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: *915 + repository: *858 + review: *917 sender: *4 required: - action @@ -214192,9 +214524,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -216264,7 +216596,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *858 sender: *4 thread: type: object @@ -216651,9 +216983,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -218709,7 +219041,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *858 sender: *4 thread: type: object @@ -219099,10 +219431,10 @@ x-webhooks: type: string before: type: string - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -221373,7 +221705,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -221455,11 +221787,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *916 - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + assignee: *918 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -223742,7 +224074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -223821,11 +224153,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - label: *879 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + label: *881 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -226098,7 +226430,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -226179,10 +226511,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -228447,7 +228779,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -228647,7 +228979,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *853 + enterprise: *855 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228739,8 +229071,8 @@ x-webhooks: - url - author - committer - installation: *854 - organization: *855 + installation: *856 + organization: *857 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229315,9 +229647,9 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 registry_package: type: object properties: @@ -229763,7 +230095,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *897 + items: *899 summary: type: string tag_name: @@ -229817,7 +230149,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -229895,9 +230227,9 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 registry_package: type: object properties: @@ -230205,7 +230537,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *897 + items: *899 summary: type: string tag_name: @@ -230254,7 +230586,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -230331,10 +230663,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - release: &917 + enterprise: *855 + installation: *856 + organization: *857 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230652,7 +230984,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *856 + repository: *858 sender: *4 required: - action @@ -230729,11 +231061,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - release: *917 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *919 + repository: *858 sender: *4 required: - action @@ -230850,11 +231182,11 @@ x-webhooks: type: boolean required: - to - enterprise: *853 - installation: *854 - organization: *855 - release: *917 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *919 + repository: *858 sender: *4 required: - action @@ -230932,9 +231264,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231256,7 +231588,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *856 + repository: *858 sender: *4 required: - action @@ -231332,10 +231664,10 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - release: &918 + enterprise: *855 + installation: *856 + organization: *857 + release: &920 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231654,7 +231986,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *856 + repository: *858 sender: *4 required: - action @@ -231730,11 +232062,11 @@ x-webhooks: type: string enum: - released - enterprise: *853 - installation: *854 - organization: *855 - release: *917 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *919 + repository: *858 sender: *4 required: - action @@ -231810,11 +232142,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *853 - installation: *854 - organization: *855 - release: *918 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *920 + repository: *858 sender: *4 required: - action @@ -231890,11 +232222,11 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *758 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + repository_advisory: *760 sender: *4 required: - action @@ -231970,11 +232302,11 @@ x-webhooks: type: string enum: - reported - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *758 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + repository_advisory: *760 sender: *4 required: - action @@ -232050,10 +232382,10 @@ x-webhooks: type: string enum: - archived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232130,10 +232462,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232211,10 +232543,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232298,10 +232630,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232413,10 +232745,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232488,10 +232820,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 status: type: string @@ -232572,10 +232904,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232652,10 +232984,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232749,10 +233081,10 @@ x-webhooks: - name required: - repository - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232832,10 +233164,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 repository_ruleset: *185 sender: *4 required: @@ -232914,10 +233246,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 repository_ruleset: *185 sender: *4 required: @@ -232996,10 +233328,10 @@ x-webhooks: type: string enum: - edited - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 repository_ruleset: *185 changes: type: object @@ -233061,16 +233393,16 @@ x-webhooks: properties: added: type: array - items: *726 + items: *728 deleted: type: array - items: *726 + items: *728 updated: type: array items: type: object properties: - rule: *726 + rule: *728 changes: type: object properties: @@ -233304,10 +233636,10 @@ x-webhooks: - from required: - owner - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233385,10 +233717,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233466,7 +233798,7 @@ x-webhooks: type: string enum: - create - alert: &919 + alert: &921 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233587,10 +233919,10 @@ x-webhooks: type: string enum: - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233796,10 +234128,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233877,11 +234209,11 @@ x-webhooks: type: string enum: - reopen - alert: *919 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *921 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234080,10 +234412,10 @@ x-webhooks: enum: - fixed - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234161,7 +234493,7 @@ x-webhooks: type: string enum: - created - alert: &920 + alert: &922 type: object properties: number: *123 @@ -234279,10 +234611,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234363,11 +234695,11 @@ x-webhooks: type: string enum: - created - alert: *920 - installation: *854 - location: *921 - organization: *855 - repository: *856 + alert: *922 + installation: *856 + location: *923 + organization: *857 + repository: *858 sender: *4 required: - location @@ -234605,11 +234937,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234687,11 +235019,11 @@ x-webhooks: type: string enum: - reopened - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234769,11 +235101,11 @@ x-webhooks: type: string enum: - resolved - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234851,11 +235183,11 @@ x-webhooks: type: string enum: - validated - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234981,10 +235313,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *856 - enterprise: *853 - installation: *854 - organization: *855 + repository: *858 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -235062,11 +235394,11 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: &922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + security_advisory: &924 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235249,11 +235581,11 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + security_advisory: *924 sender: *4 required: - action @@ -235326,10 +235658,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235513,11 +235845,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *411 - enterprise: *853 - installation: *854 - organization: *855 - repository: *478 + security_and_analysis: *413 + enterprise: *855 + installation: *856 + organization: *857 + repository: *480 sender: *4 required: - changes @@ -235595,12 +235927,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: &923 + sponsorship: &925 type: object properties: created_at: @@ -235901,12 +236233,12 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - sponsorship @@ -235994,12 +236326,12 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - changes @@ -236076,17 +236408,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &924 + effective_date: &926 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: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - sponsorship @@ -236160,7 +236492,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &925 + changes: &927 type: object properties: tier: @@ -236204,13 +236536,13 @@ x-webhooks: - from required: - tier - effective_date: *924 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + effective_date: *926 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - changes @@ -236287,13 +236619,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *925 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + changes: *927 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - changes @@ -236367,10 +236699,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236453,10 +236785,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236876,15 +237208,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *853 + enterprise: *855 id: description: The unique identifier of the status. type: integer - installation: *854 + installation: *856 name: type: string - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 sha: description: The Commit SHA. @@ -236993,15 +237325,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *854 - organization: *855 - repository: *856 + sub_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237085,15 +237417,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *854 - organization: *855 - repository: *856 + sub_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237177,15 +237509,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *854 - organization: *855 - repository: *856 + parent_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237269,15 +237601,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *854 - organization: *855 - repository: *856 + parent_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237354,12 +237686,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - team: &926 + team: &928 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237582,9 +237914,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -238042,7 +238374,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -238118,9 +238450,9 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -238578,7 +238910,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -238655,9 +238987,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -239115,7 +239447,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -239259,9 +239591,9 @@ x-webhooks: - from required: - permissions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -239719,7 +240051,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - changes @@ -239797,9 +240129,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -240257,7 +240589,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -240333,10 +240665,10 @@ x-webhooks: type: string enum: - started - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -240409,16 +240741,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *853 + enterprise: *855 inputs: type: object nullable: true additionalProperties: true - installation: *854 - organization: *855 + installation: *856 + organization: *857 ref: type: string - repository: *856 + repository: *858 sender: *4 workflow: type: string @@ -240500,10 +240832,10 @@ x-webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: allOf: @@ -240740,7 +241072,7 @@ x-webhooks: type: string required: - conclusion - deployment: *610 + deployment: *612 required: - action - repository @@ -240819,10 +241151,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: allOf: @@ -241082,7 +241414,7 @@ x-webhooks: required: - status - steps - deployment: *610 + deployment: *612 required: - action - repository @@ -241161,10 +241493,10 @@ x-webhooks: type: string enum: - queued - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: type: object @@ -241299,7 +241631,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *610 + deployment: *612 required: - action - repository @@ -241378,10 +241710,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: type: object @@ -241517,7 +241849,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *610 + deployment: *612 required: - action - repository @@ -241597,12 +241929,12 @@ x-webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Workflow Run type: object @@ -242601,12 +242933,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Workflow Run type: object @@ -243590,12 +243922,12 @@ x-webhooks: type: string enum: - requested - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 1aa2b8519..2e46580df 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -63941,15 +63941,6 @@ "type": "integer" } }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` 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.", @@ -64200,6 +64191,402 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "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" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "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." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "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", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -96826,15 +97213,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -97077,6 +97455,363 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -115194,6 +115929,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -235768,428 +236511,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. 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).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -673795,15 +674116,6 @@ "schema": { "type": "integer" } - }, - { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } } ], "responses": { @@ -674040,6 +674352,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-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": "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 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." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 30a06e38d..f4cfcf558 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &431 + type: &433 type: string description: The type of credit the user is receiving. enum: @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &254 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -1031,7 +1031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &760 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1149,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &208 + properties: &211 id: description: Unique identifier of the GitHub app example: 37 @@ -1282,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &209 + required: &212 - id - node_id - owner @@ -1587,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &340 + - &342 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1603,7 +1603,7 @@ paths: application/json: schema: type: array - items: &341 + items: &343 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1683,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &342 + default: &344 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &770 + schema: &772 title: Scim Error description: Scim Error type: object @@ -1742,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &255 title: Validation Error description: Validation Error type: object @@ -1811,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &345 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1925,7 +1925,7 @@ paths: - request - response examples: - default: &344 + default: &346 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2126,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &213 + - &216 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &409 + properties: &411 id: description: Unique identifier of the repository example: 42 @@ -2912,7 +2912,7 @@ paths: title: License Simple description: License Simple type: object - properties: &224 + properties: &227 key: type: string example: mit @@ -2934,7 +2934,7 @@ paths: html_url: type: string format: uri - required: &225 + required: &228 - key - name - url @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &410 + required: &412 - archive_url - assignees_url - blobs_url @@ -7487,7 +7487,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &257 type: object properties: total_active_caches_count: @@ -7502,7 +7502,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &256 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7695,7 +7695,7 @@ paths: - public_ip_enabled - platform examples: - default: &257 + default: &259 value: total_count: 2 runners: @@ -7990,7 +7990,7 @@ paths: application/json: schema: *45 examples: - default: &258 + default: &260 value: id: 1 platform: linux-x64 @@ -8130,7 +8130,7 @@ paths: application/json: schema: *48 examples: - default: &259 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -8294,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &262 type: object properties: public_ips: @@ -8319,7 +8319,7 @@ paths: required: - public_ips examples: - default: &261 + default: &263 value: public_ips: current_usage: 17 @@ -8359,7 +8359,7 @@ paths: type: array items: *52 examples: - default: &262 + default: &264 value: id: 4-core cpu_cores: 4 @@ -8621,7 +8621,7 @@ paths: - all - local_only - selected - selected_actions_url: &265 + selected_actions_url: &267 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` @@ -8701,7 +8701,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &267 + schema: &269 type: object properties: days: @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &771 + '401': &773 description: Authorization failure '404': *6 x-github: @@ -8747,7 +8747,7 @@ paths: required: true content: application/json: - schema: &268 + schema: &270 type: object properties: days: @@ -8796,7 +8796,7 @@ paths: required: - approval_policy examples: - default: &269 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -8854,7 +8854,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -8908,7 +8908,7 @@ paths: required: true content: application/json: - schema: &271 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -9331,7 +9331,7 @@ paths: description: Success response content: application/json: - schema: &274 + schema: &276 type: object properties: default_workflow_permissions: &63 @@ -9379,7 +9379,7 @@ paths: required: true content: application/json: - schema: &275 + schema: &277 type: object properties: default_workflow_permissions: *63 @@ -10215,7 +10215,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Runner Application description: Runner Application type: object @@ -10240,7 +10240,7 @@ paths: - download_url - filename examples: - default: &280 + default: &282 value: - os: osx architecture: x64 @@ -10324,7 +10324,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &281 + '201': &283 description: Response content: application/json: @@ -10439,7 +10439,7 @@ paths: - token - expires_at examples: - default: &282 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10479,7 +10479,7 @@ paths: application/json: schema: *75 examples: - default: &283 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10511,7 +10511,7 @@ paths: application/json: schema: *72 examples: - default: &284 + default: &286 value: id: 23 name: MBP @@ -10727,7 +10727,7 @@ paths: - *41 - *71 responses: - '200': &285 + '200': &287 description: Response content: application/json: @@ -10783,7 +10783,7 @@ paths: parameters: - *41 - *71 - - &286 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10874,7 +10874,7 @@ paths: required: true content: application/json: - schema: &293 + schema: &295 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11515,7 +11515,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: include description: |- The event types to include: @@ -11533,7 +11533,7 @@ paths: - web - git - all - - &295 + - &297 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. @@ -11541,7 +11541,7 @@ paths: required: false schema: type: string - - &296 + - &298 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. @@ -11549,7 +11549,7 @@ paths: required: false schema: type: string - - &297 + - &299 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11571,7 +11571,7 @@ paths: application/json: schema: type: array - items: &298 + items: &300 type: object properties: "@timestamp": @@ -11693,7 +11693,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &299 + default: &301 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12359,7 +12359,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12520,7 +12520,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &301 + default: &303 value: - id: 21 number: 42 @@ -12625,7 +12625,7 @@ paths: application/json: schema: type: array - items: &303 + items: &305 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12750,7 +12750,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &304 + default: &306 value: - id: 21 number: 42 @@ -12835,7 +12835,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &309 + - &311 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`, @@ -12845,7 +12845,7 @@ paths: schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &310 + - &312 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 @@ -12868,7 +12868,7 @@ paths: be returned. in: query required: false - schema: &311 + schema: &313 type: string description: State of a code scanning alert. enum: @@ -12893,7 +12893,7 @@ paths: application/json: schema: type: array - items: &312 + items: &314 type: object properties: number: &123 @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &546 + instances_url: &548 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &547 + dismissed_reason: &549 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &548 + dismissed_comment: &550 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &549 + rule: &551 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &550 + tool: &552 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &551 + most_recent_instance: &553 type: object properties: - ref: &544 + ref: &546 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &561 + analysis_key: &563 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &562 + category: &564 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13103,7 +13103,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &241 + properties: &244 id: type: integer format: int64 @@ -13330,7 +13330,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &242 + required: &245 - archive_url - assignees_url - blobs_url @@ -13402,7 +13402,7 @@ paths: - most_recent_instance - repository examples: - default: &313 + default: &315 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14055,7 +14055,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &314 + code_scanning_options: &316 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14249,7 +14249,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &318 type: array description: A list of default code security configurations items: @@ -14265,7 +14265,7 @@ paths: default configuration: *110 examples: - default: &317 + default: &319 value: - default_for_new_repos: public configuration: @@ -14719,7 +14719,7 @@ paths: default: value: default_for_new_repos: all - configuration: &315 + configuration: &317 value: id: 1325 target_type: organization @@ -14804,7 +14804,7 @@ paths: application/json: schema: type: array - items: &318 + items: &320 type: object description: Repositories associated with a code security configuration and attachment status @@ -14828,7 +14828,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &319 + repository: &321 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15317,7 +15317,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &305 + - &307 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15392,7 +15392,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &375 + properties: &377 id: description: Unique identifier of the team type: integer @@ -15464,7 +15464,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &376 + required: &378 - id - node_id - url @@ -16052,7 +16052,7 @@ paths: application/json: schema: type: array - items: &198 + items: &201 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16359,7 +16359,7 @@ paths: - date additionalProperties: true examples: - default: &199 + default: &202 value: - date: '2024-06-24' total_active_users: 24 @@ -16461,7 +16461,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &200 + '422': &203 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16697,7 +16697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &325 + - &327 name: state in: query description: |- @@ -16706,7 +16706,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &326 + - &328 name: severity in: query description: |- @@ -16715,7 +16715,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &327 + - &329 name: ecosystem in: query description: |- @@ -16724,14 +16724,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &328 + - &330 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 - - &329 + - &331 name: epss_percentage in: query description: |- @@ -16743,7 +16743,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 - - &601 + - &603 name: has in: query description: |- @@ -16757,7 +16757,7 @@ paths: type: string enum: - patch - - &330 + - &332 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16767,7 +16767,7 @@ paths: enum: - development - runtime - - &331 + - &333 name: sort in: query description: |- @@ -16793,7 +16793,7 @@ paths: application/json: schema: type: array - items: &332 + items: &334 type: object description: A Dependabot alert. properties: @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &602 + security_advisory: &604 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &603 + auto_dismissed_at: &605 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -17114,7 +17114,7 @@ paths: - repository additionalProperties: false examples: - default: &333 + default: &335 value: - number: 2 state: dismissed @@ -17895,7 +17895,7 @@ paths: type: array items: *140 examples: - default: &201 + default: &204 value: - id: 1 name: Justice League @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &442 + default: &444 value: total_count: 2 network_configurations: @@ -18449,7 +18449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &443 + - &445 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &446 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &445 + default: &447 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &408 + schema: &410 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &414 + - &416 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &726 + items: &728 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &723 + - &725 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &724 + - &726 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &417 + default: &419 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &419 + - &421 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &420 + - &422 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &421 + - &423 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &422 + - &424 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &423 + - &425 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &424 + - &426 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &425 + - &427 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &426 + - &428 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &738 + state: &740 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: &739 + resolution: &741 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &740 - - &742 + oneOf: &742 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &743 + - &745 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. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &744 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &745 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &746 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &747 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &748 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &749 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &750 + - &752 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. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &751 + - &753 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. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &752 + - &754 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. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &753 + - &755 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. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &754 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &428 + default: &430 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &431 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &430 + default: &432 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &435 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &434 + default: &436 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &435 + - &437 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &436 + schema: &438 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &437 + default: &439 value: total_advanced_security_committers: 2 total_count: 2 @@ -22657,7 +22657,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &440 type: object properties: total_gigabytes_bandwidth_used: @@ -22675,7 +22675,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &439 + default: &441 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -22709,7 +22709,7 @@ paths: required: false schema: type: integer - - &243 + - &198 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 @@ -22727,28 +22727,29 @@ paths: required: false schema: type: integer - - name: organization + - &199 + name: organization description: The organization name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &244 + - &246 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &245 + - &247 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &246 + - &200 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -22918,7 +22919,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &442 type: object properties: days_left_in_billing_cycle: @@ -22936,7 +22937,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &441 + default: &443 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22962,7 +22963,7 @@ paths: parameters: - *41 - *196 - - &247 + - &248 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 @@ -22972,15 +22973,6 @@ paths: schema: type: integer - *197 - - &248 - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or - `day` is specified, the default `year`, `month`, and `day` are used. - 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. @@ -23069,6 +23061,175 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets 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. + + **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-report-for-an-enterprise + parameters: + - *41 + - *196 + - *198 + - *197 + - *199 + - &251 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *200 + - &252 + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + 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. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + 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 + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -23129,13 +23290,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23164,7 +23325,7 @@ paths: type: array items: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23241,7 +23402,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23259,7 +23420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &202 + - &205 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -23278,7 +23439,7 @@ paths: type: array items: *4 examples: - default: &203 + default: &206 value: - login: octocat id: 1 @@ -23317,7 +23478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23348,7 +23509,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23366,7 +23527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23397,7 +23558,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23415,7 +23576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '200': @@ -23424,7 +23585,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &204 + exampleKey1: &207 value: login: octocat id: 1 @@ -23460,7 +23621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *202 + - *205 - *138 responses: '201': @@ -23469,7 +23630,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *204 + exampleKey1: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23487,7 +23648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '204': @@ -23510,7 +23671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *202 + - *205 - *17 - *19 responses: @@ -23522,7 +23683,7 @@ paths: type: array items: *69 examples: - default: &205 + default: &208 value: login: github id: 1 @@ -23553,7 +23714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23583,7 +23744,7 @@ paths: type: array items: *69 examples: - default: &240 + default: &243 value: - login: github id: 1 @@ -23614,7 +23775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23655,7 +23816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '200': @@ -23664,7 +23825,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 '404': description: The team is not assigned to the organization x-github: @@ -23683,7 +23844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '201': @@ -23692,7 +23853,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23709,7 +23870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '204': @@ -23734,7 +23895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &206 + - &209 name: team_slug description: The slug of the team name. in: path @@ -23748,7 +23909,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23768,7 +23929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *206 + - *209 requestBody: required: true content: @@ -23825,7 +23986,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23848,7 +24009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *206 + - *209 responses: '204': description: Response @@ -23947,7 +24108,7 @@ paths: application/json: schema: type: array - items: &235 + items: &238 title: Event description: Event type: object @@ -23957,7 +24118,7 @@ paths: type: type: string nullable: true - actor: &207 + actor: &210 title: Actor description: Actor type: object @@ -23997,18 +24158,18 @@ paths: - id - name - url - org: *207 + org: *210 payload: type: object properties: action: type: string - issue: &223 + issue: &226 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &660 + properties: &662 id: type: integer format: int64 @@ -24120,7 +24281,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &400 + properties: &402 url: type: string format: uri @@ -24190,7 +24351,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &401 + required: &403 - closed_issues - creator - description @@ -24269,7 +24430,7 @@ paths: timeline_url: type: string format: uri - type: &362 + type: &364 title: Issue Type description: The type of issue. type: object @@ -24328,9 +24489,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - author_association: &210 + properties: *211 + required: *212 + author_association: &213 title: author_association type: string example: OWNER @@ -24344,7 +24505,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &211 + reactions: &214 title: Reaction Rollup type: object properties: @@ -24380,7 +24541,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &798 + sub_issues_summary: &800 title: Sub-issues Summary type: object properties: @@ -24400,7 +24561,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &799 + issue_dependencies_summary: &801 title: Issue Dependencies Summary type: object properties: @@ -24419,7 +24580,7 @@ paths: - total_blocking issue_field_values: type: array - items: &800 + items: &802 title: Issue Field Value description: A value assigned to an issue field type: object @@ -24479,7 +24640,7 @@ paths: - node_id - data_type - value - required: &661 + required: &663 - assignee - closed_at - comments @@ -24500,7 +24661,7 @@ paths: - user - created_at - updated_at - comment: &658 + comment: &660 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -24548,7 +24709,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -24558,9 +24719,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - id - node_id @@ -24727,7 +24888,7 @@ paths: _links: type: object properties: - timeline: &212 + timeline: &215 title: Link With Type description: Hypermedia Link with Type type: object @@ -24739,17 +24900,17 @@ paths: required: - href - type - user: *212 - security_advisories: *212 - current_user: *212 - current_user_public: *212 - current_user_actor: *212 - current_user_organization: *212 + user: *215 + security_advisories: *215 + current_user: *215 + current_user_public: *215 + current_user_actor: *215 + current_user_organization: *215 current_user_organizations: type: array - items: *212 - repository_discussions: *212 - repository_discussions_category: *212 + items: *215 + repository_discussions: *215 + repository_discussions_category: *215 required: - timeline - user @@ -24811,7 +24972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *213 + - *216 - *17 - *19 responses: @@ -24821,7 +24982,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Base Gist description: Base Gist type: object @@ -24920,7 +25081,7 @@ paths: - created_at - updated_at examples: - default: &215 + default: &218 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25041,7 +25202,7 @@ paths: description: Response content: application/json: - schema: &216 + schema: &219 title: Gist Simple description: Gist Simple type: object @@ -25058,7 +25219,7 @@ paths: url: type: string format: uri - user: &812 + user: &814 title: Public User description: Public User type: object @@ -25420,7 +25581,7 @@ paths: truncated: type: boolean examples: - default: &217 + default: &220 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25524,7 +25685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25534,9 +25695,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -25558,7 +25719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25568,9 +25729,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '401': *25 @@ -25598,7 +25759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &218 + - &221 name: gist_id description: The unique identifier of the gist. in: path @@ -25610,10 +25771,10 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 - '403': &221 + default: *220 + '403': &224 description: Forbidden Gist content: application/json: @@ -25661,7 +25822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *218 + - *221 requestBody: required: true content: @@ -25721,9 +25882,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - updateGist: *217 + updateGist: *220 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25881,7 +26042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -25910,7 +26071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *218 + - *221 - *17 - *19 responses: @@ -25920,7 +26081,7 @@ paths: application/json: schema: type: array - items: &219 + items: &222 title: Gist Comment description: A comment made to a gist. type: object @@ -25955,7 +26116,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *210 + author_association: *213 required: - url - id @@ -26020,7 +26181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *218 + - *221 requestBody: required: true content: @@ -26045,9 +26206,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: &220 + default: &223 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26105,8 +26266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *218 - - &222 + - *221 + - &225 name: comment_id description: The unique identifier of the comment. in: path @@ -26119,12 +26280,12 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '304': *37 '404': *6 - '403': *221 + '403': *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26146,8 +26307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 requestBody: required: true content: @@ -26172,9 +26333,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '404': *6 x-github: githubCloudOnly: false @@ -26191,8 +26352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 responses: '204': description: Response @@ -26215,7 +26376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26316,7 +26477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26326,7 +26487,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -26391,13 +26552,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *218 + - *221 responses: '201': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -26468,7 +26629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *218 + - *221 responses: '204': description: Response if gist is starred @@ -26498,7 +26659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26520,7 +26681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26549,7 +26710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *218 + - *221 - name: sha in: path required: true @@ -26560,9 +26721,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 + default: *220 '422': *15 '404': *6 '403': *29 @@ -26928,7 +27089,7 @@ paths: - closed - all default: open - - &365 + - &367 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26947,7 +27108,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - name: collab in: query required: false @@ -26977,9 +27138,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &366 + default: &368 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27263,8 +27424,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 examples: default: value: @@ -27549,7 +27710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &226 + X-CommonMarker-Version: &229 example: 0.17.4 schema: type: string @@ -27604,7 +27765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *226 + X-CommonMarker-Version: *229 content: text/html: schema: @@ -27633,7 +27794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &229 + - &232 name: account_id description: account_id parameter in: path @@ -27645,7 +27806,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &231 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27675,7 +27836,7 @@ paths: nullable: true id: type: integer - plan: &227 + plan: &230 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27764,7 +27925,7 @@ paths: nullable: true updated_at: type: string - plan: *227 + plan: *230 required: - url - id @@ -27772,7 +27933,7 @@ paths: - login - marketplace_purchase examples: - default: &230 + default: &233 value: url: https://api.github.com/orgs/github type: Organization @@ -27857,9 +28018,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: &231 + default: &234 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27899,14 +28060,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &232 + - &235 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &233 + - &236 name: sort description: The property to sort the results by. in: query @@ -27936,9 +28097,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: &234 + default: &237 value: - url: https://api.github.com/orgs/github type: Organization @@ -28012,15 +28173,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *229 + - *232 responses: '200': description: Response content: application/json: - schema: *228 + schema: *231 examples: - default: *230 + default: *233 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -28052,9 +28213,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *231 + default: *234 headers: Link: *43 '401': *25 @@ -28077,8 +28238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *232 - - *233 + - *235 + - *236 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28098,9 +28259,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: *234 + default: *237 headers: Link: *43 '401': *25 @@ -28364,14 +28525,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: - - &465 + - &467 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &466 + - &468 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28388,7 +28549,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -28433,7 +28594,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &479 + '301': &481 description: Moved permanently content: application/json: @@ -28455,7 +28616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &690 + - &692 name: all description: If `true`, show notifications marked as read. in: query @@ -28463,7 +28624,7 @@ paths: schema: type: boolean default: false - - &691 + - &693 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28472,8 +28633,8 @@ paths: schema: type: boolean default: false - - *213 - - &692 + - *216 + - &694 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: @@ -28498,18 +28659,18 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Thread description: Thread type: object properties: id: type: string - repository: &278 + repository: &280 title: Minimal Repository description: Minimal Repository type: object - properties: &335 + properties: &337 id: type: integer format: int64 @@ -28785,7 +28946,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &411 + security_and_analysis: &413 nullable: true type: object properties: @@ -28867,7 +29028,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &336 + required: &338 - archive_url - assignees_url - blobs_url @@ -28955,7 +29116,7 @@ paths: - url - subscription_url examples: - default: &693 + default: &695 value: - id: '1' repository: @@ -29121,7 +29282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &237 + - &240 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -29135,7 +29296,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -29238,7 +29399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *237 + - *240 responses: '205': description: Reset Content @@ -29261,7 +29422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *237 + - *240 responses: '204': description: No content @@ -29284,13 +29445,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *237 + - *240 responses: '200': description: Response content: application/json: - schema: &238 + schema: &241 title: Thread Subscription description: Thread Subscription type: object @@ -29327,7 +29488,7 @@ paths: - url - subscribed examples: - default: &239 + default: &242 value: subscribed: true ignored: false @@ -29358,7 +29519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *237 + - *240 requestBody: required: false content: @@ -29379,9 +29540,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '304': *37 '403': *29 '401': *25 @@ -29404,7 +29565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *237 + - *240 responses: '204': description: Response @@ -29501,7 +29662,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: example: ; rel="next" @@ -29552,7 +29713,7 @@ paths: type: integer custom_roles: type: array - items: &321 + items: &323 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29600,7 +29761,7 @@ paths: - created_at - updated_at examples: - default: &322 + default: &324 value: id: 8030 name: Security Engineer @@ -29691,8 +29852,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *241 - required: *242 + properties: *244 + required: *245 nullable: true additionalProperties: false examples: @@ -29926,7 +30087,7 @@ paths: type: array items: *151 examples: - default: &699 + default: &701 value: - property_name: environment value: production @@ -29976,7 +30137,7 @@ paths: required: - properties examples: - default: &700 + default: &702 value: properties: - property_name: environment @@ -30013,11 +30174,11 @@ paths: parameters: - *83 - *196 - - *243 + - *198 - *197 - - *244 - - *245 - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -30150,9 +30311,8 @@ paths: parameters: - *83 - *196 - - *247 - - *197 - *248 + - *197 responses: '200': description: Billing usage report response for an organization @@ -30170,6 +30330,140 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-report-for-an-organization + parameters: + - *83 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -30196,7 +30490,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30529,7 +30823,7 @@ paths: - updated_at - archived_at examples: - default-response: &252 + default-response: &254 value: login: github id: 1 @@ -30854,17 +31148,17 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *252 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *253 - - *254 + - *255 + - *256 '409': *114 x-github: githubCloudOnly: false @@ -30919,9 +31213,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 headers: Link: *43 x-github: @@ -30962,7 +31256,7 @@ paths: type: integer repository_cache_usages: type: array - items: &484 + items: &486 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31037,7 +31331,7 @@ paths: type: array items: *44 examples: - default: *257 + default: *259 headers: Link: *43 x-github: @@ -31203,7 +31497,7 @@ paths: application/json: schema: *45 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31295,7 +31589,7 @@ paths: application/json: schema: *48 examples: - default: *259 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31414,9 +31708,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *261 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31452,7 +31746,7 @@ paths: type: array items: *52 examples: - default: *262 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31640,7 +31934,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &263 + schema: &265 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31654,7 +31948,7 @@ paths: required: - include_claim_keys examples: - default: &264 + default: &266 value: include_claim_keys: - repo @@ -31681,15 +31975,15 @@ paths: required: true content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &289 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -31728,7 +32022,7 @@ paths: schema: type: object properties: - enabled_repositories: &266 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31742,7 +32036,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *56 - selected_actions_url: *265 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled_repositories @@ -31784,7 +32078,7 @@ paths: schema: type: object properties: - enabled_repositories: *266 + enabled_repositories: *268 allowed_actions: *56 sha_pinning_required: *57 required: @@ -31820,7 +32114,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: response: summary: Example response @@ -31851,7 +32145,7 @@ paths: required: true content: application/json: - schema: *268 + schema: *270 examples: application/json: value: @@ -31889,7 +32183,7 @@ paths: application/json: schema: *58 examples: - default: *269 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -31946,7 +32240,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: default: *59 '403': *29 @@ -31971,7 +32265,7 @@ paths: required: true content: application/json: - schema: *271 + schema: *273 examples: default: *59 responses: @@ -32023,7 +32317,7 @@ paths: type: array items: *74 examples: - default: &273 + default: &275 value: total_count: 1 repositories: @@ -32208,7 +32502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - &272 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -32237,7 +32531,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: Response @@ -32433,7 +32727,7 @@ paths: type: array items: *74 examples: - default: *273 + default: *275 '403': *29 '404': *6 x-github: @@ -32502,7 +32796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: No content @@ -32529,7 +32823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: No content @@ -32563,7 +32857,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: *65 x-github: @@ -32597,7 +32891,7 @@ paths: required: false content: application/json: - schema: *275 + schema: *277 examples: default: *65 x-github: @@ -32644,7 +32938,7 @@ paths: type: number runner_groups: type: array - items: &276 + items: &278 type: object properties: id: @@ -32832,9 +33126,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &277 + default: &279 value: id: 2 name: octo-runner-group @@ -32876,7 +33170,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: default: value: @@ -32967,9 +33261,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -33033,7 +33327,7 @@ paths: type: array items: *44 examples: - default: *257 + default: *259 headers: Link: *43 x-github: @@ -33074,9 +33368,9 @@ paths: type: number repositories: type: array - items: *278 + items: *280 examples: - default: &815 + default: &817 value: total_count: 1 repositories: @@ -33375,7 +33669,7 @@ paths: parameters: - *83 - *68 - - *272 + - *274 responses: '204': description: Response @@ -33399,7 +33693,7 @@ paths: parameters: - *83 - *68 - - *272 + - *274 responses: '204': description: Response @@ -33617,9 +33911,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33684,7 +33978,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *281 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -33723,7 +34017,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33759,7 +34053,7 @@ paths: application/json: schema: *75 examples: - default: *283 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33790,7 +34084,7 @@ paths: application/json: schema: *72 examples: - default: *284 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33965,7 +34259,7 @@ paths: - *83 - *71 responses: - '200': *285 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -33994,7 +34288,7 @@ paths: parameters: - *83 - *71 - - *286 + - *288 responses: '200': *77 '404': *6 @@ -34039,7 +34333,7 @@ paths: type: integer secrets: type: array - items: &287 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34118,7 +34412,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &506 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34147,7 +34441,7 @@ paths: - key_id - key examples: - default: &505 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34173,7 +34467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *83 - - &288 + - &290 name: secret_name description: The name of the secret. in: path @@ -34185,7 +34479,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: default: value: @@ -34216,7 +34510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -34273,7 +34567,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -34300,7 +34594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -34327,7 +34621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 - *19 - *17 responses: @@ -34345,9 +34639,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: &292 + default: &294 value: total_count: 1 repositories: @@ -34440,7 +34734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -34493,7 +34787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -34527,7 +34821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -34560,7 +34854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &489 + - &491 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)." @@ -34584,7 +34878,7 @@ paths: type: integer variables: type: array - items: &290 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34717,7 +35011,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -34743,7 +35037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *83 - - &291 + - &293 name: name description: The name of the variable. in: path @@ -34755,7 +35049,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: default: value: @@ -34786,7 +35080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *83 - - *291 + - *293 requestBody: required: true content: @@ -34849,7 +35143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *83 - - *291 + - *293 responses: '204': description: Response @@ -34876,7 +35170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *83 - - *291 + - *293 - *19 - *17 responses: @@ -34894,9 +35188,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34923,7 +35217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *83 - - *291 + - *293 requestBody: required: true content: @@ -34973,7 +35267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *83 - - *291 + - *293 - name: repository_id in: path required: true @@ -35008,7 +35302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *83 - - *291 + - *293 - name: repository_id in: path required: true @@ -35066,7 +35360,7 @@ paths: required: true content: application/json: - schema: *293 + schema: *295 examples: default: *81 parameters: @@ -35168,6 +35462,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -35358,12 +35665,12 @@ paths: required: - subject_digests examples: - default: &843 + default: &845 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &844 + withPredicateType: &846 value: subject_digests: - sha256:abc123 @@ -35421,7 +35728,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &845 + default: &847 value: attestations_subject_digests: - sha256:abc: @@ -35770,7 +36077,7 @@ paths: initiator: type: string examples: - default: &518 + default: &520 value: attestations: - bundle: @@ -35896,10 +36203,10 @@ paths: required: false schema: type: string - - *294 - - *295 - *296 - *297 + - *298 + - *299 - *17 responses: '200': @@ -35908,9 +36215,9 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: - default: *299 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35939,7 +36246,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36033,7 +36340,7 @@ paths: subcategory: bypass-requests parameters: - *83 - - &302 + - &304 name: repository_name description: The name of the repository to filter on. in: query @@ -36052,9 +36359,9 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: - default: *301 + default: *303 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -36078,7 +36385,7 @@ paths: subcategory: delegated-bypass parameters: - *83 - - *302 + - *304 - *99 - *100 - *101 @@ -36092,9 +36399,9 @@ paths: application/json: schema: type: array - items: *303 + items: *305 examples: - default: *304 + default: *306 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -36121,7 +36428,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &306 + schema: &308 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36147,7 +36454,7 @@ paths: application/json: schema: type: array - items: &307 + items: &309 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36178,7 +36485,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *305 + items: *307 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36196,7 +36503,7 @@ paths: type: string format: date-time nullable: true - state: *306 + state: *308 contact_link: description: The contact link of the campaign. type: string @@ -36416,9 +36723,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &308 + default: &310 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36501,9 +36808,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '404': *6 '422': description: Unprocessable Entity @@ -36580,7 +36887,7 @@ paths: type: string format: uri nullable: true - state: *306 + state: *308 examples: default: value: @@ -36590,9 +36897,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 '400': description: Bad Request content: @@ -36659,8 +36966,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *83 - - *309 - - *310 + - *311 + - *312 - *104 - *105 - *19 @@ -36671,7 +36978,7 @@ paths: be returned. in: query required: false - schema: *311 + schema: *313 - name: sort description: The property by which to sort the results. in: query @@ -36687,7 +36994,7 @@ paths: be returned. in: query required: false - schema: &545 + schema: &547 type: string description: Severity of a code scanning alert. enum: @@ -36705,9 +37012,9 @@ paths: application/json: schema: type: array - items: *312 + items: *314 examples: - default: *313 + default: *315 headers: Link: *43 '404': *6 @@ -36922,7 +37229,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *314 + code_scanning_options: *316 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -37065,7 +37372,7 @@ paths: application/json: schema: *110 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37093,9 +37400,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 '304': *37 '403': *29 '404': *6 @@ -37182,7 +37489,7 @@ paths: application/json: schema: *110 examples: - default: *315 + default: *317 '304': *37 '403': *29 '404': *6 @@ -37604,7 +37911,7 @@ paths: default: value: default_for_new_repos: all - configuration: *315 + configuration: *317 '403': *29 '404': *6 x-github: @@ -37657,13 +37964,13 @@ paths: application/json: schema: type: array - items: *318 + items: *320 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *319 + repository: *321 '403': *29 '404': *6 x-github: @@ -37703,7 +38010,7 @@ paths: type: integer codespaces: type: array - items: &367 + items: &369 type: object title: Codespace description: A codespace. @@ -37728,12 +38035,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *278 + repository: *280 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &574 + properties: &576 name: type: string description: The name of the machine. @@ -37775,7 +38082,7 @@ paths: - ready - in_progress nullable: true - required: &575 + required: &577 - name - display_name - operating_system @@ -37980,7 +38287,7 @@ paths: - pulls_url - recent_folders examples: - default: &368 + default: &370 value: total_count: 3 codespaces: @@ -38604,7 +38911,7 @@ paths: type: integer secrets: type: array - items: &320 + items: &322 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38643,7 +38950,7 @@ paths: - updated_at - visibility examples: - default: &576 + default: &578 value: total_count: 2 secrets: @@ -38681,7 +38988,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &579 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38710,7 +39017,7 @@ paths: - key_id - key examples: - default: &578 + default: &580 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38734,15 +39041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: &580 + default: &582 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38770,7 +39077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -38825,7 +39132,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -38852,7 +39159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -38878,7 +39185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 - *19 - *17 responses: @@ -38896,9 +39203,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -38921,7 +39228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -38972,7 +39279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -39006,7 +39313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -39595,13 +39902,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39813,7 +40120,7 @@ paths: type: integer custom_roles: type: array - items: *321 + items: *323 examples: default: value: @@ -39905,7 +40212,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &325 type: object properties: name: @@ -39946,9 +40253,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -39979,9 +40286,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -40009,7 +40316,7 @@ paths: required: true content: application/json: - schema: &324 + schema: &326 type: object properties: name: @@ -40047,9 +40354,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -40107,7 +40414,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -40121,9 +40428,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -40160,9 +40467,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -40196,7 +40503,7 @@ paths: required: true content: application/json: - schema: *324 + schema: *326 examples: default: value: @@ -40211,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '422': *15 '404': *6 x-github: @@ -40273,11 +40580,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *83 - - *325 - - *326 - *327 - *328 - *329 + - *330 + - *331 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40315,8 +40622,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *330 - - *331 + - *332 + - *333 - *106 - *104 - *105 @@ -40328,9 +40635,9 @@ paths: application/json: schema: type: array - items: *332 + items: *334 examples: - default: *333 + default: *335 '304': *37 '400': *14 '403': *29 @@ -40374,7 +40681,7 @@ paths: type: integer secrets: type: array - items: &334 + items: &336 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40451,7 +40758,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &608 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40468,7 +40775,7 @@ paths: - key_id - key examples: - default: &607 + default: &609 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40492,13 +40799,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -40527,7 +40834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -40586,7 +40893,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -40611,7 +40918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -40636,7 +40943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 - *19 - *17 responses: @@ -40654,9 +40961,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40678,7 +40985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -40729,7 +41036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -40761,7 +41068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *288 + - *290 - name: repository_id in: path required: true @@ -40798,7 +41105,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &615 + - &617 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40806,7 +41113,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40814,7 +41121,7 @@ paths: required: false schema: type: string - - &617 + - &619 name: time_period description: |- The time period to filter by. @@ -40830,7 +41137,7 @@ paths: - week - month default: month - - &618 + - &620 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40845,7 +41152,7 @@ paths: - denied - all default: all - - *302 + - *304 - *17 - *19 responses: @@ -40855,7 +41162,7 @@ paths: application/json: schema: type: array - items: &619 + items: &621 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41011,7 +41318,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &620 + default: &622 value: - id: 21 number: 42 @@ -41098,11 +41405,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - *302 + - *304 - *99 - *100 - *101 - - &621 + - &623 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41128,7 +41435,7 @@ paths: application/json: schema: type: array - items: &622 + items: &624 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41249,7 +41556,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &623 + default: &625 value: - id: 21 number: 42 @@ -41337,7 +41644,7 @@ paths: application/json: schema: type: array - items: &378 + items: &380 title: Package description: A software package type: object @@ -41387,8 +41694,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *335 - required: *336 + properties: *337 + required: *338 nullable: true created_at: type: string @@ -41407,7 +41714,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &381 value: - id: 197 name: hello_docker @@ -41495,7 +41802,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -41594,7 +41901,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &462 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41675,7 +41982,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &461 + default: &463 value: group_id: '123' group_name: Octocat admins @@ -41730,7 +42037,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &460 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41767,7 +42074,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &459 + default: &461 value: groups: - group_id: '123' @@ -41811,7 +42118,7 @@ paths: application/json: schema: type: array - items: &359 + items: &361 title: Organization Invitation description: Organization Invitation type: object @@ -41858,7 +42165,7 @@ paths: - invitation_teams_url - node_id examples: - default: &360 + default: &362 value: - id: 1 login: monalisa @@ -41925,7 +42232,7 @@ paths: application/json: schema: type: array - items: &412 + items: &414 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41939,7 +42246,7 @@ paths: - name - description examples: - default: &413 + default: &415 value: - name: add_assignee description: Assign or remove a user @@ -41980,7 +42287,7 @@ paths: application/json: schema: type: array - items: &337 + items: &339 title: Org Hook description: Org Hook type: object @@ -42149,9 +42456,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - default: &338 + default: &340 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42196,7 +42503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *83 - - &339 + - &341 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. @@ -42209,9 +42516,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - default: *338 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -42233,7 +42540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *83 - - *339 + - *341 requestBody: required: false content: @@ -42278,7 +42585,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -42318,7 +42625,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *83 - - *339 + - *341 responses: '204': description: Response @@ -42344,7 +42651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *83 - - *339 + - *341 responses: '200': description: Response @@ -42373,7 +42680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *83 - - *339 + - *341 requestBody: required: false content: @@ -42422,9 +42729,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *83 - - *339 + - *341 - *17 - - *340 + - *342 responses: '200': description: Response @@ -42432,9 +42739,9 @@ paths: application/json: schema: type: array - items: *341 + items: *343 examples: - default: *342 + default: *344 '400': *14 '422': *15 x-github: @@ -42458,16 +42765,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *83 - - *339 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - default: *344 + default: *346 '400': *14 '422': *15 x-github: @@ -42491,7 +42798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *83 - - *339 + - *341 - *16 responses: '202': *39 @@ -42518,7 +42825,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *83 - - *339 + - *341 responses: '204': description: Response @@ -42541,7 +42848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *83 - - &349 + - &351 name: actor_type in: path description: The type of the actor @@ -42554,14 +42861,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &350 + - &352 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &345 + - &347 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`.' @@ -42569,7 +42876,7 @@ paths: required: true schema: type: string - - &346 + - &348 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) @@ -42663,12 +42970,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *83 - - *345 - - *346 + - *347 + - *348 - *19 - *17 - *106 - - &355 + - &357 name: sort description: The property to sort the results by. in: query @@ -42747,14 +43054,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *83 - - *345 - - *346 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42770,7 +43077,7 @@ paths: type: integer format: int64 examples: - default: &348 + default: &350 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42791,23 +43098,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *83 - - &351 + - &353 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *345 - - *346 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42826,18 +43133,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *83 - - *345 - - *346 - - *349 - - *350 + - *347 + - *348 + - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42855,9 +43162,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *83 - - *345 - - *346 - - &352 + - *347 + - *348 + - &354 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42870,7 +43177,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42886,7 +43193,7 @@ paths: type: integer format: int64 examples: - default: &354 + default: &356 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42923,18 +43230,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *83 - - *351 - - *345 - - *346 - - *352 + - *353 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42952,19 +43259,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *83 - - *349 - - *350 - - *345 - - *346 + - *351 - *352 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42982,13 +43289,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *83 - - *351 - - *345 - - *346 + - *353 + - *347 + - *348 - *19 - *17 - *106 - - *355 + - *357 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43069,7 +43376,7 @@ paths: application/json: schema: *22 examples: - default: &654 + default: &656 value: id: 1 account: @@ -43235,12 +43542,12 @@ paths: application/json: schema: anyOf: - - &357 + - &359 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &356 + limit: &358 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43265,7 +43572,7 @@ paths: properties: {} additionalProperties: false examples: - default: &358 + default: &360 value: limit: collaborators_only origin: organization @@ -43294,13 +43601,13 @@ paths: required: true content: application/json: - schema: &655 + schema: &657 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *356 + limit: *358 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43324,9 +43631,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -43404,9 +43711,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *43 '404': *6 @@ -43484,7 +43791,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -43541,7 +43848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *83 - - &361 + - &363 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43575,7 +43882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *83 - - *361 + - *363 - *17 - *19 responses: @@ -43585,9 +43892,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: &377 + default: &379 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43630,7 +43937,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -43715,9 +44022,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &363 + default: &365 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43750,7 +44057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *83 - - &364 + - &366 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43803,9 +44110,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *7 x-github: @@ -43830,7 +44137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *83 - - *364 + - *366 responses: '204': description: Response @@ -43893,7 +44200,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: type description: Can be the name of an issue type. in: query @@ -43912,7 +44219,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -43922,9 +44229,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *366 + default: *368 headers: Link: *43 '404': *6 @@ -43984,7 +44291,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '422': *15 @@ -44083,9 +44390,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *37 '500': *40 '401': *25 @@ -44112,7 +44419,7 @@ paths: parameters: - *83 - *138 - - &369 + - &371 name: codespace_name in: path required: true @@ -44147,15 +44454,15 @@ paths: parameters: - *83 - *138 - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &573 + default: &575 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44411,7 +44718,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Org Membership description: Org Membership type: object @@ -44478,7 +44785,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &371 + response-if-user-has-an-active-admin-membership-with-organization: &373 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44575,9 +44882,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - response-if-user-already-had-membership-with-organization: *371 + response-if-user-already-had-membership-with-organization: *373 '422': *15 '403': *29 x-github: @@ -44648,7 +44955,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Migration description: A migration. type: object @@ -44977,7 +45284,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -45156,7 +45463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *83 - - &373 + - &375 name: migration_id description: The unique identifier of the migration. in: path @@ -45183,7 +45490,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -45353,7 +45660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *83 - - *373 + - *375 responses: '302': description: Response @@ -45375,7 +45682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *83 - - *373 + - *375 responses: '204': description: Response @@ -45399,8 +45706,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *83 - - *373 - - &828 + - *375 + - &830 name: repo_name description: repo_name parameter in: path @@ -45428,7 +45735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *83 - - *373 + - *375 - *17 - *19 responses: @@ -45438,9 +45745,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: &384 + default: &386 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45649,7 +45956,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &374 + items: &376 title: Organization Role description: Organization roles type: object @@ -45856,7 +46163,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -45908,7 +46215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -45934,7 +46241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -45965,7 +46272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -46086,7 +46393,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -46183,7 +46490,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -46341,8 +46648,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *375 - required: *376 + properties: *377 + required: *378 nullable: true type: description: The ownership type of the team @@ -46374,7 +46681,7 @@ paths: - type - parent examples: - default: *377 + default: *379 headers: Link: *43 '404': @@ -46432,13 +46739,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &432 + items: &434 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *375 - required: *376 + properties: *377 + required: *378 name: nullable: true type: string @@ -46533,7 +46840,7 @@ paths: - type - url examples: - default: *203 + default: *206 headers: Link: *43 '404': @@ -46584,7 +46891,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -46726,7 +47033,7 @@ paths: - nuget - container - *83 - - &829 + - &831 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46762,12 +47069,12 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *379 + default: *381 '403': *29 '401': *25 - '400': &831 + '400': &833 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46789,7 +47096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &380 + - &382 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 @@ -46807,7 +47114,7 @@ paths: - docker - nuget - container - - &381 + - &383 name: package_name description: The name of the package. in: path @@ -46820,7 +47127,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -46872,8 +47179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *380 - - *381 + - *382 + - *383 - *83 responses: '204': @@ -46906,8 +47213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *380 - - *381 + - *382 + - *383 - *83 - name: token description: package token @@ -46940,8 +47247,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: - - *380 - - *381 + - *382 + - *383 - *83 - *19 - *17 @@ -46962,7 +47269,7 @@ paths: application/json: schema: type: array - items: &382 + items: &384 title: Package Version description: A version of a software package type: object @@ -47087,10 +47394,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: - - *380 - - *381 + - *382 + - *383 - *83 - - &383 + - &385 name: package_version_id description: Unique identifier of the package version. in: path @@ -47102,7 +47409,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -47138,10 +47445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *380 - - *381 - - *83 + - *382 - *383 + - *83 + - *385 responses: '204': description: Response @@ -47173,10 +47480,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *380 - - *381 - - *83 + - *382 - *383 + - *83 + - *385 responses: '204': description: Response @@ -47206,7 +47513,7 @@ paths: - *83 - *17 - *19 - - &385 + - &387 name: sort description: The property by which to sort the results. in: query @@ -47217,7 +47524,7 @@ paths: - created_at default: created_at - *106 - - &386 + - &388 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47228,7 +47535,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &387 + - &389 name: repository description: The name of the repository to use to filter the results. in: query @@ -47236,7 +47543,7 @@ paths: schema: type: string example: Hello-World - - &388 + - &390 name: permission description: The permission to use to filter the results. in: query @@ -47244,7 +47551,7 @@ paths: schema: type: string example: issues_read - - &389 + - &391 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) @@ -47254,7 +47561,7 @@ paths: schema: type: string format: date-time - - &390 + - &392 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) @@ -47264,7 +47571,7 @@ paths: schema: type: string format: date-time - - &391 + - &393 name: token_id description: The ID of the token in: query @@ -47575,9 +47882,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -47603,14 +47910,14 @@ paths: - *83 - *17 - *19 - - *385 - - *106 - - *386 - *387 + - *106 - *388 - *389 - *390 - *391 + - *392 + - *393 responses: '500': *40 '422': *15 @@ -47890,9 +48197,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -47934,7 +48241,7 @@ paths: type: integer configurations: type: array - items: &392 + items: &394 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48187,7 +48494,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &393 + org-private-registry-with-selected-visibility: &395 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48277,15 +48584,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *83 - - *288 + - *290 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -48307,7 +48614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *83 - - *288 + - *290 requestBody: required: true content: @@ -48403,7 +48710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *83 - - *288 + - *290 responses: '204': description: Response @@ -48449,7 +48756,7 @@ paths: application/json: schema: type: array - items: &394 + items: &396 title: Project description: Projects are a way to organize columns and cards of work. @@ -48622,7 +48929,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: default: value: @@ -48660,7 +48967,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &476 + '410': &478 description: Gone content: application/json: @@ -48703,7 +49010,7 @@ paths: application/json: schema: type: array - items: &395 + items: &397 title: Projects v2 Project description: A projects v2 project type: object @@ -48773,7 +49080,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &907 + properties: &909 id: type: number description: The unique identifier of the status update. @@ -48821,7 +49128,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &908 + required: &910 - id - node_id - created_at @@ -48846,7 +49153,7 @@ paths: - deleted_at - deleted_by examples: - default: &396 + default: &398 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -48949,7 +49256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &397 + - &399 name: project_number description: The project's number. in: path @@ -48962,9 +49269,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 headers: Link: *43 '304': *37 @@ -48986,7 +49293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *397 + - *399 - *83 - *17 - *104 @@ -48998,7 +49305,7 @@ paths: application/json: schema: type: array - items: &398 + items: &400 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49145,7 +49452,7 @@ paths: - updated_at - project_url examples: - default: &399 + default: &401 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49188,8 +49495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *397 - - &848 + - *399 + - &850 name: field_id description: The unique identifier of the field. in: path @@ -49202,9 +49509,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 headers: Link: *43 '304': *37 @@ -49227,7 +49534,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: - - *397 + - *399 - *83 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -49260,7 +49567,7 @@ paths: application/json: schema: type: array - items: &405 + items: &407 title: Projects v2 Item description: An item belonging to a project type: object @@ -49276,7 +49583,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &403 + content_type: &405 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49326,7 +49633,7 @@ paths: - updated_at - archived_at examples: - default: &406 + default: &408 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50021,7 +50328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *397 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -50058,7 +50365,7 @@ paths: description: Response content: application/json: - schema: &849 + schema: &851 title: Projects v2 Item description: An item belonging to a project type: object @@ -50071,8 +50378,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *223 - - &588 + - *226 + - &590 title: Pull Request Simple description: Pull Request Simple type: object @@ -50178,8 +50485,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 nullable: true active_lock_reason: type: string @@ -50224,7 +50531,7 @@ paths: nullable: true requested_teams: type: array - items: *305 + items: *307 nullable: true head: type: object @@ -50275,7 +50582,7 @@ paths: _links: type: object properties: - comments: &402 + comments: &404 title: Link description: Hypermedia Link type: object @@ -50284,13 +50591,13 @@ paths: type: string required: - href - commits: *402 - statuses: *402 - html: *402 - issue: *402 - review_comments: *402 - review_comment: *402 - self: *402 + commits: *404 + statuses: *404 + html: *404 + issue: *404 + review_comments: *404 + review_comment: *404 + self: *404 required: - comments - commits @@ -50300,8 +50607,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: &702 + author_association: *213 + auto_merge: &704 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50403,7 +50710,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *403 + content_type: *405 creator: *4 created_at: type: string @@ -50436,7 +50743,7 @@ paths: - updated_at - archived_at examples: - issue: &404 + issue: &406 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50491,7 +50798,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *404 + pull_request: *406 '304': *37 '403': *29 '401': *25 @@ -50511,9 +50818,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: - - *397 + - *399 - *83 - - &407 + - &409 name: item_id description: The unique identifier of the project item. in: path @@ -50539,9 +50846,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 headers: Link: *43 '304': *37 @@ -50562,9 +50869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *397 + - *399 - *83 - - *407 + - *409 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50634,13 +50941,13 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - text_field: *406 - number_field: *406 - date_field: *406 - single_select_field: *406 - iteration_field: *406 + text_field: *408 + number_field: *408 + date_field: *408 + single_select_field: *408 + iteration_field: *408 '401': *25 '403': *29 '404': *6 @@ -50660,9 +50967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *397 + - *399 - *83 - - *407 + - *409 responses: '204': description: Response @@ -50825,7 +51132,7 @@ paths: required: true content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -51050,7 +51357,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -51188,9 +51495,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -51393,7 +51700,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: Full Repository description: Full Repository type: object @@ -51670,8 +51977,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *409 - required: *410 + properties: *411 + required: *412 nullable: true temp_clone_token: type: string @@ -51758,8 +52065,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -51786,7 +52093,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &593 + properties: &595 url: type: string format: uri @@ -51802,12 +52109,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &594 + required: &596 - url - key - name - html_url - security_and_analysis: *411 + security_and_analysis: *413 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -51891,7 +52198,7 @@ paths: - network_count - subscribers_count examples: - default: &480 + default: &482 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52417,9 +52724,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: *413 + default: *415 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52444,7 +52751,7 @@ paths: - *83 - *17 - *19 - - &725 + - &727 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52535,11 +52842,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *414 + conditions: *416 rules: type: array description: An array of rules within the ruleset. - items: &416 + items: &418 title: Repository Rule type: object description: A repository rule. @@ -52603,7 +52910,7 @@ paths: application/json: schema: *185 examples: - default: &415 + default: &417 value: id: 21 name: super cool ruleset @@ -52658,7 +52965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &727 + - &729 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 @@ -52668,16 +52975,16 @@ paths: schema: type: string x-multi-segment: true - - *302 + - *304 - *101 - - &728 + - &730 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 - - &729 + - &731 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52697,7 +53004,7 @@ paths: description: Response content: application/json: - schema: &730 + schema: &732 title: Rule Suites description: Response type: array @@ -52752,7 +53059,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &731 + default: &733 value: - id: 21 actor_id: 12 @@ -52796,7 +53103,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &732 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52812,7 +53119,7 @@ paths: description: Response content: application/json: - schema: &733 + schema: &735 title: Rule Suite description: Response type: object @@ -52911,7 +53218,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &734 + default: &736 value: id: 21 actor_id: 12 @@ -52986,7 +53293,7 @@ paths: application/json: schema: *185 examples: - default: *415 + default: *417 '404': *6 '500': *40 put: @@ -53035,11 +53342,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *414 + conditions: *416 rules: description: An array of rules within the ruleset. type: array - items: *416 + items: *418 examples: default: value: @@ -53076,7 +53383,7 @@ paths: application/json: schema: *185 examples: - default: *415 + default: *417 '404': *6 '500': *40 delete: @@ -53135,7 +53442,7 @@ paths: type: array items: *189 examples: - default: *417 + default: *419 '404': *6 '500': *40 x-github: @@ -53172,7 +53479,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: default: value: @@ -53235,14 +53542,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *419 - - *420 - *421 - *422 + - *423 + - *424 - *106 - *19 - *17 - - &736 + - &738 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 @@ -53252,7 +53559,7 @@ paths: required: false schema: type: string - - &737 + - &739 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 @@ -53262,10 +53569,10 @@ paths: required: false schema: type: string - - *423 - - *424 - *425 - *426 + - *427 + - *428 responses: '200': description: Response @@ -53273,9 +53580,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *43 '404': *6 @@ -53310,9 +53617,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 '403': *29 '404': *6 patch: @@ -53465,7 +53772,7 @@ paths: application/json: schema: type: array - items: &758 + items: &760 description: A repository security advisory. type: object properties: @@ -53685,7 +53992,7 @@ paths: login: type: string description: The username of the user credited. - type: *431 + type: *433 credits_detailed: type: array nullable: true @@ -53695,7 +54002,7 @@ paths: type: object properties: user: *4 - type: *431 + type: *433 state: type: string description: The state of the user's acceptance of the @@ -53719,7 +54026,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *305 + items: *307 private_fork: readOnly: true nullable: true @@ -53756,7 +54063,7 @@ paths: - private_fork additionalProperties: false examples: - default: &759 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54143,9 +54450,9 @@ paths: application/json: schema: type: array - items: *432 + items: *434 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54169,7 +54476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54195,7 +54502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54230,9 +54537,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54257,7 +54564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *435 + - *437 - *17 - *19 responses: @@ -54265,9 +54572,9 @@ paths: description: Success content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54295,9 +54602,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54325,9 +54632,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54471,9 +54778,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *292 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54542,7 +54849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: Response @@ -54565,7 +54872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *272 + - *274 responses: '204': description: Response @@ -54608,7 +54915,7 @@ paths: type: array items: *143 examples: - default: *442 + default: *444 headers: Link: *43 x-github: @@ -54809,15 +55116,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *83 - - *443 + - *445 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 headers: Link: *43 x-github: @@ -54855,7 +55162,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -54901,7 +55208,7 @@ paths: type: string nullable: true examples: - default: &468 + default: &470 value: groups: - group_id: '123' @@ -54947,7 +55254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *83 - - *206 + - *209 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -54979,13 +55286,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55013,9 +55320,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 headers: Link: *43 '403': *29 @@ -55109,7 +55416,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &448 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55172,8 +55479,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *375 - required: *376 + properties: *377 + required: *378 nullable: true members_count: type: integer @@ -55436,7 +55743,7 @@ paths: - repos_count - organization examples: - default: &447 + default: &449 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55507,15 +55814,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 x-github: githubCloudOnly: false @@ -55537,7 +55844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *83 - - *206 + - *209 requestBody: required: false content: @@ -55599,16 +55906,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '201': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 '422': *15 '403': *29 @@ -55634,7 +55941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -55661,7 +55968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *83 - - *206 + - *209 - *106 - *17 - *19 @@ -55678,7 +55985,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -55757,7 +56064,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *211 + reactions: *214 required: - author - body @@ -55777,7 +56084,7 @@ paths: - updated_at - url examples: - default: &802 + default: &804 value: - author: login: octocat @@ -55852,7 +56159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -55886,9 +56193,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: &449 + default: &451 value: author: login: octocat @@ -55961,8 +56268,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *83 - - *206 - - &450 + - *209 + - &452 name: discussion_number description: The number that identifies the discussion. in: path @@ -55974,9 +56281,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55999,8 +56306,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 requestBody: required: false content: @@ -56023,9 +56330,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: &803 + default: &805 value: author: login: octocat @@ -56096,8 +56403,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 responses: '204': description: Response @@ -56124,8 +56431,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *83 - - *206 - - *450 + - *209 + - *452 - *106 - *17 - *19 @@ -56136,7 +56443,7 @@ paths: application/json: schema: type: array - items: &451 + items: &453 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56193,7 +56500,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *211 + reactions: *214 required: - author - body @@ -56208,7 +56515,7 @@ paths: - updated_at - url examples: - default: &804 + default: &806 value: - author: login: octocat @@ -56277,8 +56584,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *83 - - *206 - - *450 + - *209 + - *452 requestBody: required: true content: @@ -56300,9 +56607,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: &452 + default: &454 value: author: login: octocat @@ -56369,9 +56676,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *83 - - *206 - - *450 - - &453 + - *209 + - *452 + - &455 name: comment_number description: The number that identifies the comment. in: path @@ -56383,9 +56690,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56408,9 +56715,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 requestBody: required: true content: @@ -56432,9 +56739,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: &805 + default: &807 value: author: login: octocat @@ -56499,9 +56806,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 responses: '204': description: Response @@ -56528,9 +56835,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 - 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. @@ -56556,7 +56863,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -56599,7 +56906,7 @@ paths: - content - created_at examples: - default: &456 + default: &458 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56650,9 +56957,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *83 - - *206 - - *450 - - *453 + - *209 + - *452 + - *455 requestBody: required: true content: @@ -56685,9 +56992,9 @@ paths: team discussion comment content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56716,9 +57023,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56742,10 +57049,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *83 - - *206 - - *450 - - *453 - - &457 + - *209 + - *452 + - *455 + - &459 name: reaction_id description: The unique identifier of the reaction. in: path @@ -56778,8 +57085,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 - 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. @@ -56805,9 +57112,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 x-github: @@ -56834,8 +57141,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *83 - - *206 - - *450 + - *209 + - *452 requestBody: required: true content: @@ -56867,16 +57174,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56900,9 +57207,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *83 - - *206 - - *450 - - *457 + - *209 + - *452 + - *459 responses: '204': description: Response @@ -56926,15 +57233,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *459 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56954,7 +57261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -56977,9 +57284,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *461 + default: *463 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56999,7 +57306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -57024,7 +57331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57034,9 +57341,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *43 x-github: @@ -57059,7 +57366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *83 - - *206 + - *209 - name: role description: Filters members returned by their role in the team. in: query @@ -57082,7 +57389,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -57113,14 +57420,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '200': description: Response content: application/json: - schema: &462 + schema: &464 title: Team Membership description: Team Membership type: object @@ -57147,7 +57454,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &806 + response-if-user-is-a-team-maintainer: &808 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57184,7 +57491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 requestBody: required: false @@ -57210,9 +57517,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: &807 + response-if-users-membership-with-team-is-now-pending: &809 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57248,7 +57555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '204': @@ -57275,7 +57582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57285,7 +57592,7 @@ paths: application/json: schema: type: array - items: &463 + items: &465 title: Team Project description: A team's access to a project. type: object @@ -57353,7 +57660,7 @@ paths: - updated_at - permissions examples: - default: &808 + default: &810 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57417,8 +57724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *83 - - *206 - - &464 + - *209 + - &466 name: project_id description: The unique identifier of the project. in: path @@ -57430,9 +57737,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: - default: &809 + default: &811 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57495,8 +57802,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *83 - - *206 - - *464 + - *209 + - *466 requestBody: required: false content: @@ -57563,8 +57870,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *83 - - *206 - - *464 + - *209 + - *466 responses: '204': description: Response @@ -57592,7 +57899,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57602,9 +57909,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -57634,15 +57941,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *83 - - *206 - - *465 - - *466 + - *209 + - *467 + - *468 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &810 + schema: &812 title: Team Repository description: A team's access to a repository. type: object @@ -57665,8 +57972,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true forks: type: integer @@ -58212,9 +58519,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *83 - - *206 - - *465 - - *466 + - *209 + - *467 + - *468 requestBody: required: false content: @@ -58260,9 +58567,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *83 - - *206 - - *465 - - *466 + - *209 + - *467 + - *468 responses: '204': description: Response @@ -58289,15 +58596,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58320,7 +58627,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -58363,7 +58670,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default: value: @@ -58396,7 +58703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -58406,9 +58713,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - response-if-child-teams-exist: &811 + response-if-child-teams-exist: &813 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58535,7 +58842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &469 + - &471 name: card_id description: The unique identifier of the card. in: path @@ -58547,7 +58854,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 title: Project Card description: Project cards represent a scope of work. type: object @@ -58614,7 +58921,7 @@ paths: - created_at - updated_at examples: - default: &471 + default: &473 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -58670,7 +58977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *469 + - *471 requestBody: required: false content: @@ -58697,9 +59004,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '304': *37 '403': *29 '401': *25 @@ -58726,7 +59033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *469 + - *471 responses: '204': description: Response @@ -58770,7 +59077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *469 + - *471 requestBody: required: true content: @@ -58881,7 +59188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &472 + - &474 name: column_id description: The unique identifier of the column. in: path @@ -58893,7 +59200,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &475 title: Project Column description: Project columns contain cards of work. type: object @@ -58939,7 +59246,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &476 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -58974,7 +59281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *472 + - *474 requestBody: required: true content: @@ -58998,9 +59305,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: - default: *474 + default: *476 '304': *37 '403': *29 '401': *25 @@ -59025,7 +59332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *472 + - *474 responses: '204': description: Response @@ -59054,7 +59361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *472 + - *474 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59075,7 +59382,7 @@ paths: application/json: schema: type: array - items: *470 + items: *472 examples: default: value: @@ -59134,7 +59441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *472 + - *474 requestBody: required: true content: @@ -59174,9 +59481,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '304': *37 '403': *29 '401': *25 @@ -59186,8 +59493,8 @@ paths: application/json: schema: oneOf: - - *253 - - *254 + - *255 + - *256 '503': description: Response content: @@ -59232,7 +59539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *472 + - *474 requestBody: required: true content: @@ -59292,15 +59599,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *464 + - *466 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &475 + default: &477 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59357,7 +59664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *464 + - *466 requestBody: required: false content: @@ -59403,9 +59710,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *475 + default: *477 '404': description: Not Found if the authenticated user does not have access to the project @@ -59426,7 +59733,7 @@ paths: items: type: string '401': *25 - '410': *476 + '410': *478 '422': *7 x-github: githubCloudOnly: false @@ -59449,7 +59756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *464 + - *466 responses: '204': description: Delete Success @@ -59470,7 +59777,7 @@ paths: items: type: string '401': *25 - '410': *476 + '410': *478 '404': *6 x-github: githubCloudOnly: false @@ -59494,7 +59801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *464 + - *466 - 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 @@ -59521,7 +59828,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -59551,7 +59858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *464 + - *466 - *138 requestBody: required: false @@ -59604,7 +59911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *464 + - *466 - *138 responses: '204': @@ -59636,7 +59943,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: - - *464 + - *466 - *138 responses: '200': @@ -59696,115 +60003,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns - parameters: - - *464 - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *473 - examples: - default: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - headers: - Link: *43 - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column - parameters: - - *464 - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: *473 - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': *37 - '403': *29 - '422': *7 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -59846,7 +60044,7 @@ paths: resources: type: object properties: - core: &477 + core: &479 title: Rate Limit type: object properties: @@ -59863,21 +60061,21 @@ paths: - remaining - reset - used - graphql: *477 - search: *477 - code_search: *477 - source_import: *477 - integration_manifest: *477 - code_scanning_upload: *477 - actions_runner_registration: *477 - scim: *477 - dependency_snapshots: *477 - dependency_sbom: *477 - code_scanning_autofix: *477 + graphql: *479 + search: *479 + code_search: *479 + source_import: *479 + integration_manifest: *479 + code_scanning_upload: *479 + actions_runner_registration: *479 + scim: *479 + dependency_snapshots: *479 + dependency_sbom: *479 + code_scanning_autofix: *479 required: - core - search - rate: *477 + rate: *479 required: - rate - resources @@ -59982,14 +60180,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: default-response: summary: Default response @@ -60494,7 +60692,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *479 + '301': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60512,8 +60710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -60770,10 +60968,10 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 - '307': &481 + default: *482 + '307': &483 description: Temporary Redirect content: application/json: @@ -60802,8 +61000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -60825,7 +61023,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': *481 + '307': *483 '404': *6 '409': *114 x-github: @@ -60849,11 +61047,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - - &496 + - &498 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -60876,7 +61074,7 @@ paths: type: integer artifacts: type: array - items: &482 + items: &484 title: Artifact description: An artifact type: object @@ -60954,7 +61152,7 @@ paths: - expires_at - updated_at examples: - default: &497 + default: &499 value: total_count: 2 artifacts: @@ -61015,9 +61213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *465 - - *466 - - &483 + - *467 + - *468 + - &485 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61029,7 +61227,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -61067,9 +61265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *465 - - *466 - - *483 + - *467 + - *468 + - *485 responses: '204': description: Response @@ -61093,9 +61291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *465 - - *466 - - *483 + - *467 + - *468 + - *485 - name: archive_format in: path required: true @@ -61109,7 +61307,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': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61132,14 +61330,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -61165,11 +61363,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: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - - &485 + - &487 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 @@ -61203,7 +61401,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &488 title: Repository actions caches description: Repository actions caches type: object @@ -61245,7 +61443,7 @@ paths: - total_count - actions_caches examples: - default: &487 + default: &489 value: total_count: 1 actions_caches: @@ -61277,23 +61475,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: - - *465 - - *466 + - *467 + - *468 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *485 + - *487 responses: '200': description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *487 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61313,8 +61511,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: - - *465 - - *466 + - *467 + - *468 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61345,9 +61543,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: - - *465 - - *466 - - &488 + - *467 + - *468 + - &490 name: job_id description: The unique identifier of the job. in: path @@ -61359,7 +61557,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &502 title: Job description: Information of a job execution in a workflow run type: object @@ -61666,9 +61864,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: - - *465 - - *466 - - *488 + - *467 + - *468 + - *490 responses: '302': description: Response @@ -61696,9 +61894,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: - - *465 - - *466 - - *488 + - *467 + - *468 + - *490 requestBody: required: false content: @@ -61719,7 +61917,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -61743,8 +61941,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Status response @@ -61794,8 +61992,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -61829,7 +62027,7 @@ paths: description: Empty response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -61858,8 +62056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -61877,7 +62075,7 @@ paths: type: integer secrets: type: array - items: &502 + items: &504 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61897,7 +62095,7 @@ paths: - created_at - updated_at examples: - default: &503 + default: &505 value: total_count: 2 secrets: @@ -61930,9 +62128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *465 - - *466 - - *489 + - *467 + - *468 + - *491 - *19 responses: '200': @@ -61949,7 +62147,7 @@ paths: type: integer variables: type: array - items: &506 + items: &508 title: Actions Variable type: object properties: @@ -61979,7 +62177,7 @@ paths: - created_at - updated_at examples: - default: &507 + default: &509 value: total_count: 2 variables: @@ -62012,8 +62210,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62022,11 +62220,11 @@ paths: schema: type: object properties: - enabled: &490 + enabled: &492 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 - selected_actions_url: *265 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled @@ -62057,8 +62255,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -62069,7 +62267,7 @@ paths: schema: type: object properties: - enabled: *490 + enabled: *492 allowed_actions: *56 sha_pinning_required: *57 required: @@ -62102,14 +62300,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: &491 + schema: &493 type: object properties: access_level: @@ -62127,7 +62325,7 @@ paths: required: - access_level examples: - default: &492 + default: &494 value: access_level: organization x-github: @@ -62152,15 +62350,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 responses: '204': description: Response @@ -62184,14 +62382,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *267 + schema: *269 examples: default: value: @@ -62215,8 +62413,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Empty response for successful settings update @@ -62226,7 +62424,7 @@ paths: required: true content: application/json: - schema: *268 + schema: *270 examples: default: summary: Set retention days @@ -62250,8 +62448,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62259,7 +62457,7 @@ paths: application/json: schema: *58 examples: - default: *269 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -62278,8 +62476,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -62313,14 +62511,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *270 + schema: *272 examples: default: *59 '403': *29 @@ -62342,13 +62540,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: application/json: - schema: *271 + schema: *273 examples: default: *59 responses: @@ -62374,8 +62572,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62406,8 +62604,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -62439,14 +62637,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: default: *65 x-github: @@ -62469,8 +62667,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Success response @@ -62481,7 +62679,7 @@ paths: required: true content: application/json: - schema: *275 + schema: *277 examples: default: *65 x-github: @@ -62510,8 +62708,8 @@ paths: in: query schema: type: string - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -62555,8 +62753,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -62564,9 +62762,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62588,8 +62786,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -62632,7 +62830,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *281 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -62663,8 +62861,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: - - *465 - - *466 + - *467 + - *468 responses: '201': description: Response @@ -62672,7 +62870,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62700,8 +62898,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: - - *465 - - *466 + - *467 + - *468 responses: '201': description: Response @@ -62709,7 +62907,7 @@ paths: application/json: schema: *75 examples: - default: *283 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62731,8 +62929,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: '200': @@ -62741,7 +62939,7 @@ paths: application/json: schema: *72 examples: - default: *284 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62762,8 +62960,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: '204': @@ -62790,8 +62988,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: '200': *77 @@ -62816,8 +63014,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: - - *465 - - *466 + - *467 + - *468 - *71 requestBody: required: true @@ -62866,8 +63064,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: - - *465 - - *466 + - *467 + - *468 - *71 requestBody: required: true @@ -62917,11 +63115,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: - - *465 - - *466 + - *467 + - *468 - *71 responses: - '200': *285 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -62948,10 +63146,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: - - *465 - - *466 + - *467 + - *468 - *71 - - *286 + - *288 responses: '200': *77 '404': *6 @@ -62979,9 +63177,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: - - *465 - - *466 - - &510 + - *467 + - *468 + - &512 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. @@ -62989,7 +63187,7 @@ paths: required: false schema: type: string - - &511 + - &513 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62997,7 +63195,7 @@ paths: required: false schema: type: string - - &512 + - &514 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63006,7 +63204,7 @@ paths: required: false schema: type: string - - &513 + - &515 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 @@ -63033,7 +63231,7 @@ paths: - pending - *17 - *19 - - &514 + - &516 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)." @@ -63042,7 +63240,7 @@ paths: schema: type: string format: date-time - - &493 + - &495 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63051,13 +63249,13 @@ paths: schema: type: boolean default: false - - &515 + - &517 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &516 + - &518 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63080,7 +63278,7 @@ paths: type: integer workflow_runs: type: array - items: &494 + items: &496 title: Workflow Run description: An invocation of a workflow type: object @@ -63175,7 +63373,7 @@ paths: that triggered the run. type: array nullable: true - items: &535 + items: &537 title: Pull Request Minimal type: object properties: @@ -63294,7 +63492,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &539 + properties: &541 id: type: string description: SHA for the commit @@ -63345,7 +63543,7 @@ paths: - name - email nullable: true - required: &540 + required: &542 - id - tree_id - message @@ -63353,8 +63551,8 @@ paths: - author - committer nullable: true - repository: *278 - head_repository: *278 + repository: *280 + head_repository: *280 head_repository_id: type: integer example: 5 @@ -63392,7 +63590,7 @@ paths: - workflow_url - pull_requests examples: - default: &517 + default: &519 value: total_count: 1 workflow_runs: @@ -63628,24 +63826,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *465 - - *466 - - &495 + - *467 + - *468 + - &497 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *493 + - *495 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &498 + default: &500 value: id: 30433642 name: Build @@ -63886,9 +64084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '204': description: Response @@ -63911,9 +64109,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '200': description: Response @@ -64032,15 +64230,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64067,12 +64265,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 - *17 - *19 - - *496 + - *498 responses: '200': description: Response @@ -64088,9 +64286,9 @@ paths: type: integer artifacts: type: array - items: *482 + items: *484 examples: - default: *497 + default: *499 headers: Link: *43 x-github: @@ -64114,25 +64312,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *465 - - *466 - - *495 - - &499 + - *467 + - *468 + - *497 + - &501 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *493 + - *495 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64155,10 +64353,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: - - *465 - - *466 - - *495 - - *499 + - *467 + - *468 + - *497 + - *501 - *17 - *19 responses: @@ -64176,9 +64374,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *502 examples: - default: &501 + default: &503 value: total_count: 1 jobs: @@ -64291,10 +64489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *465 - - *466 - - *495 - - *499 + - *467 + - *468 + - *497 + - *501 responses: '302': description: Response @@ -64322,15 +64520,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '202': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64357,9 +64555,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: true content: @@ -64426,15 +64624,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '202': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64461,9 +64659,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 - 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 @@ -64493,9 +64691,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *502 examples: - default: *501 + default: *503 headers: Link: *43 x-github: @@ -64520,9 +64718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '302': description: Response @@ -64549,9 +64747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '204': description: Response @@ -64578,9 +64776,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '200': description: Response @@ -64640,7 +64838,7 @@ paths: items: type: object properties: - type: &624 + type: &626 type: string description: The type of reviewer. enum: @@ -64650,7 +64848,7 @@ paths: reviewer: anyOf: - *4 - - *305 + - *307 required: - environment - wait_timer @@ -64725,9 +64923,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: true content: @@ -64774,7 +64972,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64862,8 +65060,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -64880,7 +65078,7 @@ paths: - created_at - updated_at examples: - default: &611 + default: &613 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64936,9 +65134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: false content: @@ -64959,7 +65157,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -64982,9 +65180,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: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 requestBody: required: false content: @@ -65005,7 +65203,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -65038,9 +65236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *465 - - *466 - - *495 + - *467 + - *468 + - *497 responses: '200': description: Response @@ -65177,8 +65375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -65196,9 +65394,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *504 examples: - default: *503 + default: *505 headers: Link: *43 x-github: @@ -65223,16 +65421,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: *505 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65254,17 +65452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '200': description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: &637 + default: &639 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65290,9 +65488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 requestBody: required: true content: @@ -65323,7 +65521,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -65349,9 +65547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '204': description: Response @@ -65376,9 +65574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *465 - - *466 - - *489 + - *467 + - *468 + - *491 - *19 responses: '200': @@ -65395,9 +65593,9 @@ paths: type: integer variables: type: array - items: *506 + items: *508 examples: - default: *507 + default: *509 headers: Link: *43 x-github: @@ -65420,8 +65618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -65448,7 +65646,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -65473,17 +65671,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *465 - - *466 - - *291 + - *467 + - *468 + - *293 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: &638 + default: &640 value: name: USERNAME value: octocat @@ -65509,9 +65707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *465 - - *466 - - *291 + - *467 + - *468 + - *293 requestBody: required: true content: @@ -65553,9 +65751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *465 - - *466 - - *291 + - *467 + - *468 + - *293 responses: '204': description: Response @@ -65580,8 +65778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -65599,7 +65797,7 @@ paths: type: integer workflows: type: array - items: &508 + items: &510 title: Workflow description: A GitHub Actions workflow type: object @@ -65706,9 +65904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *465 - - *466 - - &509 + - *467 + - *468 + - &511 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65723,7 +65921,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -65756,9 +65954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '204': description: Response @@ -65783,9 +65981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '204': description: Response @@ -65836,9 +66034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '204': description: Response @@ -65865,19 +66063,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: - - *465 - - *466 - - *509 - - *510 + - *467 + - *468 - *511 - *512 - *513 - - *17 - - *19 - *514 - - *493 - *515 + - *17 + - *19 - *516 + - *495 + - *517 + - *518 responses: '200': description: Response @@ -65893,9 +66091,9 @@ paths: type: integer workflow_runs: type: array - items: *494 + items: *496 examples: - default: *517 + default: *519 headers: Link: *43 x-github: @@ -65928,9 +66126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *465 - - *466 - - *509 + - *467 + - *468 + - *511 responses: '200': description: Response @@ -65991,8 +66189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *465 - - *466 + - *467 + - *468 - *106 - *17 - *104 @@ -66156,8 +66354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -66169,7 +66367,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -66194,8 +66392,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: - - *465 - - *466 + - *467 + - *468 - name: assignee in: path required: true @@ -66231,8 +66429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -66344,8 +66542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *104 - *105 @@ -66402,7 +66600,7 @@ paths: initiator: type: string examples: - default: *518 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66422,8 +66620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -66431,7 +66629,7 @@ paths: application/json: schema: type: array - items: &519 + items: &521 title: Autolink reference description: An autolink reference. type: object @@ -66485,8 +66683,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -66525,9 +66723,9 @@ paths: description: response content: application/json: - schema: *519 + schema: *521 examples: - default: &520 + default: &522 value: id: 1 key_prefix: TICKET- @@ -66558,9 +66756,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: - - *465 - - *466 - - &521 + - *467 + - *468 + - &523 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66572,9 +66770,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -66594,9 +66792,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: - - *465 - - *466 - - *521 + - *467 + - *468 + - *523 responses: '204': description: Response @@ -66620,8 +66818,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response if Dependabot is enabled @@ -66669,8 +66867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -66691,8 +66889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -66712,8 +66910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *465 - - *466 + - *467 + - *468 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66751,7 +66949,7 @@ paths: - url protected: type: boolean - protection: &523 + protection: &525 title: Branch Protection description: Branch Protection type: object @@ -66793,7 +66991,7 @@ paths: required: - contexts - checks - enforce_admins: &526 + enforce_admins: &528 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66808,7 +67006,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &528 + required_pull_request_reviews: &530 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66829,7 +67027,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *305 + items: *307 apps: description: The list of apps with review dismissal access. @@ -66858,7 +67056,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *305 + items: *307 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66884,7 +67082,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &525 + restrictions: &527 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66947,7 +67145,7 @@ paths: type: string teams: type: array - items: *305 + items: *307 apps: type: array items: @@ -67161,9 +67359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *465 - - *466 - - &524 + - *467 + - *468 + - &526 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). @@ -67177,14 +67375,14 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &584 + commit: &586 title: Commit description: Commit type: object @@ -67218,7 +67416,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &522 + properties: &524 name: type: string example: '"Chris Wanstrath"' @@ -67233,7 +67431,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *524 nullable: true message: type: string @@ -67254,7 +67452,7 @@ paths: required: - sha - url - verification: &644 + verification: &646 title: Verification type: object properties: @@ -67288,12 +67486,12 @@ paths: nullable: true oneOf: - *4 - - *289 + - *291 committer: nullable: true oneOf: - *4 - - *289 + - *291 parents: type: array items: @@ -67324,7 +67522,7 @@ paths: type: integer files: type: array - items: &597 + items: &599 title: Diff Entry description: Diff Entry type: object @@ -67408,7 +67606,7 @@ paths: - self protected: type: boolean - protection: *523 + protection: *525 protection_url: type: string format: uri @@ -67515,7 +67713,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *479 + '301': *481 '404': *6 x-github: githubCloudOnly: false @@ -67537,15 +67735,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -67739,9 +67937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -67996,7 +68194,7 @@ paths: url: type: string format: uri - required_status_checks: &531 + required_status_checks: &533 title: Status Check Policy description: Status Check Policy type: object @@ -68072,7 +68270,7 @@ paths: items: *4 teams: type: array - items: *305 + items: *307 apps: type: array items: *5 @@ -68090,7 +68288,7 @@ paths: items: *4 teams: type: array - items: *305 + items: *307 apps: type: array items: *5 @@ -68148,7 +68346,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *525 + restrictions: *527 required_conversation_resolution: type: object properties: @@ -68260,9 +68458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68287,17 +68485,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: &527 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68319,17 +68517,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: *527 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68348,9 +68546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68375,17 +68573,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &529 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68481,9 +68679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -68581,9 +68779,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -68604,9 +68802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68633,17 +68831,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: &530 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68666,17 +68864,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *526 + schema: *528 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -68696,9 +68894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68723,17 +68921,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: &532 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68759,9 +68957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -68813,9 +69011,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *532 + default: *534 '404': *6 '422': *15 x-github: @@ -68837,9 +69035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -68863,9 +69061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -68899,9 +69097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -68968,9 +69166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -69034,9 +69232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: content: application/json: @@ -69102,15 +69300,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -69201,9 +69399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '204': description: Response @@ -69226,9 +69424,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: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -69238,7 +69436,7 @@ paths: type: array items: *5 examples: - default: &533 + default: &535 value: - id: 1 slug: octoapp @@ -69295,9 +69493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69331,7 +69529,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -69352,9 +69550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69388,7 +69586,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -69409,9 +69607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69445,7 +69643,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *535 '422': *15 x-github: githubCloudOnly: false @@ -69467,9 +69665,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: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -69477,9 +69675,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '404': *6 x-github: githubCloudOnly: false @@ -69499,9 +69697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -69537,9 +69735,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69560,9 +69758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: false content: @@ -69598,9 +69796,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69621,9 +69819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: content: application/json: @@ -69658,9 +69856,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69682,9 +69880,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: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 responses: '200': description: Response @@ -69694,7 +69892,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '404': *6 x-github: githubCloudOnly: false @@ -69718,9 +69916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69753,7 +69951,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69778,9 +69976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69813,7 +70011,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69838,9 +70036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69873,7 +70071,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69900,9 +70098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 requestBody: required: true content: @@ -69924,7 +70122,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -70038,8 +70236,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *465 - - *466 + - *467 + - *468 - *99 - *100 - *101 @@ -70053,9 +70251,9 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: - default: *301 + default: *303 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70075,8 +70273,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_request_number in: path required: true @@ -70090,7 +70288,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -70149,8 +70347,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - *99 - *100 - *101 @@ -70164,9 +70362,9 @@ paths: application/json: schema: type: array - items: *303 + items: *305 examples: - default: *304 + default: *306 '404': *6 '403': *29 '500': *40 @@ -70190,8 +70388,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_request_number in: path required: true @@ -70203,7 +70401,7 @@ paths: description: A single bypass request. content: application/json: - schema: *303 + schema: *305 examples: default: value: @@ -70261,8 +70459,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_request_number in: path required: true @@ -70333,8 +70531,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *465 - - *466 + - *467 + - *468 - name: bypass_response_id in: path required: true @@ -70367,8 +70565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -70647,7 +70845,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &538 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70758,16 +70956,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *535 - deployment: &865 + items: *537 + deployment: &867 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70834,8 +71032,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -71047,9 +71245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *465 - - *466 - - &537 + - *467 + - *468 + - &539 name: check_run_id description: The unique identifier of the check run. in: path @@ -71061,9 +71259,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &538 + default: &540 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71163,9 +71361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *465 - - *466 - - *537 + - *467 + - *468 + - *539 requestBody: required: true content: @@ -71405,9 +71603,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *538 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71427,9 +71625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *465 - - *466 - - *537 + - *467 + - *468 + - *539 - *17 - *19 responses: @@ -71524,15 +71722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *465 - - *466 - - *537 + - *467 + - *468 + - *539 responses: '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -71570,8 +71768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -71593,7 +71791,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &541 + schema: &543 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71657,7 +71855,7 @@ paths: nullable: true pull_requests: type: array - items: *535 + items: *537 nullable: true app: title: GitHub app @@ -71668,9 +71866,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - repository: *278 + properties: *211 + required: *212 + repository: *280 created_at: type: string format: date-time @@ -71679,12 +71877,12 @@ paths: type: string format: date-time nullable: true - head_commit: &891 + head_commit: &893 title: Simple Commit description: A commit. type: object - properties: *539 - required: *540 + properties: *541 + required: *542 latest_check_runs_count: type: integer check_runs_url: @@ -71712,7 +71910,7 @@ paths: - check_runs_url - pull_requests examples: - default: &542 + default: &544 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72003,9 +72201,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72024,8 +72222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -72086,7 +72284,7 @@ paths: required: - app_id - setting - repository: *278 + repository: *280 examples: default: value: @@ -72334,9 +72532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *465 - - *466 - - &543 + - *467 + - *468 + - &545 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72348,9 +72546,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72373,17 +72571,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: - - *465 - - *466 - - *543 - - &590 + - *467 + - *468 + - *545 + - &592 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &591 + - &593 name: status description: Returns check runs with the specified `status`. in: query @@ -72422,9 +72620,9 @@ paths: type: integer check_runs: type: array - items: *536 + items: *538 examples: - default: &592 + default: &594 value: total_count: 1 check_runs: @@ -72526,15 +72724,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *465 - - *466 - - *543 + - *467 + - *468 + - *545 responses: '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -72561,21 +72759,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: - - *465 - - *466 - - *309 - - *310 + - *467 + - *468 + - *311 + - *312 - *19 - *17 - - &559 + - &561 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: *544 - - &560 + schema: *546 + - &562 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72600,13 +72798,13 @@ paths: be returned. in: query required: false - schema: *311 + schema: *313 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *545 + schema: *547 responses: '200': description: Response @@ -72622,7 +72820,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *546 + instances_url: *548 state: *109 fixed_at: *133 dismissed_by: @@ -72633,11 +72831,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *547 - dismissed_comment: *548 - rule: *549 - tool: *550 - most_recent_instance: *551 + dismissed_reason: *549 + dismissed_comment: *550 + rule: *551 + tool: *552 + most_recent_instance: *553 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72763,7 +72961,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &552 + '403': &554 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72790,9 +72988,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: - - *465 - - *466 - - &553 + - *467 + - *468 + - &555 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72806,7 +73004,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &556 type: object properties: number: *123 @@ -72814,7 +73012,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *546 + instances_url: *548 state: *109 fixed_at: *133 dismissed_by: @@ -72825,8 +73023,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *547 - dismissed_comment: *548 + dismissed_reason: *549 + dismissed_comment: *550 rule: type: object properties: @@ -72880,8 +73078,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *550 - most_recent_instance: *551 + tool: *552 + most_recent_instance: *553 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72980,7 +73178,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73000,9 +73198,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 requestBody: required: true content: @@ -73017,8 +73215,8 @@ paths: enum: - open - dismissed - dismissed_reason: *547 - dismissed_comment: *548 + dismissed_reason: *549 + dismissed_comment: *550 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73037,7 +73235,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -73113,7 +73311,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &558 + '403': &560 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73140,15 +73338,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 responses: '200': description: Response content: application/json: - schema: &555 + schema: &557 type: object properties: status: @@ -73174,13 +73372,13 @@ paths: - description - started_at examples: - default: &556 + default: &558 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &557 + '400': &559 description: Bad Request content: application/json: @@ -73191,7 +73389,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': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73216,29 +73414,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 responses: '200': description: OK content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '202': description: Accepted content: application/json: - schema: *555 + schema: *557 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *557 + '400': *559 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73270,9 +73468,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 requestBody: required: false content: @@ -73317,8 +73515,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *557 - '403': *558 + '400': *559 + '403': *560 '404': *6 '422': description: Unprocessable Entity @@ -73342,13 +73540,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 - *19 - *17 - - *559 - - *560 + - *561 + - *562 responses: '200': description: Response @@ -73356,7 +73554,7 @@ paths: application/json: schema: type: array - items: *551 + items: *553 examples: default: value: @@ -73395,7 +73593,7 @@ paths: end_column: 50 classifications: - source - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73429,25 +73627,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: - - *465 - - *466 - - *309 - - *310 + - *467 + - *468 + - *311 + - *312 - *19 - *17 - - *560 + - *562 - 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: *544 + schema: *546 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &563 + schema: &565 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -73468,23 +73666,23 @@ paths: application/json: schema: type: array - items: &564 + items: &566 type: object properties: - ref: *544 - commit_sha: &572 + ref: *546 + commit_sha: &574 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: *561 + analysis_key: *563 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *562 + category: *564 error: type: string example: error reading field xyz @@ -73508,8 +73706,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *563 - tool: *550 + sarif_id: *565 + tool: *552 deletable: type: boolean warning: @@ -73570,7 +73768,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73606,8 +73804,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: - - *465 - - *466 + - *467 + - *468 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73620,7 +73818,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: response: summary: application/json response @@ -73674,7 +73872,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *552 + '403': *554 '404': *6 '422': description: Response if analysis could not be processed @@ -73761,8 +73959,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: - - *465 - - *466 + - *467 + - *468 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73815,7 +74013,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': *558 + '403': *560 '404': *6 '503': *190 x-github: @@ -73837,8 +74035,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -73846,7 +74044,7 @@ paths: application/json: schema: type: array - items: &565 + items: &567 title: CodeQL Database description: A CodeQL database. type: object @@ -73957,7 +74155,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': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -73986,8 +74184,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: - - *465 - - *466 + - *467 + - *468 - name: language in: path description: The language of the CodeQL database. @@ -73999,7 +74197,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *567 examples: default: value: @@ -74031,9 +74229,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': &599 + '302': &601 description: Found - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -74055,8 +74253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *465 - - *466 + - *467 + - *468 - name: language in: path description: The language of the CodeQL database. @@ -74066,7 +74264,7 @@ paths: responses: '204': description: Response - '403': *558 + '403': *560 '404': *6 '503': *190 x-github: @@ -74094,8 +74292,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -74104,7 +74302,7 @@ paths: type: object additionalProperties: false properties: - language: &566 + language: &568 type: string description: The language targeted by the CodeQL query enum: @@ -74183,7 +74381,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &570 + schema: &572 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74193,7 +74391,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *566 + query_language: *568 query_pack_url: type: string description: The download url for the query pack. @@ -74240,7 +74438,7 @@ paths: items: type: object properties: - repository: &567 + repository: &569 title: Repository Identifier description: Repository Identifier type: object @@ -74276,7 +74474,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &571 + analysis_status: &573 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74308,7 +74506,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &568 + access_mismatch_repos: &570 type: object properties: repository_count: @@ -74322,7 +74520,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: *567 + items: *569 required: - repository_count - repositories @@ -74344,8 +74542,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *568 - over_limit_repos: *568 + no_codeql_db_repos: *570 + over_limit_repos: *570 required: - access_mismatch_repos - not_found_repos @@ -74361,7 +74559,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &569 + value: &571 summary: Default response value: id: 1 @@ -74513,10 +74711,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *569 + value: *571 repository_lists: summary: Response for a successful variant analysis submission - value: *569 + value: *571 '404': *6 '422': description: Unable to process variant analysis submission @@ -74544,8 +74742,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: - - *465 - - *466 + - *467 + - *468 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74557,9 +74755,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *572 examples: - default: *569 + default: *571 '404': *6 '503': *190 x-github: @@ -74582,7 +74780,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: - - *465 + - *467 - name: repo in: path description: The name of the controller repository. @@ -74617,7 +74815,7 @@ paths: type: object properties: repository: *115 - analysis_status: *571 + analysis_status: *573 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74742,8 +74940,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -74828,7 +75026,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *552 + '403': *554 '404': *6 '503': *190 x-github: @@ -74849,8 +75047,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -74917,7 +75115,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -74942,7 +75140,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *558 + '403': *560 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75013,8 +75211,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -75022,7 +75220,7 @@ paths: schema: type: object properties: - commit_sha: *572 + commit_sha: *574 ref: type: string description: |- @@ -75080,7 +75278,7 @@ paths: schema: type: object properties: - id: *563 + id: *565 url: type: string description: The REST API URL for checking the status of the upload. @@ -75094,7 +75292,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': *558 + '403': *560 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75117,8 +75315,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: - - *465 - - *466 + - *467 + - *468 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75164,7 +75362,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': *552 + '403': *554 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -75189,8 +75387,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -75271,8 +75469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *465 - - *466 + - *467 + - *468 - 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 @@ -75392,8 +75590,8 @@ paths: parameters: - *17 - *19 - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -75409,7 +75607,7 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: default: value: @@ -75707,8 +75905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -75771,17 +75969,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '400': *14 '401': *25 '403': *29 @@ -75810,8 +76008,8 @@ paths: parameters: - *17 - *19 - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -75875,8 +76073,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: - - *465 - - *466 + - *467 + - *468 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75911,14 +76109,14 @@ paths: type: integer machines: type: array - items: &818 + items: &820 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *574 - required: *575 + properties: *576 + required: *577 examples: - default: &819 + default: &821 value: total_count: 2 machines: @@ -75958,8 +76156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *465 - - *466 + - *467 + - *468 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76043,8 +76241,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: - - *465 - - *466 + - *467 + - *468 - 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 @@ -76110,8 +76308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -76129,7 +76327,7 @@ paths: type: integer secrets: type: array - items: &579 + items: &581 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76149,7 +76347,7 @@ paths: - created_at - updated_at examples: - default: *576 + default: *578 headers: Link: *43 x-github: @@ -76172,16 +76370,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76201,17 +76399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '200': description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76231,9 +76429,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: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 requestBody: required: true content: @@ -76261,7 +76459,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -76285,9 +76483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '204': description: Response @@ -76315,8 +76513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *465 - - *466 + - *467 + - *468 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76358,7 +76556,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &581 + properties: &583 login: type: string example: octocat @@ -76451,7 +76649,7 @@ paths: user_view_type: type: string example: public - required: &582 + required: &584 - avatar_url - events_url - followers_url @@ -76525,8 +76723,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: - - *465 - - *466 + - *467 + - *468 - *138 responses: '204': @@ -76573,8 +76771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *465 - - *466 + - *467 + - *468 - *138 requestBody: required: false @@ -76601,7 +76799,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &657 + schema: &659 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76612,7 +76810,7 @@ paths: example: 42 type: integer format: int64 - repository: *278 + repository: *280 invitee: title: Simple User description: A GitHub user. @@ -76790,7 +76988,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *253 + schema: *255 '403': *29 x-github: triggersNotification: true @@ -76830,8 +77028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *465 - - *466 + - *467 + - *468 - *138 responses: '204': @@ -76863,8 +77061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *465 - - *466 + - *467 + - *468 - *138 responses: '200': @@ -76885,8 +77083,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *581 - required: *582 + properties: *583 + required: *584 nullable: true required: - permission @@ -76941,8 +77139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -76952,7 +77150,7 @@ paths: application/json: schema: type: array - items: &583 + items: &585 title: Commit Comment description: Commit Comment type: object @@ -76993,8 +77191,8 @@ paths: updated_at: type: string format: date-time - author_association: *210 - reactions: *211 + author_association: *213 + reactions: *214 required: - url - html_url @@ -77010,7 +77208,7 @@ paths: - created_at - updated_at examples: - default: &586 + default: &588 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77069,17 +77267,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '200': description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: &587 + default: &589 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77136,9 +77334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -77160,7 +77358,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: default: value: @@ -77211,9 +77409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '204': description: Response @@ -77234,9 +77432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -77262,9 +77460,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -77285,9 +77483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -77319,16 +77517,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -77350,10 +77548,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *465 - - *466 - - *222 - - *457 + - *467 + - *468 + - *225 + - *459 responses: '204': description: Response @@ -77402,8 +77600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *465 - - *466 + - *467 + - *468 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77459,9 +77657,9 @@ paths: application/json: schema: type: array - items: *584 + items: *586 examples: - default: &709 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77555,9 +77753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *465 - - *466 - - &585 + - *467 + - *468 + - &587 name: commit_sha description: The SHA of the commit. in: path @@ -77629,9 +77827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 - *17 - *19 responses: @@ -77641,9 +77839,9 @@ paths: application/json: schema: type: array - items: *583 + items: *585 examples: - default: *586 + default: *588 headers: Link: *43 x-github: @@ -77671,9 +77869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 requestBody: required: true content: @@ -77708,9 +77906,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: *587 + default: *589 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77738,9 +77936,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: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 - *17 - *19 responses: @@ -77750,9 +77948,9 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: - default: &701 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78289,11 +78487,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *465 - - *466 + - *467 + - *468 - *19 - *17 - - &589 + - &591 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)" @@ -78308,9 +78506,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: - default: &686 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78423,11 +78621,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: - - *465 - - *466 - - *589 - - *590 + - *467 + - *468 - *591 + - *592 + - *593 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78461,9 +78659,9 @@ paths: type: integer check_runs: type: array - items: *536 + items: *538 examples: - default: *592 + default: *594 headers: Link: *43 x-github: @@ -78488,9 +78686,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: - - *465 - - *466 - - *589 + - *467 + - *468 + - *591 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78498,7 +78696,7 @@ paths: schema: type: integer example: 1 - - *590 + - *592 - *17 - *19 responses: @@ -78516,7 +78714,7 @@ paths: type: integer check_suites: type: array - items: *541 + items: *543 examples: default: value: @@ -78716,9 +78914,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: - - *465 - - *466 - - *589 + - *467 + - *468 + - *591 - *17 - *19 responses: @@ -78785,7 +78983,7 @@ paths: type: string total_count: type: integer - repository: *278 + repository: *280 commit_url: type: string format: uri @@ -78916,9 +79114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *465 - - *466 - - *589 + - *467 + - *468 + - *591 - *17 - *19 responses: @@ -78928,7 +79126,7 @@ paths: application/json: schema: type: array - items: &763 + items: &765 title: Status description: The status of a commit. type: object @@ -79009,7 +79207,7 @@ paths: site_admin: false headers: Link: *43 - '301': *479 + '301': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79037,8 +79235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -79067,20 +79265,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *593 - required: *594 + properties: *595 + required: *596 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &595 + properties: &597 url: type: string format: uri html_url: type: string format: uri - required: &596 + required: &598 - url - html_url nullable: true @@ -79088,32 +79286,32 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true contributing: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true readme: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true issue_template: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true pull_request_template: title: Community Health File type: object - properties: *595 - required: *596 + properties: *597 + required: *598 nullable: true required: - code_of_conduct @@ -79240,8 +79438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *465 - - *466 + - *467 + - *468 - *19 - *17 - name: basehead @@ -79284,8 +79482,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *584 - merge_base_commit: *584 + base_commit: *586 + merge_base_commit: *586 status: type: string enum: @@ -79305,10 +79503,10 @@ paths: example: 6 commits: type: array - items: *584 + items: *586 files: type: array - items: *597 + items: *599 required: - url - html_url @@ -79594,8 +79792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *465 - - *466 + - *467 + - *468 - name: path description: path parameter in: path @@ -79738,7 +79936,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &598 + response-if-content-is-a-file: &600 summary: Response if content is a file value: type: file @@ -79870,7 +80068,7 @@ paths: - size - type - url - - &714 + - &716 title: Content File description: Content File type: object @@ -80071,7 +80269,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *598 + response-if-content-is-a-file: *600 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80140,7 +80338,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *599 + '302': *601 '304': *37 x-github: githubCloudOnly: false @@ -80163,8 +80361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *465 - - *466 + - *467 + - *468 - name: path description: path parameter in: path @@ -80257,7 +80455,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &602 title: File Commit description: File Commit type: object @@ -80409,7 +80607,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *602 examples: example-for-creating-a-file: value: @@ -80463,7 +80661,7 @@ paths: schema: oneOf: - *3 - - &639 + - &641 description: Repository rule violation was detected type: object properties: @@ -80484,7 +80682,7 @@ paths: items: type: object properties: - placeholder_id: &755 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80516,8 +80714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *465 - - *466 + - *467 + - *468 - name: path description: path parameter in: path @@ -80578,7 +80776,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *602 examples: default: value: @@ -80633,8 +80831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *465 - - *466 + - *467 + - *468 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80757,22 +80955,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *465 - - *466 - - *325 - - *326 + - *467 + - *468 - *327 - *328 + - *329 + - *330 - 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 - - *329 - - *601 - - *330 - *331 + - *603 + - *332 + - *333 - *106 - name: per_page description: The number of results per page (max 100). For more information, @@ -80791,7 +80989,7 @@ paths: application/json: schema: type: array - items: &604 + items: &606 type: object description: A Dependabot alert. properties: @@ -80837,7 +81035,7 @@ paths: - unknown - direct - transitive - security_advisory: *602 + security_advisory: *604 security_vulnerability: *127 url: *128 html_url: *129 @@ -80868,7 +81066,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *603 + auto_dismissed_at: *605 required: - number - state @@ -81098,9 +81296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *465 - - *466 - - &605 + - *467 + - *468 + - &607 name: alert_number in: path description: |- @@ -81115,7 +81313,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -81228,9 +81426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *465 - - *466 - - *605 + - *467 + - *468 + - *607 requestBody: required: true content: @@ -81275,7 +81473,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -81404,8 +81602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -81423,7 +81621,7 @@ paths: type: integer secrets: type: array - items: &608 + items: &610 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81476,16 +81674,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81505,15 +81703,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '200': description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -81539,9 +81737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 requestBody: required: true content: @@ -81569,7 +81767,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -81593,9 +81791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *465 - - *466 - - *288 + - *467 + - *468 + - *290 responses: '204': description: Response @@ -81617,8 +81815,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: - - *465 - - *466 + - *467 + - *468 - 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 @@ -81778,8 +81976,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -82018,8 +82216,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -82094,7 +82292,7 @@ paths: - version - url additionalProperties: false - metadata: &609 + metadata: &611 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82127,7 +82325,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *609 + metadata: *611 resolved: type: object description: A collection of resolved package dependencies. @@ -82140,7 +82338,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *609 + metadata: *611 relationship: type: string description: A notation of whether a dependency is requested @@ -82269,8 +82467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *465 - - *466 + - *467 + - *468 - name: sha description: The SHA recorded at creation time. in: query @@ -82310,9 +82508,9 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: - default: *611 + default: *613 headers: Link: *43 x-github: @@ -82378,8 +82576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -82460,7 +82658,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: simple-example: summary: Simple example @@ -82533,9 +82731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *465 - - *466 - - &612 + - *467 + - *468 + - &614 name: deployment_id description: deployment_id parameter in: path @@ -82547,7 +82745,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: default: value: @@ -82612,9 +82810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 responses: '204': description: Response @@ -82636,9 +82834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 - *17 - *19 responses: @@ -82648,7 +82846,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 title: Deployment Status description: The status of a deployment. type: object @@ -82739,8 +82937,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -82809,9 +83007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 requestBody: required: true content: @@ -82886,9 +83084,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82944,9 +83142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *465 - - *466 - - *612 + - *467 + - *468 + - *614 - name: status_id in: path required: true @@ -82957,9 +83155,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -82986,12 +83184,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 - - *615 - - *616 + - *467 + - *468 - *617 - *618 + - *619 + - *620 - *17 - *19 responses: @@ -83001,9 +83199,9 @@ paths: application/json: schema: type: array - items: *619 + items: *621 examples: - default: *620 + default: *622 '404': *6 '403': *29 '500': *40 @@ -83027,8 +83225,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83040,7 +83238,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -83096,8 +83294,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83156,12 +83354,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - *99 - *100 - *101 - - *621 + - *623 - *17 - *19 responses: @@ -83171,9 +83369,9 @@ paths: application/json: schema: type: array - items: *622 + items: *624 examples: - default: *623 + default: *625 '404': *6 '403': *29 '500': *40 @@ -83198,8 +83396,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83211,7 +83409,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *622 + schema: *624 examples: default: value: @@ -83269,8 +83467,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: alert_number in: path required: true @@ -83339,8 +83537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -83397,8 +83595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -83415,7 +83613,7 @@ paths: type: integer environments: type: array - items: &625 + items: &627 title: Environment description: Details of a deployment environment type: object @@ -83467,7 +83665,7 @@ paths: type: type: string example: wait_timer - wait_timer: &627 + wait_timer: &629 type: integer example: 30 description: The amount of time to delay a job after @@ -83504,11 +83702,11 @@ paths: items: type: object properties: - type: *624 + type: *626 reviewer: anyOf: - *4 - - *305 + - *307 required: - id - node_id @@ -83528,7 +83726,7 @@ paths: - id - node_id - type - deployment_branch_policy: &628 + deployment_branch_policy: &630 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -83644,9 +83842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *465 - - *466 - - &626 + - *467 + - *468 + - &628 name: environment_name in: path required: true @@ -83659,9 +83857,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: &629 + default: &631 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83745,9 +83943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 requestBody: required: false content: @@ -83756,7 +83954,7 @@ paths: type: object nullable: true properties: - wait_timer: *627 + wait_timer: *629 prevent_self_review: type: boolean example: false @@ -83773,13 +83971,13 @@ paths: items: type: object properties: - type: *624 + type: *626 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *628 + deployment_branch_policy: *630 additionalProperties: false examples: default: @@ -83799,9 +83997,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *629 + default: *631 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83825,9 +84023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 responses: '204': description: Default response @@ -83852,9 +84050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 - *17 - *19 responses: @@ -83872,7 +84070,7 @@ paths: example: 2 branch_policies: type: array - items: &630 + items: &632 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83929,9 +84127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 requestBody: required: true content: @@ -83977,9 +84175,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - example-wildcard: &631 + example-wildcard: &633 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84021,10 +84219,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 - - &632 + - *467 + - *468 + - *628 + - &634 name: branch_policy_id in: path required: true @@ -84036,9 +84234,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *631 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84057,10 +84255,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 - - *632 + - *467 + - *468 + - *628 + - *634 requestBody: required: true content: @@ -84088,9 +84286,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *631 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84109,10 +84307,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *465 - - *466 - - *626 - - *632 + - *467 + - *468 + - *628 + - *634 responses: '204': description: Response @@ -84137,9 +84335,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: - - *626 - - *466 - - *465 + - *628 + - *468 + - *467 responses: '200': description: List of deployment protection rules @@ -84155,7 +84353,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &633 + items: &635 title: Deployment protection rule description: Deployment protection rule type: object @@ -84174,7 +84372,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &634 + app: &636 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84273,9 +84471,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: - - *626 - - *466 - - *465 + - *628 + - *468 + - *467 requestBody: content: application/json: @@ -84296,9 +84494,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *633 + schema: *635 examples: - default: &635 + default: &637 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84333,9 +84531,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: - - *626 - - *466 - - *465 + - *628 + - *468 + - *467 - *19 - *17 responses: @@ -84354,7 +84552,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *634 + items: *636 examples: default: value: @@ -84389,10 +84587,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: - - *465 - - *466 - - *626 - - &636 + - *467 + - *468 + - *628 + - &638 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84404,9 +84602,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: - default: *635 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84427,10 +84625,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: - - *626 - - *466 - - *465 - - *636 + - *628 + - *468 + - *467 + - *638 responses: '204': description: Response @@ -84456,9 +84654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 - *17 - *19 responses: @@ -84476,9 +84674,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *504 examples: - default: *503 + default: *505 headers: Link: *43 x-github: @@ -84503,17 +84701,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: *505 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84535,18 +84733,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *465 - - *466 - - *626 - - *288 + - *467 + - *468 + - *628 + - *290 responses: '200': description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84568,10 +84766,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *465 - - *466 - - *626 - - *288 + - *467 + - *468 + - *628 + - *290 requestBody: required: true content: @@ -84602,7 +84800,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -84628,10 +84826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *465 - - *466 - - *626 - - *288 + - *467 + - *468 + - *628 + - *290 responses: '204': description: Default response @@ -84656,10 +84854,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *465 - - *466 - - *626 - - *489 + - *467 + - *468 + - *628 + - *491 - *19 responses: '200': @@ -84676,9 +84874,9 @@ paths: type: integer variables: type: array - items: *506 + items: *508 examples: - default: *507 + default: *509 headers: Link: *43 x-github: @@ -84701,9 +84899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *465 - - *466 - - *626 + - *467 + - *468 + - *628 requestBody: required: true content: @@ -84730,7 +84928,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -84755,18 +84953,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *465 - - *466 - - *626 - - *291 + - *467 + - *468 + - *628 + - *293 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *638 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84787,10 +84985,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *465 - - *466 - - *291 - - *626 + - *467 + - *468 + - *293 + - *628 requestBody: required: true content: @@ -84832,10 +85030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *465 - - *466 - - *291 - - *626 + - *467 + - *468 + - *293 + - *628 responses: '204': description: Response @@ -84857,8 +85055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -84868,7 +85066,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -84926,8 +85124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *465 - - *466 + - *467 + - *468 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84949,7 +85147,7 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: default: value: @@ -85086,8 +85284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -85119,9 +85317,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 '400': *14 '422': *15 '403': *29 @@ -85142,8 +85340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -85202,8 +85400,8 @@ paths: application/json: schema: oneOf: - - *253 - - *639 + - *255 + - *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85228,8 +85426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *465 - - *466 + - *467 + - *468 - name: file_sha in: path required: true @@ -85328,8 +85526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -85438,7 +85636,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &642 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85652,15 +85850,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *465 - - *466 - - *585 + - *467 + - *468 + - *587 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: default: value: @@ -85716,9 +85914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *465 - - *466 - - &641 + - *467 + - *468 + - &643 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. @@ -85735,7 +85933,7 @@ paths: application/json: schema: type: array - items: &642 + items: &644 title: Git Reference description: Git references within a repository type: object @@ -85810,17 +86008,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *465 - - *466 - - *641 + - *467 + - *468 + - *643 responses: '200': description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: &643 + default: &645 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85849,8 +86047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -85879,9 +86077,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: *643 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85907,9 +86105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *465 - - *466 - - *641 + - *467 + - *468 + - *643 requestBody: required: true content: @@ -85938,9 +86136,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: *643 + default: *645 '422': *15 '409': *114 x-github: @@ -85958,9 +86156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *465 - - *466 - - *641 + - *467 + - *468 + - *643 responses: '204': description: Response @@ -86015,8 +86213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -86083,7 +86281,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &647 title: Git Tag description: Metadata for a Git tag type: object @@ -86134,7 +86332,7 @@ paths: - sha - type - url - verification: *644 + verification: *646 required: - sha - url @@ -86144,7 +86342,7 @@ paths: - tag - message examples: - default: &646 + default: &648 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86217,8 +86415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *465 - - *466 + - *467 + - *468 - name: tag_sha in: path required: true @@ -86229,9 +86427,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: *646 + default: *648 '404': *6 '409': *114 x-github: @@ -86255,8 +86453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -86329,7 +86527,7 @@ paths: description: Response content: application/json: - schema: &647 + schema: &649 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86425,8 +86623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *465 - - *466 + - *467 + - *468 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86449,7 +86647,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *649 examples: default-response: summary: Default response @@ -86508,8 +86706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -86519,7 +86717,7 @@ paths: application/json: schema: type: array - items: &648 + items: &650 title: Webhook description: Webhooks for repositories. type: object @@ -86573,7 +86771,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &899 + last_response: &901 title: Hook Response type: object properties: @@ -86647,8 +86845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -86700,9 +86898,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: &649 + default: &651 value: type: Repository id: 12345678 @@ -86750,17 +86948,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '200': description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '404': *6 x-github: githubCloudOnly: false @@ -86780,9 +86978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 requestBody: required: true content: @@ -86827,9 +87025,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '422': *15 '404': *6 x-github: @@ -86850,9 +87048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '204': description: Response @@ -86876,9 +87074,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '200': description: Response @@ -86905,9 +87103,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 requestBody: required: false content: @@ -86951,11 +87149,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 - *17 - - *340 + - *342 responses: '200': description: Response @@ -86963,9 +87161,9 @@ paths: application/json: schema: type: array - items: *341 + items: *343 examples: - default: *342 + default: *344 '400': *14 '422': *15 x-github: @@ -86984,18 +87182,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - default: *344 + default: *346 '400': *14 '422': *15 x-github: @@ -87014,9 +87212,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: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 - *16 responses: '202': *39 @@ -87039,9 +87237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '204': description: Response @@ -87066,9 +87264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *465 - - *466 - - *339 + - *467 + - *468 + - *341 responses: '204': description: Response @@ -87091,8 +87289,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response if immutable releases are enabled @@ -87138,8 +87336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '409': *114 @@ -87159,8 +87357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '409': *114 @@ -87217,14 +87415,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: &650 + schema: &652 title: Import description: A repository import from an external source. type: object @@ -87323,7 +87521,7 @@ paths: - html_url - authors_url examples: - default: &653 + default: &655 value: vcs: subversion use_lfs: true @@ -87339,7 +87537,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': &651 + '503': &653 description: Unavailable due to service under maintenance. content: application/json: @@ -87368,8 +87566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -87417,7 +87615,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *652 examples: default: value: @@ -87442,7 +87640,7 @@ paths: type: string '422': *15 '404': *6 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87470,8 +87668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -87520,7 +87718,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *652 examples: example-1: summary: Example 1 @@ -87568,7 +87766,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': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87591,12 +87789,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87622,9 +87820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *465 - - *466 - - &840 + - *467 + - *468 + - &842 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87638,7 +87836,7 @@ paths: application/json: schema: type: array - items: &652 + items: &654 title: Porter Author description: Porter Author type: object @@ -87692,7 +87890,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': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87717,8 +87915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *465 - - *466 + - *467 + - *468 - name: author_id in: path required: true @@ -87748,7 +87946,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *654 examples: default: value: @@ -87761,7 +87959,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87785,8 +87983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -87827,7 +88025,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87855,8 +88053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -87883,11 +88081,11 @@ paths: description: Response content: application/json: - schema: *650 + schema: *652 examples: - default: *653 + default: *655 '422': *15 - '503': *651 + '503': *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87910,8 +88108,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -87919,8 +88117,8 @@ paths: application/json: schema: *22 examples: - default: *654 - '301': *479 + default: *656 + '301': *481 '404': *6 x-github: githubCloudOnly: false @@ -87940,8 +88138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -87949,12 +88147,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: &656 + default: &658 value: limit: collaborators_only origin: repository @@ -87979,13 +88177,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: application/json: - schema: *655 + schema: *657 examples: default: summary: Example request body @@ -87997,9 +88195,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *656 + default: *658 '409': description: Response x-github: @@ -88021,8 +88219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -88045,8 +88243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -88056,9 +88254,9 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: &833 + default: &835 value: - id: 1 repository: @@ -88189,9 +88387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *465 - - *466 - - *361 + - *467 + - *468 + - *363 requestBody: required: false content: @@ -88220,7 +88418,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: default: value: @@ -88351,9 +88549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *465 - - *466 - - *361 + - *467 + - *468 + - *363 responses: '204': description: Response @@ -88384,8 +88582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *465 - - *466 + - *467 + - *468 - 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 @@ -88433,7 +88631,7 @@ paths: required: false schema: type: string - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -88446,7 +88644,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -88456,9 +88654,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &666 + default: &668 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88606,7 +88804,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *479 + '301': *481 '422': *15 '404': *6 x-github: @@ -88635,8 +88833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -88718,9 +88916,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: &663 + default: &665 value: id: 1 node_id: MDU6SXNzdWUx @@ -88876,7 +89074,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *476 + '410': *478 x-github: triggersNotification: true githubCloudOnly: false @@ -88904,9 +89102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *465 - - *466 - - *233 + - *467 + - *468 + - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88916,7 +89114,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -88926,9 +89124,9 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: &665 + default: &667 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88986,17 +89184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '200': description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: &659 + default: &661 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89050,9 +89248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -89074,9 +89272,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 '422': *15 x-github: githubCloudOnly: false @@ -89094,9 +89292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '204': description: Response @@ -89116,9 +89314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -89144,9 +89342,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -89167,9 +89365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -89201,16 +89399,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -89232,10 +89430,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *465 - - *466 - - *222 - - *457 + - *467 + - *468 + - *225 + - *459 responses: '204': description: Response @@ -89255,8 +89453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -89266,7 +89464,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: Issue Event description: Issue Event type: object @@ -89309,8 +89507,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *660 - required: *661 + properties: *662 + required: *663 nullable: true label: title: Issue Event Label @@ -89354,7 +89552,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *305 + requested_team: *307 dismissed_review: title: Issue Event Dismissed Review type: object @@ -89419,7 +89617,7 @@ paths: required: - from - to - author_association: *210 + author_association: *213 lock_reason: type: string nullable: true @@ -89432,8 +89630,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -89617,8 +89815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *465 - - *466 + - *467 + - *468 - name: event_id in: path required: true @@ -89629,7 +89827,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: default: value: @@ -89822,7 +90020,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *476 + '410': *478 '403': *29 x-github: githubCloudOnly: false @@ -89856,9 +90054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *465 - - *466 - - &664 + - *467 + - *468 + - &666 name: issue_number description: The number that identifies the issue. in: path @@ -89870,12 +90068,12 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 - '301': *479 + default: *665 + '301': *481 '404': *6 - '410': *476 + '410': *478 '304': *37 x-github: githubCloudOnly: false @@ -89900,9 +90098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -90006,15 +90204,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 '422': *15 '503': *190 '403': *29 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90032,9 +90230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -90060,9 +90258,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90078,9 +90276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: content: application/json: @@ -90105,9 +90303,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90129,9 +90327,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - name: assignee in: path required: true @@ -90171,10 +90369,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *465 - - *466 - - *664 - - *213 + - *467 + - *468 + - *666 + - *216 - *17 - *19 responses: @@ -90184,13 +90382,13 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: *665 + default: *667 headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90219,9 +90417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -90243,16 +90441,16 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *476 + '410': *478 '422': *15 '404': *6 x-github: @@ -90280,9 +90478,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -90292,14 +90490,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *666 + default: *668 headers: Link: *43 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90327,9 +90525,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -90351,17 +90549,17 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *479 + '301': *481 '403': *29 - '410': *476 + '410': *478 '422': *15 '404': *6 x-github: @@ -90392,9 +90590,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90406,15 +90604,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 - '301': *479 + default: *665 + '301': *481 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *476 + '410': *478 x-github: triggersNotification: true githubCloudOnly: false @@ -90440,9 +90638,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: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -90452,14 +90650,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *666 + default: *668 headers: Link: *43 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90476,9 +90674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -90492,7 +90690,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &669 + - &671 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90523,8 +90721,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90546,7 +90744,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &672 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90577,8 +90775,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90666,8 +90864,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 assigner: *4 required: @@ -90682,7 +90880,7 @@ paths: - performed_via_github_app - assignee - assigner - - &671 + - &673 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90713,8 +90911,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90733,7 +90931,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &674 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90764,8 +90962,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90784,7 +90982,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &675 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90815,8 +91013,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 rename: type: object properties: @@ -90838,7 +91036,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &676 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90869,10 +91067,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *305 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90885,7 +91083,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &677 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90916,10 +91114,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *305 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90932,7 +91130,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &678 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90963,8 +91161,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 dismissed_review: type: object properties: @@ -90992,7 +91190,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &679 title: Locked Issue Event description: Locked Issue Event type: object @@ -91023,8 +91221,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 lock_reason: type: string example: '"off-topic"' @@ -91040,7 +91238,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &680 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91071,8 +91269,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91106,7 +91304,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &681 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91137,8 +91335,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91172,7 +91370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &682 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91203,8 +91401,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91238,7 +91436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &683 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91329,7 +91527,7 @@ paths: color: red headers: Link: *43 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91346,9 +91544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -91358,7 +91556,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -91405,7 +91603,7 @@ paths: - color - default examples: - default: &668 + default: &670 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91423,9 +91621,9 @@ paths: default: false headers: Link: *43 - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91442,9 +91640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -91503,12 +91701,12 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 - '301': *479 + default: *670 + '301': *481 '404': *6 - '410': *476 + '410': *478 '422': *15 x-github: githubCloudOnly: false @@ -91525,9 +91723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -91587,12 +91785,12 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 - '301': *479 + default: *670 + '301': *481 '404': *6 - '410': *476 + '410': *478 '422': *15 x-github: githubCloudOnly: false @@ -91609,15 +91807,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 responses: '204': description: Response - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91636,9 +91834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - name: name in: path required: true @@ -91651,7 +91849,7 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: default: value: @@ -91662,9 +91860,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *479 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91684,9 +91882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: false content: @@ -91714,7 +91912,7 @@ paths: '204': description: Response '403': *29 - '410': *476 + '410': *478 '404': *6 '422': *15 x-github: @@ -91732,9 +91930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 responses: '204': description: Response @@ -91764,20 +91962,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 responses: '200': description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 - '301': *479 + default: *665 + '301': *481 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91794,9 +91992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - 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. @@ -91822,13 +92020,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91846,9 +92044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -91880,16 +92078,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -91911,10 +92109,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *465 - - *466 - - *664 - - *457 + - *467 + - *468 + - *666 + - *459 responses: '204': description: Response @@ -91943,9 +92141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -91967,9 +92165,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92002,9 +92200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -92014,13 +92212,13 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *666 + default: *668 headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92048,9 +92246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -92077,16 +92275,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *476 + '410': *478 '422': *15 '404': *6 x-github: @@ -92106,9 +92304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 requestBody: required: true content: @@ -92139,9 +92337,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *663 + default: *665 '403': *29 '404': *6 '422': *7 @@ -92163,9 +92361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *465 - - *466 - - *664 + - *467 + - *468 + - *666 - *17 - *19 responses: @@ -92180,8 +92378,6 @@ paths: description: Timeline Event type: object anyOf: - - *669 - - *670 - *671 - *672 - *673 @@ -92193,6 +92389,8 @@ paths: - *679 - *680 - *681 + - *682 + - *683 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92235,7 +92433,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -92245,9 +92443,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - event - actor @@ -92278,7 +92476,7 @@ paths: properties: type: type: string - issue: *223 + issue: *226 required: - event - created_at @@ -92478,7 +92676,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - event - id @@ -92501,7 +92699,7 @@ paths: type: string comments: type: array - items: &703 + items: &705 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92590,7 +92788,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: @@ -92674,7 +92872,7 @@ paths: enum: - line - file - reactions: *211 + reactions: *214 body_html: type: string example: '"

comment body

"' @@ -92710,7 +92908,7 @@ paths: type: string comments: type: array - items: *583 + items: *585 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92741,8 +92939,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92785,8 +92983,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92829,8 +93027,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 state_reason: type: string nullable: true @@ -92999,7 +93197,7 @@ paths: headers: Link: *43 '404': *6 - '410': *476 + '410': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93016,8 +93214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -93027,7 +93225,7 @@ paths: application/json: schema: type: array - items: &682 + items: &684 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93093,8 +93291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93130,9 +93328,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: &683 + default: &685 value: id: 1 key: ssh-rsa AAA... @@ -93166,9 +93364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *465 - - *466 - - &684 + - *467 + - *468 + - &686 name: key_id description: The unique identifier of the key. in: path @@ -93180,9 +93378,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *684 examples: - default: *683 + default: *685 '404': *6 x-github: githubCloudOnly: false @@ -93200,9 +93398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *465 - - *466 - - *684 + - *467 + - *468 + - *686 responses: '204': description: Response @@ -93222,8 +93420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -93233,9 +93431,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *43 '404': *6 @@ -93256,8 +93454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93293,9 +93491,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: &685 + default: &687 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93327,8 +93525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *465 - - *466 + - *467 + - *468 - name: name in: path required: true @@ -93339,9 +93537,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *685 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -93358,8 +93556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *465 - - *466 + - *467 + - *468 - name: name in: path required: true @@ -93398,7 +93596,7 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: default: value: @@ -93424,8 +93622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *465 - - *466 + - *467 + - *468 - name: name in: path required: true @@ -93451,8 +93649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -93488,8 +93686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '202': *39 '403': @@ -93517,8 +93715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -93544,9 +93742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *465 - - *466 - - *559 + - *467 + - *468 + - *561 responses: '200': description: Response @@ -93608,8 +93806,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true required: - _links @@ -93691,8 +93889,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93757,8 +93955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93792,9 +93990,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *584 + schema: *586 examples: - default: *686 + default: *688 '204': description: Response when already merged '404': @@ -93819,8 +94017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *465 - - *466 + - *467 + - *468 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93861,12 +94059,12 @@ paths: application/json: schema: type: array - items: &687 + items: &689 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 examples: default: value: @@ -93922,8 +94120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -93963,9 +94161,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: &688 + default: &690 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94024,9 +94222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *465 - - *466 - - &689 + - *467 + - *468 + - &691 name: milestone_number description: The number that identifies the milestone. in: path @@ -94038,9 +94236,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *688 + default: *690 '404': *6 x-github: githubCloudOnly: false @@ -94057,9 +94255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *465 - - *466 - - *689 + - *467 + - *468 + - *691 requestBody: required: false content: @@ -94097,9 +94295,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *688 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94115,9 +94313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *465 - - *466 - - *689 + - *467 + - *468 + - *691 responses: '204': description: Response @@ -94138,9 +94336,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: - - *465 - - *466 - - *689 + - *467 + - *468 + - *691 - *17 - *19 responses: @@ -94150,9 +94348,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *43 x-github: @@ -94171,12 +94369,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: - - *465 - - *466 - - *690 - - *691 - - *213 + - *467 + - *468 - *692 + - *693 + - *216 + - *694 - *17 - *19 responses: @@ -94186,9 +94384,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *693 + default: *695 headers: Link: *43 x-github: @@ -94212,8 +94410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -94271,14 +94469,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: &694 + schema: &696 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94403,7 +94601,7 @@ paths: - custom_404 - public examples: - default: &695 + default: &697 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94444,8 +94642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -94499,9 +94697,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 '422': *15 '409': *114 x-github: @@ -94524,8 +94722,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -94632,8 +94830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -94659,8 +94857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -94670,7 +94868,7 @@ paths: application/json: schema: type: array - items: &696 + items: &698 title: Page Build description: Page Build type: object @@ -94764,8 +94962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *465 - - *466 + - *467 + - *468 responses: '201': description: Response @@ -94810,16 +95008,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: &697 + default: &699 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94867,8 +95065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *465 - - *466 + - *467 + - *468 - name: build_id in: path required: true @@ -94879,9 +95077,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *697 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94901,8 +95099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95007,9 +95205,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: - - *465 - - *466 - - &698 + - *467 + - *468 + - &700 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95067,9 +95265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *465 - - *466 - - *698 + - *467 + - *468 + - *700 responses: '204': *150 '404': *6 @@ -95096,8 +95294,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -95328,7 +95526,7 @@ paths: description: Empty response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -95355,8 +95553,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Private vulnerability reporting status @@ -95393,8 +95591,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: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '422': *14 @@ -95415,8 +95613,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: - - *465 - - *466 + - *467 + - *468 responses: '204': *150 '422': *14 @@ -95439,8 +95637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *465 - - *466 + - *467 + - *468 - name: state description: Indicates the state of the projects to return. in: query @@ -95461,7 +95659,7 @@ paths: application/json: schema: type: array - items: *394 + items: *396 examples: default: value: @@ -95501,7 +95699,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *476 + '410': *478 '422': *7 x-github: githubCloudOnly: false @@ -95524,8 +95722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95551,13 +95749,13 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *475 + default: *477 '401': *25 '403': *29 '404': *6 - '410': *476 + '410': *478 '422': *7 x-github: githubCloudOnly: false @@ -95580,8 +95778,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -95591,7 +95789,7 @@ paths: type: array items: *151 examples: - default: *699 + default: *701 '403': *29 '404': *6 x-github: @@ -95613,8 +95811,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95630,7 +95828,7 @@ paths: required: - properties examples: - default: *700 + default: *702 responses: '204': description: No Content when custom property values are successfully created @@ -95668,8 +95866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *465 - - *466 + - *467 + - *468 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95729,9 +95927,9 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: - default: *701 + default: *703 headers: Link: *43 '304': *37 @@ -95763,8 +95961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -95829,7 +96027,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &707 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95940,8 +96138,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 nullable: true active_lock_reason: type: string @@ -95986,7 +96184,7 @@ paths: nullable: true requested_teams: type: array - items: *432 + items: *434 nullable: true head: type: object @@ -96025,14 +96223,14 @@ paths: _links: type: object properties: - comments: *402 - commits: *402 - statuses: *402 - html: *402 - issue: *402 - review_comments: *402 - review_comment: *402 - self: *402 + comments: *404 + commits: *404 + statuses: *404 + html: *404 + issue: *404 + review_comments: *404 + review_comment: *404 + self: *404 required: - comments - commits @@ -96042,8 +96240,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: *702 + author_association: *213 + auto_merge: *704 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96135,7 +96333,7 @@ paths: - merged_by - review_comments examples: - default: &706 + default: &708 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96662,8 +96860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *465 - - *466 + - *467 + - *468 - name: sort in: query required: false @@ -96682,7 +96880,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -96692,9 +96890,9 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: &708 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96771,17 +96969,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: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '200': description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: &704 + default: &706 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96856,9 +97054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -96880,9 +97078,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: *704 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96898,9 +97096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 responses: '204': description: Response @@ -96921,9 +97119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -96949,9 +97147,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -96972,9 +97170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *465 - - *466 - - *222 + - *467 + - *468 + - *225 requestBody: required: true content: @@ -97006,16 +97204,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -97037,10 +97235,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *465 - - *466 - - *222 - - *457 + - *467 + - *468 + - *225 + - *459 responses: '204': description: Response @@ -97083,9 +97281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *465 - - *466 - - &707 + - *467 + - *468 + - &709 name: pull_number description: The number that identifies the pull request. in: path @@ -97098,9 +97296,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *705 + schema: *707 examples: - default: *706 + default: *708 '304': *37 '404': *6 '406': @@ -97135,9 +97333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -97179,9 +97377,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *707 examples: - default: *706 + default: *708 '422': *15 '403': *29 x-github: @@ -97203,9 +97401,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: true content: @@ -97265,17 +97463,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '401': *25 '403': *29 '404': *6 @@ -97305,10 +97503,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *465 - - *466 - - *707 - - *233 + - *467 + - *468 + - *709 + - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -97318,7 +97516,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -97328,9 +97526,9 @@ paths: application/json: schema: type: array - items: *703 + items: *705 examples: - default: *708 + default: *710 headers: Link: *43 x-github: @@ -97363,9 +97561,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: true content: @@ -97470,7 +97668,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: example-for-a-multi-line-comment: value: @@ -97558,10 +97756,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *465 - - *466 - - *707 - - *222 + - *467 + - *468 + - *709 + - *225 requestBody: required: true content: @@ -97583,7 +97781,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: default: value: @@ -97669,9 +97867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 - *17 - *19 responses: @@ -97681,9 +97879,9 @@ paths: application/json: schema: type: array - items: *584 + items: *586 examples: - default: *709 + default: *711 headers: Link: *43 x-github: @@ -97713,9 +97911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 - *17 - *19 responses: @@ -97725,7 +97923,7 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: default: value: @@ -97763,9 +97961,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 responses: '204': description: Response if pull request has been merged @@ -97788,9 +97986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -97901,9 +98099,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 responses: '200': description: Response @@ -97919,7 +98117,7 @@ paths: items: *4 teams: type: array - items: *305 + items: *307 required: - users - teams @@ -97978,9 +98176,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -98017,7 +98215,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: default: value: @@ -98553,9 +98751,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: true content: @@ -98589,7 +98787,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: default: value: @@ -99094,9 +99292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 - *17 - *19 responses: @@ -99106,7 +99304,7 @@ paths: application/json: schema: type: array - items: &710 + items: &712 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99175,7 +99373,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - id - node_id @@ -99257,9 +99455,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: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -99345,9 +99543,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: &712 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99410,10 +99608,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: - - *465 - - *466 - - *707 - - &711 + - *467 + - *468 + - *709 + - &713 name: review_id description: The unique identifier of the review. in: path @@ -99425,9 +99623,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: &713 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99486,10 +99684,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 requestBody: required: true content: @@ -99512,7 +99710,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: default: value: @@ -99574,18 +99772,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 responses: '200': description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: *712 + default: *714 '422': *7 '404': *6 x-github: @@ -99612,10 +99810,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 - *17 - *19 responses: @@ -99694,13 +99892,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: - self: *402 - html: *402 - pull_request: *402 + self: *404 + html: *404 + pull_request: *404 required: - self - html @@ -99709,7 +99907,7 @@ paths: type: string body_html: type: string - reactions: *211 + reactions: *214 side: description: The side of the first line of the range for a multi-line comment. @@ -99850,10 +100048,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 requestBody: required: true content: @@ -99881,7 +100079,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: default: value: @@ -99944,10 +100142,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: - - *465 - - *466 - - *707 - - *711 + - *467 + - *468 + - *709 + - *713 requestBody: required: true content: @@ -99982,9 +100180,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *712 examples: - default: *713 + default: *715 '404': *6 '422': *7 '403': *29 @@ -100006,9 +100204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *465 - - *466 - - *707 + - *467 + - *468 + - *709 requestBody: required: false content: @@ -100071,8 +100269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *465 - - *466 + - *467 + - *468 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100085,9 +100283,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *716 examples: - default: &715 + default: &717 value: type: file encoding: base64 @@ -100129,8 +100327,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: - - *465 - - *466 + - *467 + - *468 - name: dir description: The alternate path to look for a README file in: path @@ -100150,9 +100348,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *716 examples: - default: *715 + default: *717 '404': *6 '422': *15 x-github: @@ -100174,8 +100372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -100185,7 +100383,7 @@ paths: application/json: schema: type: array - items: &716 + items: &718 title: Release description: A release. type: object @@ -100256,7 +100454,7 @@ paths: author: *4 assets: type: array - items: &717 + items: &719 title: Release Asset description: Data related to a release. type: object @@ -100331,7 +100529,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *211 + reactions: *214 required: - assets_url - upload_url @@ -100443,8 +100641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -100520,9 +100718,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: &720 + default: &722 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100627,9 +100825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *465 - - *466 - - &718 + - *467 + - *468 + - &720 name: asset_id description: The unique identifier of the asset. in: path @@ -100641,9 +100839,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *719 examples: - default: &719 + default: &721 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 @@ -100678,7 +100876,7 @@ paths: type: User site_admin: false '404': *6 - '302': *599 + '302': *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100694,9 +100892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *465 - - *466 - - *718 + - *467 + - *468 + - *720 requestBody: required: false content: @@ -100724,9 +100922,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *719 examples: - default: *719 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100742,9 +100940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *465 - - *466 - - *718 + - *467 + - *468 + - *720 responses: '204': description: Response @@ -100768,8 +100966,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -100854,16 +101052,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *720 + default: *722 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100880,8 +101078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *465 - - *466 + - *467 + - *468 - name: tag description: tag parameter in: path @@ -100894,9 +101092,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *720 + default: *722 '404': *6 x-github: githubCloudOnly: false @@ -100918,9 +101116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *465 - - *466 - - &721 + - *467 + - *468 + - &723 name: release_id description: The unique identifier of the release. in: path @@ -100934,9 +101132,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: *716 + schema: *718 examples: - default: *720 + default: *722 '401': description: Unauthorized x-github: @@ -100954,9 +101152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 requestBody: required: false content: @@ -101020,9 +101218,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *720 + default: *722 '404': description: Not Found if the discussion category name is invalid content: @@ -101043,9 +101241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 responses: '204': description: Response @@ -101065,9 +101263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 - *17 - *19 responses: @@ -101077,7 +101275,7 @@ paths: application/json: schema: type: array - items: *717 + items: *719 examples: default: value: @@ -101159,9 +101357,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: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 - name: name in: query required: true @@ -101187,7 +101385,7 @@ paths: description: Response for successful upload content: application/json: - schema: *717 + schema: *719 examples: response-for-successful-upload: value: @@ -101242,9 +101440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 - 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. @@ -101268,9 +101466,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 '404': *6 @@ -101291,9 +101489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *465 - - *466 - - *721 + - *467 + - *468 + - *723 requestBody: required: true content: @@ -101323,16 +101521,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -101354,10 +101552,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *465 - - *466 - - *721 - - *457 + - *467 + - *468 + - *723 + - *459 responses: '204': description: Response @@ -101381,9 +101579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *465 - - *466 - - *524 + - *467 + - *468 + - *526 - *17 - *19 responses: @@ -101400,7 +101598,7 @@ paths: oneOf: - allOf: - *165 - - &722 + - &724 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101421,67 +101619,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *722 + - *724 - allOf: - *167 - - *722 + - *724 - allOf: - *168 - - *722 + - *724 - allOf: - - *723 - - *722 + - *725 + - *724 - allOf: - *169 - - *722 + - *724 - allOf: - *170 - - *722 + - *724 - allOf: - *171 - - *722 + - *724 - allOf: - *172 - - *722 + - *724 - allOf: - *173 - - *722 + - *724 - allOf: - *174 - - *722 + - *724 - allOf: - *175 - - *722 + - *724 - allOf: - *176 - - *722 + - *724 - allOf: - *177 - - *722 + - *724 - allOf: - *178 - - *722 + - *724 - allOf: - *179 - - *722 + - *724 - allOf: - *180 - - *722 + - *724 - allOf: - *181 - - *722 + - *724 - allOf: - *182 - - *722 + - *724 - allOf: - *183 - - *722 + - *724 - allOf: - *184 - - *722 + - *724 - allOf: + - *726 - *724 - - *722 examples: default: value: @@ -101520,8 +101718,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - name: includes_parents @@ -101532,7 +101730,7 @@ paths: schema: type: boolean default: true - - *725 + - *727 responses: '200': description: Response @@ -101587,8 +101785,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 requestBody: description: Request body required: true @@ -101617,7 +101815,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *726 + items: *728 required: - name - enforcement @@ -101650,7 +101848,7 @@ paths: application/json: schema: *185 examples: - default: &735 + default: &737 value: id: 42 name: super cool ruleset @@ -101697,12 +101895,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *465 - - *466 - - *727 - - *101 - - *728 + - *467 + - *468 - *729 + - *101 + - *730 + - *731 - *17 - *19 responses: @@ -101710,9 +101908,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *732 examples: - default: *731 + default: *733 '404': *6 '500': *40 x-github: @@ -101733,17 +101931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *465 - - *466 - - *732 + - *467 + - *468 + - *734 responses: '200': description: Response content: application/json: - schema: *733 + schema: *735 examples: - default: *734 + default: *736 '404': *6 '500': *40 x-github: @@ -101771,8 +101969,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101794,7 +101992,7 @@ paths: application/json: schema: *185 examples: - default: *735 + default: *737 '404': *6 '500': *40 put: @@ -101812,8 +102010,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101847,7 +102045,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *726 + items: *728 examples: default: value: @@ -101877,7 +102075,7 @@ paths: application/json: schema: *185 examples: - default: *735 + default: *737 '404': *6 '500': *40 delete: @@ -101895,8 +102093,8 @@ paths: category: repos subcategory: rules parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101919,8 +102117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 - name: ruleset_id @@ -101938,7 +102136,7 @@ paths: type: array items: *189 examples: - default: *417 + default: *419 '404': *6 '500': *40 x-github: @@ -101957,8 +102155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *465 - - *466 + - *467 + - *468 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101976,7 +102174,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: default: value: @@ -102031,21 +102229,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: - - *465 - - *466 - - *419 - - *420 + - *467 + - *468 - *421 - *422 + - *423 + - *424 - *106 - *19 - *17 - - *736 - - *737 - - *423 - - *424 + - *738 + - *739 - *425 - *426 + - *427 + - *428 responses: '200': description: Response @@ -102053,7 +102251,7 @@ paths: application/json: schema: type: array - items: &741 + items: &743 type: object properties: number: *123 @@ -102072,8 +102270,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *738 - resolution: *739 + state: *740 + resolution: *741 resolved_at: type: string format: date-time @@ -102169,7 +102367,7 @@ paths: pull request. ' - oneOf: *740 + oneOf: *742 nullable: true has_more_locations: type: boolean @@ -102318,16 +102516,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: - - *465 - - *466 - - *553 - - *426 + - *467 + - *468 + - *555 + - *428 responses: '200': description: Response content: application/json: - schema: *741 + schema: *743 examples: default: value: @@ -102379,9 +102577,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 requestBody: required: true content: @@ -102389,8 +102587,8 @@ paths: schema: type: object properties: - state: *738 - resolution: *739 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102408,7 +102606,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *743 examples: default: value: @@ -102483,9 +102681,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: - - *465 - - *466 - - *553 + - *467 + - *468 + - *555 - *19 - *17 responses: @@ -102496,7 +102694,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &921 + items: &923 type: object properties: type: @@ -102522,8 +102720,6 @@ paths: example: commit details: oneOf: - - *742 - - *743 - *744 - *745 - *746 @@ -102535,6 +102731,8 @@ paths: - *752 - *753 - *754 + - *755 + - *756 examples: default: value: @@ -102620,8 +102818,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -102629,14 +102827,14 @@ paths: schema: type: object properties: - reason: &756 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *755 + placeholder_id: *757 required: - reason - placeholder_id @@ -102653,7 +102851,7 @@ paths: schema: type: object properties: - reason: *756 + reason: *758 expire_at: type: string format: date-time @@ -102699,8 +102897,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: - - *465 - - *466 + - *467 + - *468 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102715,7 +102913,7 @@ paths: properties: incremental_scans: type: array - items: &757 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102741,15 +102939,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *757 + items: *759 backfill_scans: type: array - items: *757 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *757 + - *759 - type: object properties: pattern_name: @@ -102819,8 +103017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *465 - - *466 + - *467 + - *468 - *106 - name: sort description: The property to sort the results by. @@ -102864,9 +103062,9 @@ paths: application/json: schema: type: array - items: *758 + items: *760 examples: - default: *759 + default: *761 '400': *14 '404': *6 x-github: @@ -102889,8 +103087,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -102963,7 +103161,7 @@ paths: login: type: string description: The username of the user credited. - type: *431 + type: *433 required: - login - type @@ -103050,9 +103248,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: &761 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103285,8 +103483,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -103390,7 +103588,7 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: default: value: @@ -103537,17 +103735,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 responses: '200': description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: *761 + default: *763 '403': *29 '404': *6 x-github: @@ -103571,9 +103769,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 requestBody: required: true content: @@ -103646,7 +103844,7 @@ paths: login: type: string description: The username of the user credited. - type: *431 + type: *433 required: - login - type @@ -103732,17 +103930,17 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: *761 - add_credit: *761 + default: *763 + add_credit: *763 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *253 + schema: *255 examples: invalid_state_transition: value: @@ -103773,9 +103971,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 responses: '202': *39 '400': *14 @@ -103802,17 +104000,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: - - *465 - - *466 - - *760 + - *467 + - *468 + - *762 responses: '202': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 '400': *14 '422': *15 '403': *29 @@ -103838,8 +104036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -103938,8 +104136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103948,7 +104146,7 @@ paths: application/json: schema: type: array - items: &762 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103981,8 +104179,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -104058,8 +104256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -104155,8 +104353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104310,8 +104508,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104321,7 +104519,7 @@ paths: application/json: schema: type: array - items: *762 + items: *764 examples: default: value: @@ -104354,8 +104552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *465 - - *466 + - *467 + - *468 - name: sha in: path required: true @@ -104409,7 +104607,7 @@ paths: description: Response content: application/json: - schema: *763 + schema: *765 examples: default: value: @@ -104463,8 +104661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -104476,7 +104674,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -104496,14 +104694,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &764 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104571,8 +104769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: false content: @@ -104598,7 +104796,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *766 examples: default: value: @@ -104625,8 +104823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -104646,8 +104844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -104726,8 +104924,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: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -104735,7 +104933,7 @@ paths: application/json: schema: type: array - items: &765 + items: &767 title: Tag protection description: Tag protection type: object @@ -104787,8 +104985,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: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -104811,7 +105009,7 @@ paths: description: Response content: application/json: - schema: *765 + schema: *767 examples: default: value: @@ -104842,8 +105040,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: - - *465 - - *466 + - *467 + - *468 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104880,8 +105078,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *465 - - *466 + - *467 + - *468 - name: ref in: path required: true @@ -104917,8 +105115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *465 - - *466 + - *467 + - *468 - *17 - *19 responses: @@ -104928,9 +105126,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *377 + default: *379 headers: Link: *43 '404': *6 @@ -104950,8 +105148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *465 - - *466 + - *467 + - *468 - *19 - *17 responses: @@ -104959,7 +105157,7 @@ paths: description: Response content: application/json: - schema: &766 + schema: &768 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104971,7 +105169,7 @@ paths: required: - names examples: - default: &767 + default: &769 value: names: - octocat @@ -104994,8 +105192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -105026,9 +105224,9 @@ paths: description: Response content: application/json: - schema: *766 + schema: *768 examples: - default: *767 + default: *769 '404': *6 '422': *7 x-github: @@ -105049,9 +105247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *465 - - *466 - - &768 + - *467 + - *468 + - &770 name: per description: The time frame to display results for. in: query @@ -105080,7 +105278,7 @@ paths: example: 128 clones: type: array - items: &769 + items: &771 title: Traffic type: object properties: @@ -105167,8 +105365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -105258,8 +105456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *465 - - *466 + - *467 + - *468 responses: '200': description: Response @@ -105319,9 +105517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *465 - - *466 - - *768 + - *467 + - *468 + - *770 responses: '200': description: Response @@ -105340,7 +105538,7 @@ paths: example: 3782 views: type: array - items: *769 + items: *771 required: - uniques - count @@ -105417,8 +105615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *465 - - *466 + - *467 + - *468 requestBody: required: true content: @@ -105454,7 +105652,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *280 examples: default: value: @@ -105692,8 +105890,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105716,8 +105914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -105739,8 +105937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -105766,8 +105964,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *465 - - *466 + - *467 + - *468 - name: ref in: path required: true @@ -105859,9 +106057,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105902,7 +106100,7 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: default: value: @@ -106012,7 +106210,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &777 + - &779 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106021,7 +106219,7 @@ paths: schema: type: string example: members - - &782 + - &784 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106032,7 +106230,7 @@ paths: default: 1 format: int32 example: 1 - - &783 + - &785 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106074,7 +106272,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &772 + items: &774 allOf: - type: object required: @@ -106149,7 +106347,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: &784 + meta: &786 type: object description: The metadata associated with the creation/updates to the user. @@ -106209,30 +106407,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &773 + '400': &775 description: Bad request content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '401': *771 - '403': &774 + schema: *772 + '401': *773 + '403': &776 description: Permission denied - '429': &775 + '429': &777 description: Too many requests content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '500': &776 + schema: *772 + '500': &778 description: Internal server error content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 + schema: *772 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106256,7 +106454,7 @@ paths: required: true content: application/json: - schema: &780 + schema: &782 type: object required: - schemas @@ -106316,9 +106514,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *772 + schema: *774 examples: - group: &778 + group: &780 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106337,13 +106535,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': *773 - '401': *771 - '403': *774 - '409': &781 + '400': *775 + '401': *773 + '403': *776 + '409': &783 description: Duplicate record detected - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106360,7 +106558,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: - - &779 + - &781 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106368,22 +106566,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *777 + - *779 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *772 + schema: *774 examples: - default: *778 - '400': *773 - '401': *771 - '403': *774 + default: *780 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106402,13 +106600,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: - - *779 + - *781 - *41 requestBody: required: true content: application/json: - schema: *780 + schema: *782 examples: group: summary: Group @@ -106434,17 +106632,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *772 + schema: *774 examples: - group: *778 - groupWithMembers: *778 - '400': *773 - '401': *771 - '403': *774 + group: *780 + groupWithMembers: *780 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106468,13 +106666,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: - - *779 + - *781 - *41 requestBody: required: true content: application/json: - schema: &791 + schema: &793 type: object required: - Operations @@ -106534,17 +106732,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *772 + schema: *774 examples: - updateGroup: *778 - addMembers: *778 - '400': *773 - '401': *771 - '403': *774 + updateGroup: *780 + addMembers: *780 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106560,17 +106758,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: - - *779 + - *781 - *41 responses: '204': description: Group was deleted, no content - '400': *773 - '401': *771 - '403': *774 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106604,8 +106802,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *782 - - *783 + - *784 + - *785 - *41 responses: '200': @@ -106638,7 +106836,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &786 + items: &788 allOf: - type: object required: @@ -106717,7 +106915,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &785 + roles: &787 type: array description: The roles assigned to the user. items: @@ -106773,7 +106971,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *784 + meta: *786 startIndex: type: integer description: A starting index for the returned page @@ -106810,11 +107008,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *773 - '401': *771 - '403': *774 - '429': *775 - '500': *776 + '400': *775 + '401': *773 + '403': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106838,7 +107036,7 @@ paths: required: true content: application/json: - schema: &789 + schema: &791 type: object required: - schemas @@ -106920,9 +107118,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *785 + roles: *787 examples: - user: &790 + user: &792 summary: User value: schemas: @@ -106969,9 +107167,9 @@ paths: description: User has been created content: application/scim+json: - schema: *786 + schema: *788 examples: - user: &787 + user: &789 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106997,13 +107195,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: *787 - '400': *773 - '401': *771 - '403': *774 - '409': *781 - '429': *775 - '500': *776 + enterpriseOwner: *789 + '400': *775 + '401': *773 + '403': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107020,7 +107218,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: - - &788 + - &790 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107033,15 +107231,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *786 + schema: *788 examples: - default: *787 - '400': *773 - '401': *771 - '403': *774 + default: *789 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107063,30 +107261,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: - - *788 + - *790 - *41 requestBody: required: true content: application/json: - schema: *789 + schema: *791 examples: - user: *790 + user: *792 responses: '200': description: User was updated content: application/scim+json: - schema: *786 + schema: *788 examples: - user: *787 - '400': *773 - '401': *771 - '403': *774 + user: *789 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107121,13 +107319,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: - - *788 + - *790 - *41 requestBody: required: true content: application/json: - schema: *791 + schema: *793 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107167,18 +107365,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *786 + schema: *788 examples: - userMultiValuedProperties: *787 - userSingleValuedProperties: *787 - disableUser: *787 - '400': *773 - '401': *771 - '403': *774 + userMultiValuedProperties: *789 + userSingleValuedProperties: *789 + disableUser: *789 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '409': *781 - '429': *775 - '500': *776 + '409': *783 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107198,17 +107396,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: - - *788 + - *790 - *41 responses: '204': description: User was deleted, no content - '400': *773 - '401': *771 - '403': *774 + '400': *775 + '401': *773 + '403': *776 '404': *6 - '429': *775 - '500': *776 + '429': *777 + '500': *778 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107295,7 +107493,7 @@ paths: example: 1 Resources: type: array - items: &792 + items: &794 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -107526,22 +107724,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &793 + '404': &795 description: Resource not found content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '403': &794 + schema: *772 + '403': &796 description: Forbidden content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '400': *773 - '429': *775 + schema: *772 + '400': *775 + '429': *777 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -107567,9 +107765,9 @@ paths: description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: &795 + default: &797 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107592,17 +107790,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *793 - '403': *794 - '500': *776 + '404': *795 + '403': *796 + '500': *778 '409': description: Conflict content: application/json: - schema: *770 + schema: *772 application/scim+json: - schema: *770 - '400': *773 + schema: *772 + '400': *775 requestBody: required: true content: @@ -107700,17 +107898,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *788 + - *790 responses: '200': description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: *795 - '404': *793 - '403': *794 + default: *797 + '404': *795 + '403': *796 '304': *37 x-github: githubCloudOnly: true @@ -107734,18 +107932,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *788 + - *790 responses: '200': description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: *795 + default: *797 '304': *37 - '404': *793 - '403': *794 + '404': *795 + '403': *796 requestBody: required: true content: @@ -107858,19 +108056,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *788 + - *790 responses: '200': description: Response content: application/scim+json: - schema: *792 + schema: *794 examples: - default: *795 + default: *797 '304': *37 - '404': *793 - '403': *794 - '400': *773 + '404': *795 + '403': *796 + '400': *775 '429': description: Response content: @@ -107961,12 +108159,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *788 + - *790 responses: '204': description: Response - '404': *793 - '403': *794 + '404': *795 + '403': *796 '304': *37 x-github: githubCloudOnly: true @@ -108081,7 +108279,7 @@ paths: html_url: type: string format: uri - repository: *278 + repository: *280 score: type: number file_size: @@ -108099,7 +108297,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &796 + text_matches: &798 title: Search Result Text Matches type: array items: @@ -108262,7 +108460,7 @@ paths: enum: - author-date - committer-date - - &797 + - &799 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 @@ -108333,7 +108531,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *524 nullable: true comment_count: type: integer @@ -108353,7 +108551,7 @@ paths: url: type: string format: uri - verification: *644 + verification: *646 required: - author - committer @@ -108372,7 +108570,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *524 nullable: true parents: type: array @@ -108385,12 +108583,12 @@ paths: type: string sha: type: string - repository: *278 + repository: *280 score: type: number node_id: type: string - text_matches: *796 + text_matches: *798 required: - sha - node_id @@ -108583,7 +108781,7 @@ paths: - interactions - created - updated - - *797 + - *799 - *17 - *19 - name: advanced_search @@ -108680,11 +108878,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: type: string state_reason: @@ -108701,8 +108899,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *400 - required: *401 + properties: *402 + required: *403 nullable: true comments: type: integer @@ -108716,7 +108914,7 @@ paths: type: string format: date-time nullable: true - text_matches: *796 + text_matches: *798 pull_request: type: object properties: @@ -108749,7 +108947,7 @@ paths: type: string score: type: number - author_association: *210 + author_association: *213 draft: type: boolean repository: *74 @@ -108760,7 +108958,7 @@ paths: timeline_url: type: string format: uri - type: *362 + type: *364 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -108770,9 +108968,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - assignee - closed_at @@ -108941,7 +109139,7 @@ paths: enum: - created - updated - - *797 + - *799 - *17 - *19 responses: @@ -108985,7 +109183,7 @@ paths: nullable: true score: type: number - text_matches: *796 + text_matches: *798 required: - id - node_id @@ -109071,7 +109269,7 @@ paths: - forks - help-wanted-issues - updated - - *797 + - *799 - *17 - *19 responses: @@ -109290,8 +109488,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true permissions: type: object @@ -109310,7 +109508,7 @@ paths: - admin - pull - push - text_matches: *796 + text_matches: *798 temp_clone_token: type: string allow_merge_commit: @@ -109611,7 +109809,7 @@ paths: type: string format: uri nullable: true - text_matches: *796 + text_matches: *798 related: type: array nullable: true @@ -109804,7 +110002,7 @@ paths: - followers - repositories - joined - - *797 + - *799 - *17 - *19 responses: @@ -109908,7 +110106,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *796 + text_matches: *798 blog: type: string nullable: true @@ -109987,7 +110185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &801 + - &803 name: team_id description: The unique identifier of the team. in: path @@ -109999,9 +110197,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 x-github: githubCloudOnly: false @@ -110028,7 +110226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *801 + - *803 requestBody: required: true content: @@ -110091,16 +110289,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '201': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '404': *6 '422': *15 '403': *29 @@ -110128,7 +110326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *801 + - *803 responses: '204': description: Response @@ -110159,7 +110357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *801 + - *803 - *106 - *17 - *19 @@ -110170,9 +110368,9 @@ paths: application/json: schema: type: array - items: *448 + items: *450 examples: - default: *802 + default: *804 headers: Link: *43 x-github: @@ -110201,7 +110399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *801 + - *803 requestBody: required: true content: @@ -110235,9 +110433,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: triggersNotification: true githubCloudOnly: false @@ -110264,16 +110462,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *801 - - *450 + - *803 + - *452 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110298,8 +110496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *801 - - *450 + - *803 + - *452 requestBody: required: false content: @@ -110322,9 +110520,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *803 + default: *805 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110349,8 +110547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *801 - - *450 + - *803 + - *452 responses: '204': description: Response @@ -110379,8 +110577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *801 - - *450 + - *803 + - *452 - *106 - *17 - *19 @@ -110391,9 +110589,9 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: - default: *804 + default: *806 headers: Link: *43 x-github: @@ -110422,8 +110620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *801 - - *450 + - *803 + - *452 requestBody: required: true content: @@ -110445,9 +110643,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: triggersNotification: true githubCloudOnly: false @@ -110474,17 +110672,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 responses: '200': description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110509,9 +110707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 requestBody: required: true content: @@ -110533,9 +110731,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *805 + default: *807 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110560,9 +110758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 responses: '204': description: Response @@ -110591,9 +110789,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: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 - 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. @@ -110619,9 +110817,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 x-github: @@ -110650,9 +110848,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: - - *801 - - *450 - - *453 + - *803 + - *452 + - *455 requestBody: required: true content: @@ -110684,9 +110882,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110712,8 +110910,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: - - *801 - - *450 + - *803 + - *452 - 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. @@ -110739,9 +110937,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *456 + default: *458 headers: Link: *43 x-github: @@ -110770,8 +110968,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: - - *801 - - *450 + - *803 + - *452 requestBody: required: true content: @@ -110803,9 +111001,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110829,7 +111027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -110839,9 +111037,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *43 x-github: @@ -110867,7 +111065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *801 + - *803 - name: role description: Filters members returned by their role in the team. in: query @@ -110890,7 +111088,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -110918,7 +111116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *801 + - *803 - *138 responses: '204': @@ -110955,7 +111153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *801 + - *803 - *138 responses: '204': @@ -110995,7 +111193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *801 + - *803 - *138 responses: '204': @@ -111032,16 +111230,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: - - *801 + - *803 - *138 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - response-if-user-is-a-team-maintainer: *806 + response-if-user-is-a-team-maintainer: *808 '404': *6 x-github: githubCloudOnly: false @@ -111074,7 +111272,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: - - *801 + - *803 - *138 requestBody: required: false @@ -111100,9 +111298,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: *807 + response-if-users-membership-with-team-is-now-pending: *809 '403': description: Forbidden if team synchronization is set up '422': @@ -111136,7 +111334,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: - - *801 + - *803 - *138 responses: '204': @@ -111165,7 +111363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -111175,9 +111373,9 @@ paths: application/json: schema: type: array - items: *463 + items: *465 examples: - default: *808 + default: *810 headers: Link: *43 '404': *6 @@ -111203,16 +111401,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: - - *801 - - *464 + - *803 + - *466 responses: '200': description: Response content: application/json: - schema: *463 + schema: *465 examples: - default: *809 + default: *811 '404': description: Not Found if project is not managed by this team x-github: @@ -111236,8 +111434,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: - - *801 - - *464 + - *803 + - *466 requestBody: required: false content: @@ -111304,8 +111502,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: - - *801 - - *464 + - *803 + - *466 responses: '204': description: Response @@ -111332,7 +111530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -111342,9 +111540,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 '404': *6 @@ -111374,15 +111572,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: - - *801 - - *465 - - *466 + - *803 + - *467 + - *468 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *810 + schema: *812 examples: alternative-response-with-extra-repository-information: value: @@ -111533,9 +111731,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: - - *801 - - *465 - - *466 + - *803 + - *467 + - *468 requestBody: required: false content: @@ -111585,9 +111783,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: - - *801 - - *465 - - *466 + - *803 + - *467 + - *468 responses: '204': description: Response @@ -111616,15 +111814,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: - - *801 + - *803 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 '403': *29 '404': *6 x-github: @@ -111651,7 +111849,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: - - *801 + - *803 requestBody: required: true content: @@ -111708,7 +111906,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default: value: @@ -111739,7 +111937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *801 + - *803 - *17 - *19 responses: @@ -111749,9 +111947,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - response-if-child-teams-exist: *811 + response-if-child-teams-exist: *813 headers: Link: *43 '404': *6 @@ -111784,7 +111982,7 @@ paths: application/json: schema: oneOf: - - &813 + - &815 title: Private User description: Private User type: object @@ -111987,7 +112185,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *812 + - *814 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112140,7 +112338,7 @@ paths: description: Response content: application/json: - schema: *813 + schema: *815 examples: default: value: @@ -112219,7 +112417,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '304': *37 '404': *6 '403': *29 @@ -112343,9 +112541,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *37 '500': *40 '401': *25 @@ -112484,17 +112682,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '401': *25 '403': *29 '404': *6 @@ -112538,7 +112736,7 @@ paths: type: integer secrets: type: array - items: &814 + items: &816 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112578,7 +112776,7 @@ paths: - visibility - selected_repositories_url examples: - default: *576 + default: *578 headers: Link: *43 x-github: @@ -112648,13 +112846,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *814 + schema: *816 examples: default: value: @@ -112684,7 +112882,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: - - *288 + - *290 requestBody: required: true content: @@ -112729,7 +112927,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -112757,7 +112955,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: - - *288 + - *290 responses: '204': description: Response @@ -112782,7 +112980,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: - - *288 + - *290 responses: '200': description: Response @@ -112798,9 +112996,9 @@ paths: type: integer repositories: type: array - items: *278 + items: *280 examples: - default: *815 + default: *817 '401': *25 '403': *29 '404': *6 @@ -112825,7 +113023,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: - - *288 + - *290 requestBody: required: true content: @@ -112879,7 +113077,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: - - *288 + - *290 - name: repository_id in: path required: true @@ -112912,7 +113110,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: - - *288 + - *290 - name: repository_id in: path required: true @@ -112944,15 +113142,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '304': *37 '500': *40 '401': *25 @@ -112978,7 +113176,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: - - *369 + - *371 requestBody: required: false content: @@ -113008,9 +113206,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '401': *25 '403': *29 '404': *6 @@ -113032,7 +113230,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: - - *369 + - *371 responses: '202': *39 '304': *37 @@ -113061,13 +113259,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: - - *369 + - *371 responses: '202': description: Response content: application/json: - schema: &816 + schema: &818 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113108,7 +113306,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &817 + default: &819 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113140,7 +113338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *369 + - *371 - name: export_id in: path required: true @@ -113153,9 +113351,9 @@ paths: description: Response content: application/json: - schema: *816 + schema: *818 examples: - default: *817 + default: *819 '404': *6 x-github: githubCloudOnly: false @@ -113176,7 +113374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *369 + - *371 responses: '200': description: Response @@ -113192,9 +113390,9 @@ paths: type: integer machines: type: array - items: *818 + items: *820 examples: - default: *819 + default: *821 '304': *37 '500': *40 '401': *25 @@ -113223,7 +113421,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: - - *369 + - *371 requestBody: required: true content: @@ -113273,13 +113471,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *478 + repository: *480 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *574 - required: *575 + properties: *576 + required: *577 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -114053,15 +114251,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '304': *37 '500': *40 '400': *14 @@ -114093,15 +114291,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *573 + default: *575 '500': *40 '401': *25 '403': *29 @@ -114131,9 +114329,9 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: &830 + default: &832 value: - id: 197 name: hello_docker @@ -114234,7 +114432,7 @@ paths: application/json: schema: type: array - items: &820 + items: &822 title: Email description: Email type: object @@ -114299,9 +114497,9 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: - default: &832 + default: &834 value: - email: octocat@github.com verified: true @@ -114376,7 +114574,7 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: default: value: @@ -114486,7 +114684,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114519,7 +114717,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114632,7 +114830,7 @@ paths: application/json: schema: type: array - items: &821 + items: &823 title: GPG Key description: A unique encryption key type: object @@ -114763,7 +114961,7 @@ paths: - subkeys - revoked examples: - default: &846 + default: &848 value: - id: 3 name: Octocat's GPG Key @@ -114848,9 +115046,9 @@ paths: description: Response content: application/json: - schema: *821 + schema: *823 examples: - default: &822 + default: &824 value: id: 3 name: Octocat's GPG Key @@ -114907,7 +115105,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: - - &823 + - &825 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114919,9 +115117,9 @@ paths: description: Response content: application/json: - schema: *821 + schema: *823 examples: - default: *822 + default: *824 '404': *6 '304': *37 '403': *29 @@ -114944,7 +115142,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: - - *823 + - *825 responses: '204': description: Response @@ -115135,7 +115333,7 @@ paths: type: array items: *74 examples: - default: *273 + default: *275 headers: Link: *43 '404': *6 @@ -115160,7 +115358,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *272 + - *274 responses: '204': description: Response @@ -115186,7 +115384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *272 + - *274 responses: '204': description: Response @@ -115220,12 +115418,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: *358 + default: *360 '204': description: Response when there are no restrictions x-github: @@ -115249,7 +115447,7 @@ paths: required: true content: application/json: - schema: *655 + schema: *657 examples: default: value: @@ -115260,7 +115458,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -115341,7 +115539,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -115354,7 +115552,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -115364,9 +115562,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *366 + default: *368 headers: Link: *43 '404': *6 @@ -115399,7 +115597,7 @@ paths: application/json: schema: type: array - items: &824 + items: &826 title: Key description: Key type: object @@ -115500,9 +115698,9 @@ paths: description: Response content: application/json: - schema: *824 + schema: *826 examples: - default: &825 + default: &827 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115535,15 +115733,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: - - *684 + - *686 responses: '200': description: Response content: application/json: - schema: *824 + schema: *826 examples: - default: *825 + default: *827 '404': *6 '304': *37 '403': *29 @@ -115566,7 +115764,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: - - *684 + - *686 responses: '204': description: Response @@ -115599,7 +115797,7 @@ paths: application/json: schema: type: array - items: &826 + items: &828 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115656,7 +115854,7 @@ paths: - id - type - login - plan: *227 + plan: *230 required: - billing_cycle - next_billing_date @@ -115667,7 +115865,7 @@ paths: - account - plan examples: - default: &827 + default: &829 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115729,9 +115927,9 @@ paths: application/json: schema: type: array - items: *826 + items: *828 examples: - default: *827 + default: *829 headers: Link: *43 '304': *37 @@ -115771,7 +115969,7 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: default: value: @@ -115879,7 +116077,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -115962,7 +116160,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -116030,7 +116228,7 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: default: value: @@ -116283,7 +116481,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -116463,7 +116661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *373 + - *375 - name: exclude in: query required: false @@ -116476,7 +116674,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -116670,7 +116868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *373 + - *375 responses: '302': description: Response @@ -116696,7 +116894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *373 + - *375 responses: '204': description: Response @@ -116725,8 +116923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *373 - - *828 + - *375 + - *830 responses: '204': description: Response @@ -116750,7 +116948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *373 + - *375 - *17 - *19 responses: @@ -116760,9 +116958,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 '404': *6 @@ -116799,7 +116997,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 '304': *37 @@ -116841,7 +117039,7 @@ paths: - docker - nuget - container - - *829 + - *831 - *19 - *17 responses: @@ -116851,10 +117049,10 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *830 - '400': *831 + default: *832 + '400': *833 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116874,16 +117072,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: - - *380 - - *381 + - *382 + - *383 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: &847 + default: &849 value: id: 40201 name: octo-name @@ -116996,8 +117194,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: - - *380 - - *381 + - *382 + - *383 responses: '204': description: Response @@ -117027,8 +117225,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: - - *380 - - *381 + - *382 + - *383 - name: token description: package token schema: @@ -117060,8 +117258,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: - - *380 - - *381 + - *382 + - *383 - *19 - *17 - name: state @@ -117081,7 +117279,7 @@ paths: application/json: schema: type: array - items: *382 + items: *384 examples: default: value: @@ -117130,15 +117328,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: - - *380 - - *381 + - *382 - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -117174,9 +117372,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: - - *380 - - *381 + - *382 - *383 + - *385 responses: '204': description: Response @@ -117206,9 +117404,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: - - *380 - - *381 + - *382 - *383 + - *385 responses: '204': description: Response @@ -117264,7 +117462,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: default: value: @@ -117336,9 +117534,9 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: - default: *832 + default: *834 headers: Link: *43 '304': *37 @@ -117451,7 +117649,7 @@ paths: type: array items: *74 examples: - default: &839 + default: &841 summary: Default response value: - id: 1296269 @@ -117755,9 +117953,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117795,9 +117993,9 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: *833 + default: *835 headers: Link: *43 '304': *37 @@ -117820,7 +118018,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -117843,7 +118041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -117876,7 +118074,7 @@ paths: application/json: schema: type: array - items: &834 + items: &836 title: Social account description: Social media account type: object @@ -117891,7 +118089,7 @@ paths: - provider - url examples: - default: &835 + default: &837 value: - provider: twitter url: https://twitter.com/github @@ -117953,9 +118151,9 @@ paths: application/json: schema: type: array - items: *834 + items: *836 examples: - default: *835 + default: *837 '422': *15 '304': *37 '404': *6 @@ -118042,7 +118240,7 @@ paths: application/json: schema: type: array - items: &836 + items: &838 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118062,7 +118260,7 @@ paths: - title - created_at examples: - default: &850 + default: &852 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118128,9 +118326,9 @@ paths: description: Response content: application/json: - schema: *836 + schema: *838 examples: - default: &837 + default: &839 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118161,7 +118359,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: - - &838 + - &840 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118173,9 +118371,9 @@ paths: description: Response content: application/json: - schema: *836 + schema: *838 examples: - default: *837 + default: *839 '404': *6 '304': *37 '403': *29 @@ -118198,7 +118396,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: - - *838 + - *840 responses: '204': description: Response @@ -118227,7 +118425,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: - - &851 + - &853 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 @@ -118252,11 +118450,11 @@ paths: type: array items: *74 examples: - default-response: *839 + default-response: *841 application/vnd.github.v3.star+json: schema: type: array - items: &852 + items: &854 title: Starred Repository description: Starred Repository type: object @@ -118412,8 +118610,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response if this repository is starred by you @@ -118441,8 +118639,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -118466,8 +118664,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: - - *465 - - *466 + - *467 + - *468 responses: '204': description: Response @@ -118500,9 +118698,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 '304': *37 @@ -118539,7 +118737,7 @@ paths: application/json: schema: type: array - items: *446 + items: *448 examples: default: value: @@ -118617,7 +118815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *229 + - *232 responses: '200': description: Response @@ -118625,10 +118823,10 @@ paths: application/json: schema: oneOf: - - *813 - - *812 + - *815 + - *814 examples: - default-response: &841 + default-response: &843 summary: Default response value: login: octocat @@ -118663,7 +118861,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &842 + response-with-git-hub-plan-information: &844 summary: Response with GitHub plan information value: login: octocat @@ -118723,7 +118921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *840 + - *842 - *17 responses: '200': @@ -118734,7 +118932,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: example: ; rel="next" @@ -118772,11 +118970,11 @@ paths: application/json: schema: oneOf: - - *813 - - *812 + - *815 + - *814 examples: - default-response: *841 - response-with-git-hub-plan-information: *842 + default-response: *843 + response-with-git-hub-plan-information: *844 '404': *6 x-github: githubCloudOnly: false @@ -118826,8 +119024,8 @@ paths: required: - subject_digests examples: - default: *843 - withPredicateType: *844 + default: *845 + withPredicateType: *846 responses: '200': description: Response @@ -118880,7 +119078,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *845 + default: *847 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119085,12 +119283,12 @@ paths: initiator: type: string examples: - default: *518 + default: *520 '201': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -119124,9 +119322,9 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *830 + default: *832 '403': *29 '401': *25 x-github: @@ -119159,7 +119357,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119232,7 +119430,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119319,7 +119517,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119389,7 +119587,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119420,7 +119618,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119467,7 +119665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *138 - - *213 + - *216 - *17 - *19 responses: @@ -119477,9 +119675,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -119510,9 +119708,9 @@ paths: application/json: schema: type: array - items: *821 + items: *823 examples: - default: *846 + default: *848 headers: Link: *43 x-github: @@ -119616,7 +119814,7 @@ paths: application/json: schema: *22 examples: - default: *654 + default: *656 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119701,7 +119899,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 x-github: @@ -119740,7 +119938,7 @@ paths: - docker - nuget - container - - *829 + - *831 - *138 - *19 - *17 @@ -119751,12 +119949,12 @@ paths: application/json: schema: type: array - items: *378 + items: *380 examples: - default: *830 + default: *832 '403': *29 '401': *25 - '400': *831 + '400': *833 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119776,17 +119974,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *380 - - *381 + - *382 + - *383 - *138 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *847 + default: *849 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119807,8 +120005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *380 - - *381 + - *382 + - *383 - *138 responses: '204': @@ -119841,8 +120039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *380 - - *381 + - *382 + - *383 - *138 - name: token description: package token @@ -119875,8 +120073,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: - - *380 - - *381 + - *382 + - *383 - *138 responses: '200': @@ -119885,7 +120083,7 @@ paths: application/json: schema: type: array - items: *382 + items: *384 examples: default: value: @@ -119943,16 +120141,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: - - *380 - - *381 + - *382 - *383 + - *385 - *138 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -119987,10 +120185,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *380 - - *381 - - *138 + - *382 - *383 + - *138 + - *385 responses: '204': description: Response @@ -120022,10 +120220,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *380 - - *381 - - *138 + - *382 - *383 + - *138 + - *385 responses: '204': description: Response @@ -120072,7 +120270,7 @@ paths: application/json: schema: type: array - items: *394 + items: *396 examples: default: value: @@ -120147,9 +120345,9 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: - default: *396 + default: *398 headers: Link: *43 '304': *37 @@ -120171,16 +120369,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *397 + - *399 - *138 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 headers: Link: *43 '304': *37 @@ -120202,7 +120400,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *397 + - *399 - *138 - *17 - *104 @@ -120214,9 +120412,9 @@ paths: application/json: schema: type: array - items: *398 + items: *400 examples: - default: *399 + default: *401 headers: Link: *43 '304': *37 @@ -120238,17 +120436,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *397 - - *848 + - *399 + - *850 - *138 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 headers: Link: *43 '304': *37 @@ -120271,7 +120469,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: - - *397 + - *399 - *138 - *104 - *105 @@ -120304,9 +120502,9 @@ paths: application/json: schema: type: array - items: *405 + items: *407 examples: - default: *406 + default: *408 headers: Link: *43 '304': *37 @@ -120328,7 +120526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *397 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -120365,10 +120563,10 @@ paths: description: Response content: application/json: - schema: *849 + schema: *851 examples: - issue: *404 - pull_request: *404 + issue: *406 + pull_request: *406 '304': *37 '403': *29 '401': *25 @@ -120388,9 +120586,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: - - *397 + - *399 - *138 - - *407 + - *409 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120410,9 +120608,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 headers: Link: *43 '304': *37 @@ -120433,9 +120631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *397 + - *399 - *138 - - *407 + - *409 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120505,13 +120703,13 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - text_field: *406 - number_field: *406 - date_field: *406 - single_select_field: *406 - iteration_field: *406 + text_field: *408 + number_field: *408 + date_field: *408 + single_select_field: *408 + iteration_field: *408 '401': *25 '403': *29 '404': *6 @@ -120531,9 +120729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *397 + - *399 - *138 - - *407 + - *409 responses: '204': description: Response @@ -120570,7 +120768,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120645,7 +120843,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120751,9 +120949,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -120783,9 +120981,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120813,9 +121011,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120837,10 +121035,10 @@ paths: parameters: - *138 - *196 - - *243 + - *198 - *197 - - *245 - - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -120976,9 +121174,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121000,9 +121198,8 @@ paths: parameters: - *138 - *196 - - *247 - - *197 - *248 + - *197 responses: '200': description: Response when getting a billing usage report @@ -121079,6 +121276,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-report-for-a-user + parameters: + - *138 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary 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. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -121101,9 +121433,9 @@ paths: application/json: schema: type: array - items: *834 + items: *836 examples: - default: *835 + default: *837 headers: Link: *43 x-github: @@ -121133,9 +121465,9 @@ paths: application/json: schema: type: array - items: *836 + items: *838 examples: - default: *850 + default: *852 headers: Link: *43 x-github: @@ -121160,7 +121492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *851 + - *853 - *106 - *17 - *19 @@ -121172,11 +121504,11 @@ paths: schema: anyOf: - type: array - items: *852 + items: *854 - type: array items: *74 examples: - default-response: *839 + default-response: *841 headers: Link: *43 x-github: @@ -121205,9 +121537,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *384 + default: *386 headers: Link: *43 x-github: @@ -121335,7 +121667,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &853 + enterprise: &855 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121393,7 +121725,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &854 + installation: &856 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121412,7 +121744,7 @@ x-webhooks: required: - id - node_id - organization: &855 + organization: &857 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121472,13 +121804,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &856 + repository: &858 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &893 + properties: &895 id: description: Unique identifier of the repository example: 42 @@ -121498,8 +121830,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -122161,7 +122493,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &894 + required: &896 - archive_url - assignees_url - blobs_url @@ -122312,10 +122644,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -122391,11 +122723,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: &857 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + rule: &859 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) @@ -122618,11 +122950,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + rule: *859 sender: *4 required: - action @@ -122805,11 +123137,11 @@ x-webhooks: - everyone required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + rule: *859 sender: *4 required: - action @@ -122880,7 +123212,7 @@ x-webhooks: required: true content: application/json: - schema: &860 + schema: &862 title: Exemption request cancellation event type: object properties: @@ -122888,11 +123220,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: &858 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: &860 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123125,7 +123457,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &859 + items: &861 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -123233,7 +123565,7 @@ x-webhooks: required: true content: application/json: - schema: &861 + schema: &863 title: Exemption request completed event type: object properties: @@ -123241,11 +123573,11 @@ x-webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 sender: *4 required: - action @@ -123315,7 +123647,7 @@ x-webhooks: required: true content: application/json: - schema: &862 + schema: &864 title: Exemption request created event type: object properties: @@ -123323,11 +123655,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 sender: *4 required: - action @@ -123397,7 +123729,7 @@ x-webhooks: required: true content: application/json: - schema: &863 + schema: &865 title: Exemption response dismissed event type: object properties: @@ -123405,12 +123737,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 + exemption_response: *861 sender: *4 required: - action @@ -123482,7 +123814,7 @@ x-webhooks: required: true content: application/json: - schema: &864 + schema: &866 title: Exemption response submitted event type: object properties: @@ -123490,12 +123822,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + exemption_request: *860 + exemption_response: *861 sender: *4 required: - action @@ -123568,7 +123900,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123635,7 +123967,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123702,7 +124034,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123769,7 +124101,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123837,7 +124169,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123915,7 +124247,7 @@ x-webhooks: type: string enum: - completed - check_run: &866 + check_run: &868 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123968,8 +124300,8 @@ x-webhooks: type: string pull_requests: type: array - items: *535 - repository: *278 + items: *537 + repository: *280 status: example: completed type: string @@ -124006,7 +124338,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *865 + deployment: *867 details_url: example: https://example.com type: string @@ -124056,7 +124388,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *535 + items: *537 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -124091,10 +124423,10 @@ x-webhooks: - output - app - pull_requests - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 sender: *4 required: - check_run @@ -124487,11 +124819,11 @@ x-webhooks: type: string enum: - created - check_run: *866 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *868 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 sender: *4 required: - check_run @@ -124887,11 +125219,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *866 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *868 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 requested_action: description: The action requested by the user. type: object @@ -125296,11 +125628,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *866 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *868 + installation: *856 + enterprise: *855 + organization: *857 + repository: *858 sender: *4 required: - check_run @@ -126277,10 +126609,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -126950,10 +127282,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -127617,10 +127949,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -127786,7 +128118,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127931,20 +128263,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &867 + commit_oid: &869 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: *853 - installation: *854 - organization: *855 - ref: &868 + enterprise: *855 + installation: *856 + organization: *857 + ref: &870 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: *856 + repository: *858 sender: *4 required: - action @@ -128109,7 +128441,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128339,12 +128671,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -128439,7 +128771,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128610,12 +128942,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -128781,7 +129113,7 @@ x-webhooks: required: - login - id - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128947,12 +129279,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -129052,7 +129384,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129220,16 +129552,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *856 + repository: *858 sender: *4 required: - action @@ -129326,7 +129658,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *548 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129466,12 +129798,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *867 - enterprise: *853 - installation: *854 - organization: *855 - ref: *868 - repository: *856 + commit_oid: *869 + enterprise: *855 + installation: *856 + organization: *857 + ref: *870 + repository: *858 sender: *4 required: - action @@ -129728,10 +130060,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -129811,18 +130143,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *855 - pusher_type: &869 + organization: *857 + pusher_type: &871 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &870 + ref: &872 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129832,7 +130164,7 @@ x-webhooks: enum: - tag - branch - repository: *856 + repository: *858 sender: *4 required: - ref @@ -129915,9 +130247,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130002,9 +130334,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130082,9 +130414,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130162,9 +130494,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -130241,10 +130573,10 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - repository: *856 - organization: *855 + enterprise: *855 + installation: *856 + repository: *858 + organization: *857 sender: *4 new_property_values: type: array @@ -130329,18 +130661,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - pusher_type: *869 - ref: *870 + enterprise: *855 + installation: *856 + organization: *857 + pusher_type: *871 + ref: *872 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *856 + repository: *858 sender: *4 required: - ref @@ -130424,11 +130756,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130512,11 +130844,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130600,11 +130932,11 @@ x-webhooks: type: string enum: - created - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130686,11 +131018,11 @@ x-webhooks: type: string enum: - dismissed - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130772,11 +131104,11 @@ x-webhooks: type: string enum: - fixed - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130859,11 +131191,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -130945,11 +131277,11 @@ x-webhooks: type: string enum: - reopened - alert: *604 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *606 + installation: *856 + organization: *857 + enterprise: *855 + repository: *858 sender: *4 required: - action @@ -131026,9 +131358,9 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - key: &871 + enterprise: *855 + installation: *856 + key: &873 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131064,8 +131396,8 @@ x-webhooks: - verified - created_at - read_only - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -131142,11 +131474,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - key: *871 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + key: *873 + organization: *857 + repository: *858 sender: *4 required: - action @@ -131707,12 +132039,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: &875 + workflow: &877 title: Workflow type: object nullable: true @@ -132438,13 +132770,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *610 + deployment: *612 pull_requests: type: array - items: *705 - repository: *856 - organization: *855 - installation: *854 + items: *707 + repository: *858 + organization: *857 + installation: *856 sender: *4 responses: '200': @@ -132515,7 +132847,7 @@ x-webhooks: type: string enum: - approved - approver: &872 + approver: &874 type: object properties: avatar_url: @@ -132558,11 +132890,11 @@ x-webhooks: type: string comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: &873 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + reviewers: &875 type: array items: type: object @@ -132641,7 +132973,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &874 + workflow_job_run: &876 type: object properties: conclusion: @@ -133372,18 +133704,18 @@ x-webhooks: type: string enum: - rejected - approver: *872 + approver: *874 comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: *873 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + reviewers: *875 sender: *4 since: type: string - workflow_job_run: *874 + workflow_job_run: *876 workflow_job_runs: type: array items: @@ -134087,13 +134419,13 @@ x-webhooks: type: string enum: - requested - enterprise: *853 + enterprise: *855 environment: type: string - installation: *854 - organization: *855 - repository: *856 - requestor: &880 + installation: *856 + organization: *857 + repository: *858 + requestor: &882 title: User type: object nullable: true @@ -135992,12 +136324,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Deployment Workflow Run type: object @@ -136677,7 +137009,7 @@ x-webhooks: type: string enum: - answered - answer: &878 + answer: &880 type: object properties: author_association: @@ -136834,7 +137166,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &876 + discussion: &878 title: Discussion description: A Discussion in a repository. type: object @@ -137120,7 +137452,7 @@ x-webhooks: - id labels: type: array - items: *667 + items: *669 required: - repository_url - category @@ -137142,10 +137474,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137272,11 +137604,11 @@ x-webhooks: - from required: - category - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137359,11 +137691,11 @@ x-webhooks: type: string enum: - closed - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137445,7 +137777,7 @@ x-webhooks: type: string enum: - created - comment: &877 + comment: &879 type: object properties: author_association: @@ -137602,11 +137934,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137689,12 +138021,12 @@ x-webhooks: type: string enum: - deleted - comment: *877 - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *879 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137789,12 +138121,12 @@ x-webhooks: - from required: - body - comment: *877 - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *879 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137878,11 +138210,11 @@ x-webhooks: type: string enum: - created - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -137964,11 +138296,11 @@ x-webhooks: type: string enum: - deleted - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138068,11 +138400,11 @@ x-webhooks: type: string required: - from - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138154,10 +138486,10 @@ x-webhooks: type: string enum: - labeled - discussion: *876 - enterprise: *853 - installation: *854 - label: &879 + discussion: *878 + enterprise: *855 + installation: *856 + label: &881 title: Label type: object properties: @@ -138189,8 +138521,8 @@ x-webhooks: - color - default - description - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138273,11 +138605,11 @@ x-webhooks: type: string enum: - locked - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138359,11 +138691,11 @@ x-webhooks: type: string enum: - pinned - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138445,11 +138777,11 @@ x-webhooks: type: string enum: - reopened - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138534,16 +138866,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *876 - new_repository: *856 + new_discussion: *878 + new_repository: *858 required: - new_discussion - new_repository - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138626,10 +138958,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *876 - old_answer: *878 - organization: *855 - repository: *856 + discussion: *878 + old_answer: *880 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138711,12 +139043,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *876 - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138799,11 +139131,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138885,11 +139217,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *876 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *878 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -138958,7 +139290,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139021,7 +139353,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139087,7 +139419,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139153,7 +139485,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139219,7 +139551,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139285,7 +139617,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139351,7 +139683,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139418,7 +139750,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *853 + enterprise: *855 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -140078,9 +140410,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - forkee @@ -140226,9 +140558,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pages: description: The pages that were updated. type: array @@ -140265,7 +140597,7 @@ x-webhooks: - action - sha - html_url - repository: *856 + repository: *858 sender: *4 required: - pages @@ -140341,10 +140673,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: &881 + organization: *857 + repositories: &883 description: An array of repository objects that the installation can access. type: array @@ -140370,8 +140702,8 @@ x-webhooks: - name - full_name - private - repository: *856 - requester: *880 + repository: *858 + requester: *882 sender: *4 required: - action @@ -140446,11 +140778,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -140526,11 +140858,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -140606,10 +140938,10 @@ x-webhooks: type: string enum: - added - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories_added: &882 + organization: *857 + repositories_added: &884 description: An array of repository objects, which were added to the installation. type: array @@ -140655,15 +140987,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *856 - repository_selection: &883 + repository: *858 + repository_selection: &885 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *880 + requester: *882 sender: *4 required: - action @@ -140742,10 +141074,10 @@ x-webhooks: type: string enum: - removed - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories_added: *882 + organization: *857 + repositories_added: *884 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140772,9 +141104,9 @@ x-webhooks: - name - full_name - private - repository: *856 - repository_selection: *883 - requester: *880 + repository: *858 + repository_selection: *885 + requester: *882 sender: *4 required: - action @@ -140853,11 +141185,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -141036,10 +141368,10 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 target_type: type: string @@ -141118,11 +141450,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *853 + enterprise: *855 installation: *22 - organization: *855 - repositories: *881 - repository: *856 + organization: *857 + repositories: *883 + repository: *858 requester: nullable: true sender: *4 @@ -141246,8 +141578,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 reactions: title: Reactions type: object @@ -141374,8 +141706,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142169,8 +142501,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142186,7 +142518,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -142519,8 +142851,8 @@ x-webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -142600,7 +142932,7 @@ x-webhooks: type: string enum: - deleted - comment: &884 + comment: &886 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142765,8 +143097,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143556,8 +143888,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143573,7 +143905,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -143908,8 +144240,8 @@ x-webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -143989,7 +144321,7 @@ x-webhooks: type: string enum: - edited - changes: &913 + changes: &915 description: The changes to the comment. type: object properties: @@ -144001,9 +144333,9 @@ x-webhooks: type: string required: - from - comment: *884 - enterprise: *853 - installation: *854 + comment: *886 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144796,8 +145128,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144813,7 +145145,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -145146,8 +145478,8 @@ x-webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145231,15 +145563,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145327,15 +145659,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145422,15 +145754,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *854 - organization: *855 - repository: *856 + blocking_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145518,15 +145850,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *854 - organization: *855 - repository: *856 + blocking_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -145611,10 +145943,10 @@ x-webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - issue: &887 + assignee: *882 + enterprise: *855 + installation: *856 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146403,11 +146735,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146423,7 +146755,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -146524,8 +146856,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -146605,8 +146937,8 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147400,11 +147732,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147420,7 +147752,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -147656,8 +147988,8 @@ x-webhooks: required: - state - closed_at - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -147736,8 +148068,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148522,11 +148854,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148542,7 +148874,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -148642,8 +148974,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -148722,8 +149054,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149530,11 +149862,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149550,7 +149882,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -149629,7 +149961,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &885 + milestone: &887 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149767,8 +150099,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -149867,8 +150199,8 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150657,11 +150989,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150674,7 +151006,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -150778,9 +151110,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *879 - organization: *855 - repository: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -150860,8 +151192,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151649,11 +151981,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151666,7 +151998,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -151770,9 +152102,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *879 - organization: *855 - repository: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -151852,8 +152184,8 @@ x-webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152665,11 +152997,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152682,7 +153014,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -152763,8 +153095,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -152843,8 +153175,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153650,11 +153982,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153670,7 +154002,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -153748,9 +154080,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *885 - organization: *855 - repository: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -154618,11 +154950,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154715,7 +155047,7 @@ x-webhooks: required: - login - id - type: *362 + type: *364 required: - id - number @@ -155184,8 +155516,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155974,11 +156306,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155994,7 +156326,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -156094,8 +156426,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -156175,9 +156507,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *853 - installation: *854 - issue: &886 + enterprise: *855 + installation: *856 + issue: &888 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156960,11 +157292,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156980,7 +157312,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -157080,8 +157412,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -157160,8 +157492,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157971,11 +158303,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158069,9 +158401,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *362 - organization: *855 - repository: *856 + type: *364 + organization: *857 + repository: *858 sender: *4 required: - action @@ -158937,11 +159269,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158957,7 +159289,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -159525,11 +159857,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *853 - installation: *854 - issue: *886 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *888 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159609,12 +159941,12 @@ x-webhooks: type: string enum: - typed - enterprise: *853 - installation: *854 - issue: *887 - type: *362 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + type: *364 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159695,7 +160027,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &916 + assignee: &918 title: User type: object nullable: true @@ -159765,11 +160097,11 @@ x-webhooks: required: - login - id - enterprise: *853 - installation: *854 - issue: *887 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159848,12 +160180,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - issue: *887 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -159933,8 +160265,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160744,11 +161076,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *798 - issue_dependencies_summary: *799 + sub_issues_summary: *800 + issue_dependencies_summary: *801 issue_field_values: type: array - items: *800 + items: *802 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160764,7 +161096,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -160842,8 +161174,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -160923,11 +161255,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *853 - installation: *854 - issue: *886 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *888 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161006,12 +161338,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *853 - installation: *854 - issue: *887 - type: *362 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + issue: *889 + type: *364 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161091,11 +161423,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161173,11 +161505,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161287,11 +161619,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - label: *879 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + label: *881 + organization: *857 + repository: *858 sender: *4 required: - action @@ -161373,9 +161705,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: &888 + enterprise: *855 + installation: *856 + marketplace_purchase: &890 title: Marketplace Purchase type: object required: @@ -161458,8 +161790,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: &889 + organization: *857 + previous_marketplace_purchase: &891 title: Marketplace Purchase type: object properties: @@ -161539,7 +161871,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *858 sender: *4 required: - action @@ -161619,10 +161951,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *855 + installation: *856 + marketplace_purchase: *890 + organization: *857 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161705,7 +162037,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *858 sender: *4 required: - action @@ -161787,10 +162119,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *855 + installation: *856 + marketplace_purchase: *890 + organization: *857 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161872,7 +162204,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *858 sender: *4 required: - action @@ -161953,8 +162285,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 marketplace_purchase: title: Marketplace Purchase type: object @@ -162036,9 +162368,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + organization: *857 + previous_marketplace_purchase: *891 + repository: *858 sender: *4 required: - action @@ -162118,12 +162450,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + enterprise: *855 + installation: *856 + marketplace_purchase: *890 + organization: *857 + previous_marketplace_purchase: *891 + repository: *858 sender: *4 required: - action @@ -162225,11 +162557,11 @@ x-webhooks: type: string required: - to - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 sender: *4 required: - action @@ -162329,11 +162661,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 sender: *4 required: - action @@ -162412,11 +162744,11 @@ x-webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 sender: *4 required: - action @@ -162494,11 +162826,11 @@ x-webhooks: type: string enum: - added - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162574,7 +162906,7 @@ x-webhooks: required: - login - id - team: &890 + team: &892 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162797,11 +163129,11 @@ x-webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + member: *882 + organization: *857 + repository: *858 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162878,7 +163210,7 @@ x-webhooks: required: - login - id - team: *890 + team: *892 required: - action - scope @@ -162960,8 +163292,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *854 - merge_group: &892 + installation: *856 + merge_group: &894 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162980,15 +163312,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *891 + head_commit: *893 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163074,10 +163406,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *854 - merge_group: *892 - organization: *855 - repository: *856 + installation: *856 + merge_group: *894 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163150,7 +163482,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *855 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163259,16 +163591,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *854 - organization: *855 + installation: *856 + organization: *857 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -163349,11 +163681,11 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - milestone: *885 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163432,9 +163764,9 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - milestone: &895 + enterprise: *855 + installation: *856 + milestone: &897 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163571,8 +163903,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163651,11 +163983,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - milestone: *885 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163765,11 +164097,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - milestone: *885 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *887 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163849,11 +164181,11 @@ x-webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - milestone: *895 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + milestone: *897 + organization: *857 + repository: *858 sender: *4 required: - action @@ -163932,11 +164264,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *882 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164015,11 +164347,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *882 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164095,7 +164427,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *853 + enterprise: *855 sender: *4 required: - action @@ -164175,8 +164507,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 sender: *4 required: - action @@ -164249,8 +164581,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 sender: *4 required: - action @@ -164322,9 +164654,9 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 new_property_values: type: array @@ -164412,9 +164744,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - membership: &896 + enterprise: *855 + installation: *856 + membership: &898 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164521,8 +164853,8 @@ x-webhooks: - role - organization_url - user - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164600,11 +164932,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *853 - installation: *854 - membership: *896 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + membership: *898 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164683,8 +165015,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164800,10 +165132,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 - user: *880 + user: *882 required: - action - invitation @@ -164881,11 +165213,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *853 - installation: *854 - membership: *896 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + membership: *898 + organization: *857 + repository: *858 sender: *4 required: - action @@ -164972,11 +165304,11 @@ x-webhooks: properties: from: type: string - enterprise: *853 - installation: *854 - membership: *896 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + membership: *898 + organization: *857 + repository: *858 sender: *4 required: - action @@ -165052,9 +165384,9 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 package: description: Information about the package. type: object @@ -165553,7 +165885,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &897 + items: &899 title: Ruby Gems metadata type: object properties: @@ -165648,7 +165980,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -165724,9 +166056,9 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 package: description: Information about the package. type: object @@ -166079,7 +166411,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *897 + items: *899 source_url: type: string format: uri @@ -166149,7 +166481,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -166326,12 +166658,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *853 + enterprise: *855 id: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - id @@ -166408,7 +166740,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &898 + personal_access_token_request: &900 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166554,10 +166886,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *853 - organization: *855 + enterprise: *855 + organization: *857 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166634,11 +166966,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *898 - enterprise: *853 - organization: *855 + personal_access_token_request: *900 + enterprise: *855 + organization: *857 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166714,11 +167046,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *898 - enterprise: *853 - organization: *855 + personal_access_token_request: *900 + enterprise: *855 + organization: *857 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166793,11 +167125,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *898 - organization: *855 - enterprise: *853 + personal_access_token_request: *900 + organization: *857 + enterprise: *855 sender: *4 - installation: *854 + installation: *856 required: - action - personal_access_token_request @@ -166902,7 +167234,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *899 + last_response: *901 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166934,8 +167266,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 zen: description: Random string of GitHub zen. @@ -167180,10 +167512,10 @@ x-webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: &900 + enterprise: *855 + installation: *856 + organization: *857 + project_card: &902 title: Project Card type: object properties: @@ -167302,7 +167634,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *856 + repository: *858 sender: *4 required: - action @@ -167383,11 +167715,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_card: *900 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_card: *902 + repository: *858 sender: *4 required: - action @@ -167467,9 +167799,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 project_card: title: Project Card type: object @@ -167597,8 +167929,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -167692,11 +168024,11 @@ x-webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: *900 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_card: *902 + repository: *858 sender: *4 required: - action @@ -167790,9 +168122,9 @@ x-webhooks: - from required: - column_id - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 project_card: allOf: - title: Project Card @@ -167982,7 +168314,7 @@ x-webhooks: type: string required: - after_id - repository: *856 + repository: *858 sender: *4 required: - action @@ -168062,10 +168394,10 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - organization: *855 - project: &902 + enterprise: *855 + installation: *856 + organization: *857 + project: &904 title: Project type: object properties: @@ -168189,7 +168521,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *856 + repository: *858 sender: *4 required: - action @@ -168269,10 +168601,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_column: &901 + enterprise: *855 + installation: *856 + organization: *857 + project_column: &903 title: Project Column type: object properties: @@ -168311,7 +168643,7 @@ x-webhooks: - name - created_at - updated_at - repository: *856 + repository: *858 sender: *4 required: - action @@ -168390,18 +168722,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project_column: *901 + enterprise: *855 + installation: *856 + organization: *857 + project_column: *903 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -168491,11 +168823,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project_column: *901 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_column: *903 + repository: *858 sender: *4 required: - action @@ -168575,11 +168907,11 @@ x-webhooks: type: string enum: - moved - enterprise: *853 - installation: *854 - organization: *855 - project_column: *901 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project_column: *903 + repository: *858 sender: *4 required: - action @@ -168659,11 +168991,11 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project: *902 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 + repository: *858 sender: *4 required: - action @@ -168743,18 +169075,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project: *902 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *893 - required: *894 + properties: *895 + required: *896 nullable: true sender: *4 required: @@ -168856,11 +169188,11 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project: *902 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 + repository: *858 sender: *4 required: - action @@ -168939,11 +169271,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - organization: *855 - project: *902 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + project: *904 + repository: *858 sender: *4 required: - action @@ -169024,9 +169356,9 @@ x-webhooks: type: string enum: - closed - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169107,9 +169439,9 @@ x-webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169190,9 +169522,9 @@ x-webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169309,9 +169641,9 @@ x-webhooks: type: string to: type: string - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -169394,7 +169726,7 @@ x-webhooks: type: string enum: - archived - changes: &906 + changes: &908 type: object properties: archived_at: @@ -169408,9 +169740,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *854 - organization: *855 - projects_v2_item: &903 + installation: *856 + organization: *857 + projects_v2_item: &905 title: Projects v2 Item description: An item belonging to a project type: object @@ -169428,7 +169760,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *403 + content_type: *405 creator: *4 created_at: type: string @@ -169545,9 +169877,9 @@ x-webhooks: nullable: true to: type: string - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169629,9 +169961,9 @@ x-webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169712,9 +170044,9 @@ x-webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169820,7 +170152,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &904 + - &906 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169842,7 +170174,7 @@ x-webhooks: required: - id - name - - &905 + - &907 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169876,8 +170208,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *904 - - *905 + - *906 + - *907 required: - field_value - type: object @@ -169893,9 +170225,9 @@ x-webhooks: nullable: true required: - body - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -169990,9 +170322,9 @@ x-webhooks: to: type: string nullable: true - installation: *854 - organization: *855 - projects_v2_item: *903 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -170075,10 +170407,10 @@ x-webhooks: type: string enum: - restored - changes: *906 - installation: *854 - organization: *855 - projects_v2_item: *903 + changes: *908 + installation: *856 + organization: *857 + projects_v2_item: *905 sender: *4 required: - action @@ -170160,9 +170492,9 @@ x-webhooks: type: string enum: - reopened - installation: *854 - organization: *855 - projects_v2: *395 + installation: *856 + organization: *857 + projects_v2: *397 sender: *4 required: - action @@ -170243,14 +170575,14 @@ x-webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_status_update: &909 + installation: *856 + organization: *857 + projects_v2_status_update: &911 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *907 - required: *908 + properties: *909 + required: *910 sender: *4 required: - action @@ -170331,9 +170663,9 @@ x-webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_status_update: *909 + installation: *856 + organization: *857 + projects_v2_status_update: *911 sender: *4 required: - action @@ -170469,9 +170801,9 @@ x-webhooks: type: string format: date nullable: true - installation: *854 - organization: *855 - projects_v2_status_update: *909 + installation: *856 + organization: *857 + projects_v2_status_update: *911 sender: *4 required: - action @@ -170542,10 +170874,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - repository @@ -170622,13 +170954,13 @@ x-webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - number: &910 + assignee: *882 + enterprise: *855 + installation: *856 + number: &912 description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -172911,7 +173243,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -172993,11 +173325,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -175275,7 +175607,7 @@ x-webhooks: - draft reason: type: string - repository: *856 + repository: *858 sender: *4 required: - action @@ -175357,11 +175689,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -177639,7 +177971,7 @@ x-webhooks: - draft reason: type: string - repository: *856 + repository: *858 sender: *4 required: - action @@ -177721,13 +178053,13 @@ x-webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: &911 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: &913 allOf: - - *705 + - *707 - type: object properties: allow_auto_merge: @@ -177789,7 +178121,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *856 + repository: *858 sender: *4 required: - action @@ -177870,12 +178202,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -177955,11 +178287,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *853 - milestone: *687 - number: *910 - organization: *855 - pull_request: &912 + enterprise: *855 + milestone: *689 + number: *912 + organization: *857 + pull_request: &914 title: Pull Request type: object properties: @@ -180222,7 +180554,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -180301,11 +180633,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -182587,7 +182919,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *856 + repository: *858 sender: *4 required: - action @@ -182711,12 +183043,12 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -182796,11 +183128,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -185067,7 +185399,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -185147,11 +185479,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 - label: *879 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + label: *881 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -187433,7 +187765,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -187514,10 +187846,10 @@ x-webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -189797,7 +190129,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -189877,12 +190209,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *853 - milestone: *687 - number: *910 - organization: *855 - pull_request: *912 - repository: *856 + enterprise: *855 + milestone: *689 + number: *912 + organization: *857 + pull_request: *914 + repository: *858 sender: *4 required: - action @@ -189961,12 +190293,12 @@ x-webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -190047,12 +190379,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -190132,12 +190464,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - number: *910 - organization: *855 - pull_request: *911 - repository: *856 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 + pull_request: *913 + repository: *858 sender: *4 required: - action @@ -190503,9 +190835,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: type: object properties: @@ -192675,7 +193007,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *858 sender: *4 required: - action @@ -192755,7 +193087,7 @@ x-webhooks: type: string enum: - deleted - comment: &914 + comment: &916 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. @@ -193040,9 +193372,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: type: object properties: @@ -195200,7 +195532,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *858 sender: *4 required: - action @@ -195280,11 +195612,11 @@ x-webhooks: type: string enum: - edited - changes: *913 - comment: *914 - enterprise: *853 - installation: *854 - organization: *855 + changes: *915 + comment: *916 + enterprise: *855 + installation: *856 + organization: *857 pull_request: type: object properties: @@ -197445,7 +197777,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *858 sender: *4 required: - action @@ -197526,9 +197858,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -199701,7 +200033,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *858 review: description: The review that was affected. type: object @@ -199948,9 +200280,9 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -202004,8 +202336,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: &915 + repository: *858 + review: &917 description: The review that was affected. type: object properties: @@ -202238,12 +202570,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -204526,7 +204858,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_reviewer: title: User type: object @@ -204610,12 +204942,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -206905,7 +207237,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207097,12 +207429,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -209387,7 +209719,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_reviewer: title: User type: object @@ -209472,12 +209804,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *855 + installation: *856 number: description: The pull request number. type: integer - organization: *855 + organization: *857 pull_request: title: Pull Request type: object @@ -211753,7 +212085,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211934,9 +212266,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -214111,8 +214443,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: *915 + repository: *858 + review: *917 sender: *4 required: - action @@ -214192,9 +214524,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -216264,7 +216596,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *858 sender: *4 thread: type: object @@ -216651,9 +216983,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 pull_request: title: Simple Pull Request type: object @@ -218709,7 +219041,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *858 sender: *4 thread: type: object @@ -219099,10 +219431,10 @@ x-webhooks: type: string before: type: string - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -221373,7 +221705,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -221455,11 +221787,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *916 - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + assignee: *918 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -223742,7 +224074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -223821,11 +224153,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - label: *879 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + label: *881 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -226098,7 +226430,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -226179,10 +226511,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 - number: *910 - organization: *855 + enterprise: *855 + installation: *856 + number: *912 + organization: *857 pull_request: title: Pull Request type: object @@ -228447,7 +228779,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *858 sender: *4 required: - action @@ -228647,7 +228979,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *853 + enterprise: *855 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228739,8 +229071,8 @@ x-webhooks: - url - author - committer - installation: *854 - organization: *855 + installation: *856 + organization: *857 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229315,9 +229647,9 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 registry_package: type: object properties: @@ -229763,7 +230095,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *897 + items: *899 summary: type: string tag_name: @@ -229817,7 +230149,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -229895,9 +230227,9 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 registry_package: type: object properties: @@ -230205,7 +230537,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *897 + items: *899 summary: type: string tag_name: @@ -230254,7 +230586,7 @@ x-webhooks: - owner - package_version - registry - repository: *856 + repository: *858 sender: *4 required: - action @@ -230331,10 +230663,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - release: &917 + enterprise: *855 + installation: *856 + organization: *857 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230652,7 +230984,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *856 + repository: *858 sender: *4 required: - action @@ -230729,11 +231061,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - release: *917 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *919 + repository: *858 sender: *4 required: - action @@ -230850,11 +231182,11 @@ x-webhooks: type: boolean required: - to - enterprise: *853 - installation: *854 - organization: *855 - release: *917 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *919 + repository: *858 sender: *4 required: - action @@ -230932,9 +231264,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231256,7 +231588,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *856 + repository: *858 sender: *4 required: - action @@ -231332,10 +231664,10 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - release: &918 + enterprise: *855 + installation: *856 + organization: *857 + release: &920 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231654,7 +231986,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *856 + repository: *858 sender: *4 required: - action @@ -231730,11 +232062,11 @@ x-webhooks: type: string enum: - released - enterprise: *853 - installation: *854 - organization: *855 - release: *917 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *919 + repository: *858 sender: *4 required: - action @@ -231810,11 +232142,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *853 - installation: *854 - organization: *855 - release: *918 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + release: *920 + repository: *858 sender: *4 required: - action @@ -231890,11 +232222,11 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *758 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + repository_advisory: *760 sender: *4 required: - action @@ -231970,11 +232302,11 @@ x-webhooks: type: string enum: - reported - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *758 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + repository_advisory: *760 sender: *4 required: - action @@ -232050,10 +232382,10 @@ x-webhooks: type: string enum: - archived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232130,10 +232462,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232211,10 +232543,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232298,10 +232630,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232413,10 +232745,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232488,10 +232820,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 status: type: string @@ -232572,10 +232904,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232652,10 +232984,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232749,10 +233081,10 @@ x-webhooks: - name required: - repository - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -232832,10 +233164,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 repository_ruleset: *185 sender: *4 required: @@ -232914,10 +233246,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 repository_ruleset: *185 sender: *4 required: @@ -232996,10 +233328,10 @@ x-webhooks: type: string enum: - edited - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 repository_ruleset: *185 changes: type: object @@ -233061,16 +233393,16 @@ x-webhooks: properties: added: type: array - items: *726 + items: *728 deleted: type: array - items: *726 + items: *728 updated: type: array items: type: object properties: - rule: *726 + rule: *728 changes: type: object properties: @@ -233304,10 +233636,10 @@ x-webhooks: - from required: - owner - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233385,10 +233717,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233466,7 +233798,7 @@ x-webhooks: type: string enum: - create - alert: &919 + alert: &921 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233587,10 +233919,10 @@ x-webhooks: type: string enum: - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233796,10 +234128,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -233877,11 +234209,11 @@ x-webhooks: type: string enum: - reopen - alert: *919 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *921 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234080,10 +234412,10 @@ x-webhooks: enum: - fixed - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234161,7 +234493,7 @@ x-webhooks: type: string enum: - created - alert: &920 + alert: &922 type: object properties: number: *123 @@ -234279,10 +234611,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234363,11 +234695,11 @@ x-webhooks: type: string enum: - created - alert: *920 - installation: *854 - location: *921 - organization: *855 - repository: *856 + alert: *922 + installation: *856 + location: *923 + organization: *857 + repository: *858 sender: *4 required: - location @@ -234605,11 +234937,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234687,11 +235019,11 @@ x-webhooks: type: string enum: - reopened - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234769,11 +235101,11 @@ x-webhooks: type: string enum: - resolved - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234851,11 +235183,11 @@ x-webhooks: type: string enum: - validated - alert: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -234981,10 +235313,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *856 - enterprise: *853 - installation: *854 - organization: *855 + repository: *858 + enterprise: *855 + installation: *856 + organization: *857 sender: *4 required: - action @@ -235062,11 +235394,11 @@ x-webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: &922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + security_advisory: &924 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235249,11 +235581,11 @@ x-webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: *922 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 + security_advisory: *924 sender: *4 required: - action @@ -235326,10 +235658,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235513,11 +235845,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *411 - enterprise: *853 - installation: *854 - organization: *855 - repository: *478 + security_and_analysis: *413 + enterprise: *855 + installation: *856 + organization: *857 + repository: *480 sender: *4 required: - changes @@ -235595,12 +235927,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: &923 + sponsorship: &925 type: object properties: created_at: @@ -235901,12 +236233,12 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - sponsorship @@ -235994,12 +236326,12 @@ x-webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - changes @@ -236076,17 +236408,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &924 + effective_date: &926 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: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - sponsorship @@ -236160,7 +236492,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &925 + changes: &927 type: object properties: tier: @@ -236204,13 +236536,13 @@ x-webhooks: - from required: - tier - effective_date: *924 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + effective_date: *926 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - changes @@ -236287,13 +236619,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *925 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + changes: *927 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - sponsorship: *923 + sponsorship: *925 required: - action - changes @@ -236367,10 +236699,10 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236453,10 +236785,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236876,15 +237208,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *853 + enterprise: *855 id: description: The unique identifier of the status. type: integer - installation: *854 + installation: *856 name: type: string - organization: *855 - repository: *856 + organization: *857 + repository: *858 sender: *4 sha: description: The Commit SHA. @@ -236993,15 +237325,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *854 - organization: *855 - repository: *856 + sub_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237085,15 +237417,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *854 - organization: *855 - repository: *856 + sub_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237177,15 +237509,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *854 - organization: *855 - repository: *856 + parent_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237269,15 +237601,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *854 - organization: *855 - repository: *856 + parent_issue: *226 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -237354,12 +237686,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - team: &926 + team: &928 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237582,9 +237914,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -238042,7 +238374,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -238118,9 +238450,9 @@ x-webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -238578,7 +238910,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -238655,9 +238987,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -239115,7 +239447,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -239259,9 +239591,9 @@ x-webhooks: - from required: - permissions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -239719,7 +240051,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - changes @@ -239797,9 +240129,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *855 + installation: *856 + organization: *857 repository: title: Repository description: A git repository @@ -240257,7 +240589,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *926 + team: *928 required: - action - team @@ -240333,10 +240665,10 @@ x-webhooks: type: string enum: - started - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 required: - action @@ -240409,16 +240741,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *853 + enterprise: *855 inputs: type: object nullable: true additionalProperties: true - installation: *854 - organization: *855 + installation: *856 + organization: *857 ref: type: string - repository: *856 + repository: *858 sender: *4 workflow: type: string @@ -240500,10 +240832,10 @@ x-webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: allOf: @@ -240740,7 +241072,7 @@ x-webhooks: type: string required: - conclusion - deployment: *610 + deployment: *612 required: - action - repository @@ -240819,10 +241151,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: allOf: @@ -241082,7 +241414,7 @@ x-webhooks: required: - status - steps - deployment: *610 + deployment: *612 required: - action - repository @@ -241161,10 +241493,10 @@ x-webhooks: type: string enum: - queued - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: type: object @@ -241299,7 +241631,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *610 + deployment: *612 required: - action - repository @@ -241378,10 +241710,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 workflow_job: type: object @@ -241517,7 +241849,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *610 + deployment: *612 required: - action - repository @@ -241597,12 +241929,12 @@ x-webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Workflow Run type: object @@ -242601,12 +242933,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Workflow Run type: object @@ -243590,12 +243922,12 @@ x-webhooks: type: string enum: - requested - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *855 + installation: *856 + organization: *857 + repository: *858 sender: *4 - workflow: *875 + workflow: *877 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 84e8cd0f7..5167ea7f6 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -12682,9 +12682,6 @@ { "$ref": "#/components/parameters/billing-usage-report-day" }, - { - "$ref": "#/components/parameters/billing-usage-report-hour" - }, { "name": "cost_center_id", "description": "The ID corresponding to a cost center. The default value is no cost center.", @@ -12720,6 +12717,72 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + }, + { + "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + }, + "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": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -17379,16 +17442,73 @@ { "$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 report 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-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-hour" + "$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_report_org" + "$ref": "#/components/responses/billing_usage_summary_report_org" }, "400": { "$ref": "#/components/responses/bad_request" @@ -22689,6 +22809,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -42646,165 +42774,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project-column" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -91646,9 +91615,6 @@ }, { "$ref": "#/components/parameters/billing-usage-report-day" - }, - { - "$ref": "#/components/parameters/billing-usage-report-hour" } ], "responses": { @@ -91676,6 +91642,69 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-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-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", @@ -129482,6 +129511,133 @@ } } }, + "billing-usage-summary-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "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." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "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", + "enterprise", + "usageItems" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -132998,6 +133154,112 @@ "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.", @@ -158262,6 +158524,112 @@ } } }, + "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).\"", @@ -304425,6 +304793,28 @@ ] } }, + "billing-usage-summary-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "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 + } + ] + } + }, "simple-user-items": { "value": [ { @@ -306187,6 +306577,28 @@ ] } }, + "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", @@ -313051,20 +313463,6 @@ } } }, - "project-column-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - }, "rate-limit-overview": { "value": { "resources": { @@ -331567,6 +331965,28 @@ ] } }, + "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", @@ -333914,13 +334334,31 @@ "type": "integer" } }, - "billing-usage-report-hour": { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", "in": "query", "required": false, "schema": { - "type": "integer" + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-cost-center-id": { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" } }, "enterprise-team": { @@ -335871,6 +336309,21 @@ } } }, + "billing_usage_summary_report_ghe": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-ghe" + } + } + } + } + }, "forbidden_gist": { "description": "Forbidden Gist", "content": { @@ -335944,6 +336397,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "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." }, @@ -336200,6 +336668,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index eb68b9a47..80996e702 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -9041,7 +9041,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -9065,6 +9064,48 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets 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. + + **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-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + - "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + '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: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -12346,7 +12387,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_org" @@ -12363,6 +12403,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-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-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 @@ -16315,6 +16395,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -30728,117 +30821,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns - parameters: - - "$ref": "#/components/parameters/project-id" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project-column" - examples: - default: - "$ref": "#/components/examples/project-column-items" - headers: - Link: - "$ref": "#/components/headers/link" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-column" - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '422': - "$ref": "#/components/responses/validation_failed_simple" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -66178,7 +66160,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_user" @@ -66195,6 +66176,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-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-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 @@ -94066,6 +94089,100 @@ components: - discountAmount - netAmount - organizationName + billing-usage-summary-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + 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. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + 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 + - enterprise + - usageItems actor: title: Actor description: Actor @@ -96790,6 +96907,85 @@ components: - 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: |- @@ -116290,6 +116486,85 @@ components: - 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: |- @@ -227161,6 +227436,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + billing-usage-summary-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: 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 simple-user-items: value: - login: octocat @@ -228733,6 +229024,22 @@ components: 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 @@ -234628,16 +234935,6 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - project-column-items: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' rate-limit-overview: value: resources: @@ -250477,6 +250774,22 @@ components: 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 @@ -252591,15 +252904,28 @@ components: required: false schema: type: integer - billing-usage-report-hour: - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` - is specified, the default `year`, `month`, and `day` are used. + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. in: query required: false schema: - type: integer + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + billing-usage-report-cost-center-id: + name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -254172,6 +254498,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_ghe: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-ghe" forbidden_gist: description: Forbidden Gist content: @@ -254217,6 +254552,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + 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. @@ -254378,6 +254722,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 84e8cd0f7..5167ea7f6 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -12682,9 +12682,6 @@ { "$ref": "#/components/parameters/billing-usage-report-day" }, - { - "$ref": "#/components/parameters/billing-usage-report-hour" - }, { "name": "cost_center_id", "description": "The ID corresponding to a cost center. The default value is no cost center.", @@ -12720,6 +12717,72 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + }, + { + "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + }, + "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": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -17379,16 +17442,73 @@ { "$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 report 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-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-hour" + "$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_report_org" + "$ref": "#/components/responses/billing_usage_summary_report_org" }, "400": { "$ref": "#/components/responses/bad_request" @@ -22689,6 +22809,14 @@ "deleted" ], "default": "active" + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -42646,165 +42774,6 @@ "deprecated": true } }, - "/projects/{project_id}/columns": { - "get": { - "summary": "List project columns", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-columns", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project-column" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "name": "Remaining tasks" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/rate_limit": { "get": { "summary": "Get rate limit status for the authenticated user", @@ -91646,9 +91615,6 @@ }, { "$ref": "#/components/parameters/billing-usage-report-day" - }, - { - "$ref": "#/components/parameters/billing-usage-report-hour" } ], "responses": { @@ -91676,6 +91642,69 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report 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-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-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", @@ -129482,6 +129511,133 @@ } } }, + "billing-usage-summary-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "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." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "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", + "enterprise", + "usageItems" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -132998,6 +133154,112 @@ "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.", @@ -158262,6 +158524,112 @@ } } }, + "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).\"", @@ -304425,6 +304793,28 @@ ] } }, + "billing-usage-summary-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "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 + } + ] + } + }, "simple-user-items": { "value": [ { @@ -306187,6 +306577,28 @@ ] } }, + "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", @@ -313051,20 +313463,6 @@ } } }, - "project-column-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - }, "rate-limit-overview": { "value": { "resources": { @@ -331567,6 +331965,28 @@ ] } }, + "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", @@ -333914,13 +334334,31 @@ "type": "integer" } }, - "billing-usage-report-hour": { - "name": "hour", - "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", "in": "query", "required": false, "schema": { - "type": "integer" + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-cost-center-id": { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" } }, "enterprise-team": { @@ -335871,6 +336309,21 @@ } } }, + "billing_usage_summary_report_ghe": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-ghe" + } + } + } + } + }, "forbidden_gist": { "description": "Forbidden Gist", "content": { @@ -335944,6 +336397,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "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." }, @@ -336200,6 +336668,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index eb68b9a47..80996e702 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -9041,7 +9041,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" - name: cost_center_id description: The ID corresponding to a cost center. The default value is no cost center. @@ -9065,6 +9064,48 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets 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. + + **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-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + - "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + '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: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -12346,7 +12387,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_org" @@ -12363,6 +12403,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-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-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 @@ -16315,6 +16395,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -30728,117 +30821,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}/columns": - get: - summary: List project columns - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-columns - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns - parameters: - - "$ref": "#/components/parameters/project-id" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project-column" - examples: - default: - "$ref": "#/components/examples/project-column-items" - headers: - Link: - "$ref": "#/components/headers/link" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project column - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-column - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project column - example: Remaining tasks - type: string - required: - - name - type: object - examples: - default: - value: - name: Remaining tasks - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-column" - examples: - default: - value: - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '422': - "$ref": "#/components/responses/validation_failed_simple" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: columns - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -66178,7 +66160,6 @@ paths: - "$ref": "#/components/parameters/billing-usage-report-year" - "$ref": "#/components/parameters/billing-usage-report-month" - "$ref": "#/components/parameters/billing-usage-report-day" - - "$ref": "#/components/parameters/billing-usage-report-hour" responses: '200': "$ref": "#/components/responses/billing_usage_report_user" @@ -66195,6 +66176,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report 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-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-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 @@ -94066,6 +94089,100 @@ components: - discountAmount - netAmount - organizationName + billing-usage-summary-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + 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. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + 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 + - enterprise + - usageItems actor: title: Actor description: Actor @@ -96790,6 +96907,85 @@ components: - 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: |- @@ -116290,6 +116486,85 @@ components: - 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: |- @@ -227161,6 +227436,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + billing-usage-summary-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: 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 simple-user-items: value: - login: octocat @@ -228733,6 +229024,22 @@ components: 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 @@ -234628,16 +234935,6 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - project-column-items: - value: - - url: https://api.github.com/projects/columns/367 - project_url: https://api.github.com/projects/120 - cards_url: https://api.github.com/projects/columns/367/cards - id: 367 - node_id: MDEzOlByb2plY3RDb2x1bW4zNjc= - name: To Do - created_at: '2016-09-05T14:18:44Z' - updated_at: '2016-09-05T14:22:28Z' rate-limit-overview: value: resources: @@ -250477,6 +250774,22 @@ components: 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 @@ -252591,15 +252904,28 @@ components: required: false schema: type: integer - billing-usage-report-hour: - name: hour - description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` - is specified, the default `year`, `month`, and `day` are used. + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. in: query required: false schema: - type: integer + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + billing-usage-report-cost-center-id: + name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -254172,6 +254498,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_ghe: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-ghe" forbidden_gist: description: Forbidden Gist content: @@ -254217,6 +254552,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + 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. @@ -254378,6 +254722,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + ap{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}