diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 1d752c43e..9fecbda7e 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7306,7 +7562,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -7958,6 +8214,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -7976,6 +8239,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -8028,6 +8296,281 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -8394,6 +8937,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -12816,6 +13366,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +17095,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,17 +23724,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -23297,17 +23916,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -44473,16 +45096,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -44498,12 +45111,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +62250,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -75284,17 +75891,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -75463,17 +76074,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -76022,7 +76637,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -105754,578 +106369,6 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "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" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -106411,6 +106454,105 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -110613,105 +110755,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" - ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -110813,7 +110856,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -110821,7 +110864,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -110829,7 +110872,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -111522,6 +111565,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -111692,6 +111742,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -111704,6 +111758,128 @@ "platform" ] }, + "actions-hosted-runner-custom-image": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "actions-hosted-runner-custom-image-version": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, "actions-hosted-runner-curated-image": { "title": "GitHub-hosted runner image details.", "description": "Provides details of a hosted runner image", @@ -112449,6 +112625,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -119923,6 +120108,578 @@ } ] }, + "secret-scanning-alert-state": { + "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" + ] + }, + "secret-scanning-alert-resolution": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } + ] + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + } + } + }, "secret-scanning-row-version": { "type": [ "string", @@ -140006,7 +140763,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -140014,7 +140771,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -140022,7 +140779,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -288819,192 +289576,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -289067,6 +289638,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -290587,24 +291192,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -290908,6 +291495,45 @@ "last_active_on": "2022-10-09T23:39:01Z" } }, + "actions-hosted-runner-custom-image-versions": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + }, + "actions-hosted-runner-custom-image": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + }, + "actions-hosted-runner-custom-image-version": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + }, "actions-hosted-runner-curated-image": { "value": { "id": "ubuntu-20.04", @@ -291971,6 +292597,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297495,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -318019,113 +318843,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -318144,6 +318861,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -318288,15 +319014,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -318369,6 +319086,25 @@ "type": "integer" } }, + "actions-custom-image-definition-id": { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + "actions-custom-image-version": { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + }, "hosted-runner-id": { "name": "hosted_runner_id", "description": "Unique identifier of the GitHub-hosted runner.", @@ -318966,6 +319702,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "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 receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -318984,6 +319765,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 5a3328d6f..a5cefd4e6 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5139,9 +5311,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -5701,6 +5874,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -5718,6 +5897,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -5749,6 +5933,197 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -6005,6 +6380,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -9221,6 +9602,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +12402,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16692,17 +17118,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -16814,17 +17242,19 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32333,14 +32763,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - 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)." @@ -32351,8 +32773,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44635,6 +45055,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54458,17 +54881,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54576,17 +55001,19 @@ paths: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54950,7 +55377,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -76466,424 +76896,6 @@ components: - fixed_at - repository additionalProperties: false - secret-scanning-alert-state: - 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 - secret-scanning-alert-resolution: - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - first_location_detected: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76948,6 +76960,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,77 +80040,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -80102,19 +80114,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -80647,6 +80659,11 @@ components: - github - partner - custom + version: + description: The image version of the hosted runner pool. + type: string + examples: + - latest required: - id - size_gb @@ -80771,6 +80788,9 @@ components: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled for the hosted runners. required: - id - name @@ -80779,6 +80799,97 @@ components: - status - public_ip_enabled - platform + actions-hosted-runner-custom-image: + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` parameter + when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + actions-hosted-runner-custom-image-version: + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details actions-hosted-runner-curated-image: title: GitHub-hosted runner image details. description: Provides details of a hosted runner image @@ -81357,6 +81468,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86946,6 +87064,424 @@ components: state: type: object description: The state of the ruleset version + secret-scanning-alert-state: + 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 + secret-scanning-alert-resolution: + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -101269,19 +101805,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -212583,181 +213119,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -212810,6 +213171,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -214185,20 +214574,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - organization-simple-items: - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization dependabot-repository-access-details: value: default_level: public @@ -214452,6 +214827,34 @@ components: prefix: 20.80.208.150 length: 31 last_active_on: '2022-10-09T23:39:01Z' + actions-hosted-runner-custom-image-versions: + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + actions-hosted-runner-custom-image: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + actions-hosted-runner-custom-image-version: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' actions-hosted-runner-curated-image: value: id: ubuntu-20.04 @@ -215296,6 +215699,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -219518,6 +219927,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -237798,109 +238382,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - 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. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -237916,6 +238397,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -238037,13 +238525,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -238110,6 +238591,21 @@ components: required: false schema: type: integer + actions-custom-image-definition-id: + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + actions-custom-image-version: + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" hosted-runner-id: name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. @@ -238622,6 +239118,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + 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. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: 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). @@ -238640,6 +239178,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 1d752c43e..9fecbda7e 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7306,7 +7562,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -7958,6 +8214,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -7976,6 +8239,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -8028,6 +8296,281 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -8394,6 +8937,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -12816,6 +13366,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +17095,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,17 +23724,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -23297,17 +23916,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -44473,16 +45096,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -44498,12 +45111,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +62250,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -75284,17 +75891,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -75463,17 +76074,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -76022,7 +76637,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -105754,578 +106369,6 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "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" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -106411,6 +106454,105 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -110613,105 +110755,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" - ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -110813,7 +110856,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -110821,7 +110864,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -110829,7 +110872,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -111522,6 +111565,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -111692,6 +111742,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -111704,6 +111758,128 @@ "platform" ] }, + "actions-hosted-runner-custom-image": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "actions-hosted-runner-custom-image-version": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, "actions-hosted-runner-curated-image": { "title": "GitHub-hosted runner image details.", "description": "Provides details of a hosted runner image", @@ -112449,6 +112625,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -119923,6 +120108,578 @@ } ] }, + "secret-scanning-alert-state": { + "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" + ] + }, + "secret-scanning-alert-resolution": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } + ] + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + } + } + }, "secret-scanning-row-version": { "type": [ "string", @@ -140006,7 +140763,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -140014,7 +140771,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -140022,7 +140779,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -288819,192 +289576,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -289067,6 +289638,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -290587,24 +291192,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -290908,6 +291495,45 @@ "last_active_on": "2022-10-09T23:39:01Z" } }, + "actions-hosted-runner-custom-image-versions": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + }, + "actions-hosted-runner-custom-image": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + }, + "actions-hosted-runner-custom-image-version": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + }, "actions-hosted-runner-curated-image": { "value": { "id": "ubuntu-20.04", @@ -291971,6 +292597,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297495,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -318019,113 +318843,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -318144,6 +318861,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -318288,15 +319014,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -318369,6 +319086,25 @@ "type": "integer" } }, + "actions-custom-image-definition-id": { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + "actions-custom-image-version": { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + }, "hosted-runner-id": { "name": "hosted_runner_id", "description": "Unique identifier of the GitHub-hosted runner.", @@ -318966,6 +319702,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "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.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "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 receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -318984,6 +319765,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 5a3328d6f..a5cefd4e6 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5139,9 +5311,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -5701,6 +5874,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -5718,6 +5897,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -5749,6 +5933,197 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -6005,6 +6380,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -9221,6 +9602,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +12402,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16692,17 +17118,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -16814,17 +17242,19 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32333,14 +32763,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - 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)." @@ -32351,8 +32773,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44635,6 +45055,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54458,17 +54881,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54576,17 +55001,19 @@ paths: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54950,7 +55377,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -76466,424 +76896,6 @@ components: - fixed_at - repository additionalProperties: false - secret-scanning-alert-state: - 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 - secret-scanning-alert-resolution: - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - first_location_detected: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76948,6 +76960,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,77 +80040,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -80102,19 +80114,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -80647,6 +80659,11 @@ components: - github - partner - custom + version: + description: The image version of the hosted runner pool. + type: string + examples: + - latest required: - id - size_gb @@ -80771,6 +80788,9 @@ components: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled for the hosted runners. required: - id - name @@ -80779,6 +80799,97 @@ components: - status - public_ip_enabled - platform + actions-hosted-runner-custom-image: + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` parameter + when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + actions-hosted-runner-custom-image-version: + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details actions-hosted-runner-curated-image: title: GitHub-hosted runner image details. description: Provides details of a hosted runner image @@ -81357,6 +81468,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86946,6 +87064,424 @@ components: state: type: object description: The state of the ruleset version + secret-scanning-alert-state: + 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 + secret-scanning-alert-resolution: + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -101269,19 +101805,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -212583,181 +213119,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -212810,6 +213171,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -214185,20 +214574,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - organization-simple-items: - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization dependabot-repository-access-details: value: default_level: public @@ -214452,6 +214827,34 @@ components: prefix: 20.80.208.150 length: 31 last_active_on: '2022-10-09T23:39:01Z' + actions-hosted-runner-custom-image-versions: + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + actions-hosted-runner-custom-image: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + actions-hosted-runner-custom-image-version: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' actions-hosted-runner-curated-image: value: id: ubuntu-20.04 @@ -215296,6 +215699,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -219518,6 +219927,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -237798,109 +238382,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - 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. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -237916,6 +238397,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -238037,13 +238525,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -238110,6 +238591,21 @@ components: required: false schema: type: integer + actions-custom-image-definition-id: + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + actions-custom-image-version: + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" hosted-runner-id: name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. @@ -238622,6 +239118,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + 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. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: 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). @@ -238640,6 +239178,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 4fd58eb26..201016c3e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -22616,29 +22620,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -24471,2163 +24452,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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": "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 results before this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "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 results after this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "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": { - "anyOf": [ - { - "type": "null" - }, - { - "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 - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - }, - "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": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24698,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28128,8 +25962,803 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -28138,36 +26767,23 @@ } ], "responses": { - "201": { - "description": "Successfully added team member", + "200": { + "description": "The team is assigned to the organization", "content": { "application/json": { "schema": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, "login": { "type": "string", "examples": [ - "octocat" + "github" ] }, "id": { "type": "integer", - "format": "int64", "examples": [ 1 ] @@ -28175,162 +26791,276 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEyOk9yZ2FuaXphdGlvbjE=" ] }, - "avatar_url": { + "url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://api.github.com/orgs/github" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "repos_url": { + "type": "string", + "format": "uri", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "https://api.github.com/orgs/github/repos" ] }, - "url": { + "events_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/orgs/github/events" ] }, - "html_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "https://api.github.com/orgs/github/hooks" ] }, - "followers_url": { + "issues_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "https://api.github.com/orgs/github/issues" ] }, - "following_url": { + "members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "https://api.github.com/orgs/github/members{/member}" ] }, - "gists_url": { + "public_members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "starred_url": { + "avatar_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "https://github.com/images/error/octocat_happy.gif" ] }, - "subscriptions_url": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "github" ] }, - "organizations_url": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "https://api.github.com/orgs/github" ] }, "repos_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "https://api.github.com/orgs/github/repos" ] }, "events_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/orgs/github/events" ] }, - "received_events_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "https://api.github.com/orgs/github/hooks" ] }, - "type": { + "issues_url": { "type": "string", "examples": [ - "User" + "https://api.github.com/orgs/github/issues" ] }, - "site_admin": { - "type": "boolean" + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] }, - "starred_at": { + "public_members_url": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "user_view_type": { + "avatar_url": { "type": "string", "examples": [ - "public" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" ] } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", + "login", + "url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" ] }, "examples": { - "exampleKey1": { + "default": { "value": { - "login": "octocat", + "login": "github", "id": 1, - "node_id": "MDQ6VXNlcjE=", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "description": "A great organization" } } } @@ -28342,19 +27072,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } }, "delete": { - "summary": "Remove team membership", - "description": "Remove membership of a specific user from a particular team in an enterprise.", + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", "tags": [ - "enterprise-team-memberships" + "enterprise-team-organizations" ], - "operationId": "enterprise-team-memberships/remove", + "operationId": "enterprise-team-organizations/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" }, "parameters": [ { @@ -28376,8 +27106,8 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -28387,40 +27117,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "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" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -28670,6 +27374,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76364,7 +75078,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75222,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75230,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75238,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -79074,6 +77788,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79204,6 +77925,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79344,6 +78069,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -79362,6 +78094,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -79459,6 +78196,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79589,6 +78333,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79644,6 +78392,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -80238,6 +79619,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80368,6 +79756,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -80483,6 +79875,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -80569,6 +79968,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80699,291 +80401,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -86971,6 +86392,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -87101,6 +86529,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -97158,6 +96590,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "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": "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -115170,29 +114706,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -171836,17 +171349,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -180822,17 +180339,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -353327,16 +352848,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -353364,29 +352875,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -577049,7 +576537,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -739040,17 +738528,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -747999,17 +747491,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -776666,7 +776162,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -776797,7 +776293,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -776805,7 +776301,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -776813,7 +776309,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 0aad05175..5b4ea5304 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &287 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &608 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &177 + - &182 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 @@ -1672,7 +1674,7 @@ paths: application/json: schema: type: array - items: &178 + items: &183 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &179 + default: &184 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &103 title: Validation Error description: Validation Error type: object @@ -1903,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &180 + schema: &185 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2040,7 @@ paths: - request - response examples: - default: &181 + default: &186 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 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) @@ -2792,7 +2794,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2984,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3011,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5389,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &97 description: Internal Error content: application/json: @@ -7717,7 +7719,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &160 type: - object - 'null' @@ -7915,7 +7917,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &162 type: array description: A list of default code security configurations items: @@ -7931,7 +7933,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &163 value: - default_for_new_repos: public configuration: @@ -8262,7 +8264,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &164 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8391,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &161 value: id: 1325 target_type: organization @@ -8474,7 +8476,7 @@ paths: application/json: schema: type: array - items: &157 + items: &165 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8821,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &166 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8915,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &169 name: state in: query description: |- @@ -8922,7 +8924,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &170 name: severity in: query description: |- @@ -8931,7 +8933,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &171 name: ecosystem in: query description: |- @@ -8940,14 +8942,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &172 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 - - &166 + - &173 name: epss_percentage in: query description: |- @@ -8959,7 +8961,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 - - &458 + - &453 name: has in: query description: |- @@ -8973,7 +8975,7 @@ paths: type: string enum: - patch - - &167 + - &174 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +8985,7 @@ paths: enum: - development - runtime - - &168 + - &175 name: sort in: query description: |- @@ -9001,31 +9003,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9034,11 +9011,11 @@ paths: application/json: schema: type: array - items: &171 + items: &176 type: object description: A Dependabot alert. properties: - number: &52 + number: &150 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9081,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &454 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9288,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &153 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &154 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &151 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: &54 + updated_at: &152 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: &148 + dismissed_at: &156 type: - string - 'null' @@ -9364,7 +9341,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &155 type: - string - 'null' @@ -9372,7 +9349,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &455 type: - string - 'null' @@ -9399,7 +9376,7 @@ paths: - repository additionalProperties: false examples: - default: &172 + default: &177 value: - number: 2 state: dismissed @@ -9727,740 +9704,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - 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. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - 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: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - 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: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9725,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9790,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9803,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9847,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9878,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9898,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9917,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9938,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9956,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +9987,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10005,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10036,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10054,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10105,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10132,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10143,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10467,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10489,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10517,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10547,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10572,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10610,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10621,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10662,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10709,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &701 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11006,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11089,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11648,7 +11212,7 @@ paths: milestone: anyOf: - type: 'null' - - &238 + - &243 title: Milestone description: A collection of related issues and pull requests. @@ -11820,7 +11384,7 @@ paths: timeline_url: type: string format: uri - type: &199 + type: &204 title: Issue Type description: The type of issue. type: @@ -11874,12 +11438,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11459,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11495,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &620 title: Sub-issues Summary type: object properties: @@ -11952,7 +11516,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &621 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11535,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &622 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11635,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11647,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11698,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11882,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11973,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12044,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12057,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12311,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12360,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12371,7 @@ paths: type: string release: allOf: - - &558 + - &553 title: Release description: A release. type: object @@ -12889,7 +12453,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &554 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12621,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &98 + 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 @@ -13147,7 +12723,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12735,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12817,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12914,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12959,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13038,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13056,7 @@ paths: url: type: string format: uri - user: &631 + user: &634 title: Public User description: Public User type: object @@ -13854,7 +13430,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13544,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13578,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13620,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13736,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13935,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13973,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14013,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14064,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14138,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14192,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14346,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14392,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14411,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14580,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14743,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14867,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15375,7 +14951,7 @@ paths: - closed - all default: open - - &202 + - &207 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15394,7 +14970,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,9 +15000,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &203 + default: &208 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15671,7 +15247,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15282,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15580,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15635,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15676,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15710,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15813,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15821,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15906,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15926,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15985,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16061,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16101,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16147,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16414,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16438,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &318 description: Moved permanently content: application/json: @@ -16929,7 +16505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &529 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16513,7 @@ paths: schema: type: boolean default: false - - &535 + - &530 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16522,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &531 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: @@ -16972,14 +16548,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &134 title: Minimal Repository description: Minimal Repository type: object @@ -17318,7 +16894,7 @@ paths: type: boolean examples: - false - security_and_analysis: &250 + security_and_analysis: &255 type: - object - 'null' @@ -17483,7 +17059,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &532 value: - id: '1' repository: @@ -17565,7 +17141,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 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 @@ -17663,7 +17239,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17436,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17488,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17608,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18404,9 +17891,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +17902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &99 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, @@ -18424,7 +17912,7 @@ paths: required: false schema: type: integer - - &673 + - &675 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 @@ -18433,7 +17921,7 @@ paths: required: false schema: type: integer - - &102 + - &100 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 @@ -18448,14 +17936,14 @@ paths: required: false schema: type: string - - &674 + - &676 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &677 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18005,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18059,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *61 - *99 - - *101 - - &678 + - &680 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 @@ -18603,8 +18091,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *100 + - &681 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 @@ -18687,8 +18175,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18202,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &101 title: Organization Full description: Organization Full type: object @@ -19115,7 +18603,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &102 value: login: github id: 1 @@ -19215,7 +18703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +18920,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *101 examples: - default: *104 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +18979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19005,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19044,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19082,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19120,7 @@ paths: type: integer runners: type: array - items: &107 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19684,12 +19172,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &113 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19785,6 +19279,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -19794,7 +19292,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &133 value: total_count: 2 runners: @@ -19836,7 +19334,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19854,7 +19352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -19883,6 +19381,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -19900,6 +19404,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -19921,9 +19430,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: &111 + default: &114 value: id: 5 name: My hosted ubuntu runner @@ -19950,6 +19459,320 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &106 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &108 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *61 + - &107 + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *106 + examples: + default: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - *61 + - *107 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - *107 + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &109 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *108 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *61 + - *107 + - &110 + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" + responses: + '200': + description: Response + content: + application/json: + schema: *109 + examples: + default: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - *61 + - *107 + - *110 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -19962,7 +19785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19978,7 +19801,7 @@ paths: type: integer images: type: array - items: &108 + items: &111 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19841,7 @@ paths: - display_name - source examples: - default: &109 + default: &112 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20058,9 +19881,9 @@ paths: type: integer images: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20132,7 +19955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20148,7 +19971,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *113 examples: default: value: @@ -20173,7 +19996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20217,8 +20040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *99 - - &112 + - *61 + - &115 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +20053,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *114 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +20075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *115 requestBody: required: true content: @@ -20279,6 +20102,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -20291,9 +20120,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +20138,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *115 responses: '202': description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +20167,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &116 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +20187,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &117 value: include_claim_keys: - repo @@ -20380,20 +20209,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &143 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +20252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20432,7 +20261,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &118 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +20274,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: &116 + allowed_actions: &119 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +20282,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &329 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: &117 + sha_pinning_required: &120 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +20318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20500,9 +20329,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *118 + allowed_actions: *119 + sha_pinning_required: *120 required: - enabled_repositories examples: @@ -20530,13 +20359,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &338 + schema: &333 type: object properties: days: @@ -20573,12 +20402,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &339 + schema: &334 type: object properties: days: @@ -20615,13 +20444,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &118 + schema: &121 type: object properties: approval_policy: @@ -20635,7 +20464,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20666,7 +20495,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *121 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20517,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &341 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20549,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &122 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20572,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &342 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20600,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *122 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -20819,9 +20648,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &126 value: total_count: 1 repositories: @@ -20961,7 +20790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21005,8 +20834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - &120 + - *61 + - &123 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - *120 + - *61 + - *123 responses: '204': description: Response @@ -21058,13 +20887,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &121 + schema: &124 type: object properties: github_owned_allowed: @@ -21086,7 +20915,7 @@ paths: items: type: string examples: - default: &122 + default: &125 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21119,9 +20948,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *124 examples: - selected_actions: *122 + selected_actions: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -21189,7 +21018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21236,7 +21065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -21251,9 +21080,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *126 '403': *27 '404': *6 x-github: @@ -21273,7 +21102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21321,8 +21150,8 @@ paths: description: API method documentation 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: - - *99 - - *120 + - *61 + - *123 responses: '204': description: No content @@ -21348,8 +21177,8 @@ paths: description: API method documentation 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: - - *99 - - *120 + - *61 + - *123 responses: '204': description: No content @@ -21377,23 +21206,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &343 + schema: &338 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &127 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &125 + can_approve_pull_request_reviews: &128 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +21230,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &129 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +21255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Success response @@ -21434,13 +21263,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &339 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *127 + can_approve_pull_request_reviews: *128 examples: - default: *126 + default: *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +21289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *99 + - *61 - *17 - *19 - name: visible_to_repository @@ -21485,7 +21314,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &130 type: object properties: id: @@ -21602,7 +21431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21675,9 +21504,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *130 examples: - default: &129 + default: &132 value: id: 2 name: octo-runner-group @@ -21712,8 +21541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - &128 + - *61 + - &131 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21554,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *130 examples: default: value: @@ -21761,8 +21590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 requestBody: required: true content: @@ -21818,9 +21647,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *130 examples: - default: *129 + default: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *99 - - *128 + - *61 + - *131 responses: '204': description: Response @@ -21863,8 +21692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 - *17 - *19 responses: @@ -21882,11 +21711,11 @@ paths: type: number runners: type: array - items: *107 + items: *105 examples: - default: *130 + default: *133 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *131 - *19 - *17 responses: @@ -21925,9 +21754,9 @@ paths: type: number repositories: type: array - items: *131 + items: *134 examples: - default: &634 + default: &637 value: total_count: 1 repositories: @@ -22179,8 +22008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *131 requestBody: required: true content: @@ -22224,9 +22053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *131 + - *123 responses: '204': description: Response @@ -22248,9 +22077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *131 + - *123 responses: '204': description: Response @@ -22273,8 +22102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 - *17 - *19 responses: @@ -22292,7 +22121,7 @@ paths: type: number runners: type: array - items: &133 + items: &136 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +22155,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &139 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +22185,7 @@ paths: - busy - labels examples: - default: &134 + default: &137 value: total_count: 2 runners: @@ -22396,7 +22225,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +22244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 requestBody: required: true content: @@ -22460,9 +22289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *99 - - *128 - - &132 + - *61 + - *131 + - &135 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +22319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 - - *132 + - *61 + - *131 + - *135 responses: '204': description: Response @@ -22522,7 +22351,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22369,11 @@ paths: type: integer runners: type: array - items: *133 + items: *136 examples: - default: *134 + default: *137 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -22574,7 +22403,7 @@ paths: application/json: schema: type: array - items: &345 + items: &340 title: Runner Application description: Runner Application type: object @@ -22599,7 +22428,7 @@ paths: - download_url - filename examples: - default: &346 + default: &341 value: - os: osx architecture: x64 @@ -22642,7 +22471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -22685,7 +22514,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &342 description: Response content: application/json: @@ -22695,7 +22524,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *136 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22581,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: &135 + schema: &138 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22611,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22629,7 @@ paths: - token - expires_at examples: - default: &348 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22660,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: &349 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22693,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: '200': description: Response content: application/json: - schema: *133 + schema: *136 examples: - default: &350 + default: &345 value: id: 23 name: MBP @@ -22914,8 +22743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: '204': description: Response @@ -22941,10 +22770,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: - '200': &137 + '200': &140 description: Response content: application/json: @@ -22958,7 +22787,7 @@ paths: type: integer labels: type: array - items: *136 + items: *139 examples: default: value: @@ -22997,8 +22826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 requestBody: required: true content: @@ -23022,7 +22851,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -23046,8 +22875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 requestBody: required: true content: @@ -23072,7 +22901,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -23096,10 +22925,10 @@ 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-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: - '200': &351 + '200': &346 description: Response content: application/json: @@ -23113,7 +22942,7 @@ paths: type: integer labels: type: array - items: *136 + items: *139 examples: default: value: @@ -23154,9 +22983,9 @@ 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-an-organization parameters: - - *99 - - *132 - - &352 + - *61 + - *135 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22993,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -23189,7 +23018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -23207,7 +23036,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &141 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +23088,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23282,13 +23111,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &364 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +23152,7 @@ paths: - key_id - key examples: - default: &365 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +23177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &142 name: secret_name description: The name of the secret. in: path @@ -23361,7 +23190,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: default: value: @@ -23391,8 +23220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -23449,7 +23278,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -23475,8 +23304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -23502,8 +23331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - *19 - *17 responses: @@ -23521,9 +23350,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: &143 + default: &146 value: total_count: 1 repositories: @@ -23615,8 +23444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -23668,8 +23497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -23702,8 +23531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -23735,8 +23564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &328 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)." @@ -23760,7 +23589,7 @@ paths: type: integer variables: type: array - items: &141 + items: &144 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23658,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23850,7 +23679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *61 requestBody: required: true content: @@ -23898,7 +23727,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -23923,8 +23752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &145 name: name description: The name of the variable. in: path @@ -23936,7 +23765,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -23966,8 +23795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 requestBody: required: true content: @@ -24029,8 +23858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 responses: '204': description: Response @@ -24056,8 +23885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 - *19 - *17 responses: @@ -24075,9 +23904,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 requestBody: required: true content: @@ -24153,8 +23982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 - name: repository_id in: path required: true @@ -24188,8 +24017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 - name: repository_id in: path required: true @@ -24220,7 +24049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *61 requestBody: required: true content: @@ -24362,7 +24191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24448,7 +24277,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +24300,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &664 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &665 value: subject_digests: - sha256:abc123 @@ -24535,7 +24364,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &666 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *61 requestBody: required: true content: @@ -24709,7 +24538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *61 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +24557,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *61 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *61 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24658,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24831,7 +24711,7 @@ paths: initiator: type: string examples: - default: &378 + default: &373 value: attestations: - bundle: @@ -24938,7 +24818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -24950,7 +24830,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +24875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25016,8 +24896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25042,7 +24922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *61 - *19 - *17 - *46 @@ -25050,7 +24930,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &147 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24956,7 @@ paths: application/json: schema: type: array - items: &145 + items: &148 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +24987,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &168 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25184,7 +25064,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &219 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +25200,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *147 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +25296,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +25322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25537,9 +25417,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &146 + default: &149 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25468,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +25502,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25582,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *147 examples: default: value: @@ -25712,9 +25592,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 '400': description: Bad Request content: @@ -25726,7 +25606,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25638,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25660,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *99 - - &402 + - *61 + - &397 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: &149 + schema: &157 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &398 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 @@ -25799,7 +25679,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &158 type: - string - 'null' @@ -25815,7 +25695,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25718,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25739,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *150 + created_at: *151 + updated_at: *152 + url: *153 + html_url: *154 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &159 type: - string - 'null' @@ -25880,13 +25760,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *155 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *156 + dismissed_reason: &403 type: - string - 'null' @@ -25897,14 +25777,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &405 type: object properties: id: @@ -25965,26 +25845,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &406 type: object properties: - name: *149 + name: *157 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *158 + most_recent_instance: &407 type: object properties: - ref: &404 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +25875,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &418 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: *151 + state: *159 commit_sha: type: string message: @@ -26294,9 +26174,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +26198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *61 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +26309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *61 requestBody: required: true content: @@ -26507,7 +26387,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *160 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26530,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26552,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *154 + schema: *162 examples: - default: *155 + default: *163 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -26732,7 +26612,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *164 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: '200': @@ -26767,7 +26647,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *161 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26671,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27048,10 +26928,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: - '204': *156 + '204': *164 '400': *14 '403': *27 '404': *6 @@ -27079,7 +26959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27143,7 +27023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27189,7 +27069,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *161 '403': *27 '404': *6 x-github: @@ -27213,7 +27093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *99 + - *61 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27242,13 +27122,13 @@ paths: application/json: schema: type: array - items: *157 + items: *165 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *166 '403': *27 '404': *6 x-github: @@ -27272,7 +27152,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27288,7 +27168,7 @@ paths: type: integer codespaces: type: array - items: &204 + items: &209 type: object title: Codespace description: A codespace. @@ -27319,11 +27199,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *134 machine: anyOf: - type: 'null' - - &435 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27610,7 +27490,7 @@ paths: - pulls_url - recent_folders examples: - default: &205 + default: &210 value: total_count: 3 codespaces: @@ -28020,7 +27900,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28086,7 +27966,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28141,7 +28021,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +28044,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *61 requestBody: required: true content: @@ -28195,7 +28075,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +28096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -28234,7 +28114,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &167 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +28155,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &431 value: total_count: 2 secrets: @@ -28288,7 +28168,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +28187,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &437 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +28228,7 @@ paths: - key_id - key examples: - default: &438 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +28251,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '200': description: Response content: application/json: - schema: *159 + schema: *167 examples: - default: &440 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28407,8 +28287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -28463,7 +28343,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -28489,8 +28369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -28515,8 +28395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - *19 - *17 responses: @@ -28534,9 +28414,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -28609,8 +28489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -28643,8 +28523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -28683,7 +28563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: OK @@ -28792,7 +28672,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *99 + - *61 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28847,7 +28727,7 @@ paths: currently being billed. seats: type: array - items: &207 + items: &212 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28860,13 +28740,13 @@ paths: organization: anyOf: - type: 'null' - - *160 + - *59 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *161 - - *58 + - *168 + - *53 type: - 'null' - object @@ -28996,8 +28876,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29072,7 +28952,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29150,7 +29030,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29188,7 +29068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29229,7 +29109,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29265,7 +29145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29307,7 +29187,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29346,7 +29226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *61 - 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`). @@ -29378,7 +29258,7 @@ paths: application/json: schema: type: array - items: &296 + items: &291 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29573,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &292 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29672,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *97 '403': *27 '404': *6 - '422': &298 + '422': &293 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29702,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 - - *164 - - *165 - - *166 + - *61 + - *169 + - *170 + - *171 + - *172 + - *173 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29745,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *174 + - *175 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29880,9 +29758,9 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '304': *35 '400': *14 '403': *27 @@ -29908,7 +29786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29926,7 +29804,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &178 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29978,7 +29856,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29999,13 +29877,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &463 + schema: &458 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29902,7 @@ paths: - key_id - key examples: - default: &464 + default: &459 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,14 +29925,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '200': description: Response content: application/json: - schema: *173 + schema: *178 examples: default: value: @@ -30082,8 +29960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -30142,7 +30020,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -30166,8 +30044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -30191,8 +30069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - *19 - *17 responses: @@ -30210,9 +30088,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +30111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -30284,8 +30162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -30316,8 +30194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -30347,7 +30225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -30355,7 +30233,7 @@ paths: application/json: schema: type: array - items: &216 + items: &221 title: Package description: A software package type: object @@ -30408,7 +30286,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *134 created_at: type: string format: date-time @@ -30426,7 +30304,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &222 value: - id: 197 name: hello_docker @@ -30504,7 +30382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30514,7 +30392,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30596,7 +30474,7 @@ paths: application/json: schema: type: array - items: &196 + items: &201 title: Organization Invitation description: Organization Invitation type: object @@ -30650,7 +30528,7 @@ paths: - invitation_teams_url - node_id examples: - default: &197 + default: &202 value: - id: 1 login: monalisa @@ -30683,7 +30561,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30707,7 +30585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30717,7 +30595,7 @@ paths: application/json: schema: type: array - items: &174 + items: &179 title: Org Hook description: Org Hook type: object @@ -30817,7 +30695,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *61 requestBody: required: true content: @@ -30902,9 +30780,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: &175 + default: &180 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30951,8 +30829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 - - &176 + - *61 + - &181 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. @@ -30965,9 +30843,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 '404': *6 x-github: githubCloudOnly: false @@ -30994,8 +30872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 requestBody: required: false content: @@ -31041,7 +30919,7 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: default: value: @@ -31082,8 +30960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 responses: '204': description: Response @@ -31110,8 +30988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *181 responses: '200': description: Response @@ -31141,8 +31019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *181 requestBody: required: false content: @@ -31192,10 +31070,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 - *17 - - *177 + - *182 responses: '200': description: Response @@ -31203,9 +31081,9 @@ paths: application/json: schema: type: array - items: *178 + items: *183 examples: - default: *179 + default: *184 '400': *14 '422': *15 x-github: @@ -31230,17 +31108,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *185 examples: - default: *181 + default: *186 '400': *14 '422': *15 x-github: @@ -31265,8 +31143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 - *16 responses: '202': *37 @@ -31295,8 +31173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 responses: '204': description: Response @@ -31318,8 +31196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 - - &186 + - *61 + - &191 name: actor_type in: path description: The type of the actor @@ -31332,14 +31210,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &187 + - &192 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &182 + - &187 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`.' @@ -31347,7 +31225,7 @@ paths: required: true schema: type: string - - &183 + - &188 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) @@ -31441,13 +31319,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *187 + - *188 - *19 - *17 - *46 - - &192 + - &197 name: sort description: The property to sort the results by. in: query @@ -31526,15 +31404,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *187 + - *188 responses: '200': description: Response content: application/json: - schema: &184 + schema: &189 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -31550,7 +31428,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &190 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -31570,24 +31448,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 - - &188 + - *61 + - &193 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *182 - - *183 + - *187 + - *188 responses: '200': description: Response content: application/json: - schema: *184 + schema: *189 examples: - default: *185 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -31605,19 +31483,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 - - *182 - - *183 - - *186 + - *61 - *187 + - *188 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *184 + schema: *189 examples: - default: *185 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -31634,10 +31512,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 - - *182 - - *183 - - &189 + - *61 + - *187 + - *188 + - &194 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31650,7 +31528,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &195 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31666,7 +31544,7 @@ paths: type: integer format: int64 examples: - default: &191 + default: &196 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31702,19 +31580,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 + - *193 + - *187 - *188 - - *182 - - *183 - - *189 + - *194 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: *191 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -31731,20 +31609,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 - - *186 + - *61 + - *191 + - *192 - *187 - - *182 - - *183 - - *189 + - *188 + - *194 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: *191 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -31761,14 +31639,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 + - *193 + - *187 - *188 - - *182 - - *183 - *19 - *17 - *46 - - *192 + - *197 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31844,7 +31722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *61 responses: '200': description: Response @@ -31852,7 +31730,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &497 value: id: 1 account: @@ -31921,7 +31799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -31991,7 +31869,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32018,12 +31896,12 @@ paths: application/json: schema: anyOf: - - &194 + - &199 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &193 + limit: &198 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32051,7 +31929,7 @@ paths: properties: {} additionalProperties: false examples: - default: &195 + default: &200 value: limit: collaborators_only origin: organization @@ -32075,18 +31953,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &503 + schema: &498 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *193 + limit: *198 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32111,9 +31989,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *199 examples: - default: *195 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -32131,7 +32009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -32155,7 +32033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *61 - *17 - *19 - name: role @@ -32189,11 +32067,11 @@ paths: application/json: schema: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +32092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *61 requestBody: required: false content: @@ -32268,7 +32146,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *201 examples: default: value: @@ -32322,8 +32200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 - - &198 + - *61 + - &203 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32353,8 +32231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 - - *198 + - *61 + - *203 - *17 - *19 responses: @@ -32364,9 +32242,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: &215 + default: &220 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32382,7 +32260,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32401,7 +32279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32409,7 +32287,7 @@ paths: application/json: schema: type: array - items: *199 + items: *204 examples: default: value: @@ -32447,7 +32325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -32497,9 +32375,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *204 examples: - default: &200 + default: &205 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -32531,8 +32409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 - - &201 + - *61 + - &206 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -32588,9 +32466,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *204 examples: - default: *200 + default: *205 '404': *6 '422': *7 x-github: @@ -32614,8 +32492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 - - *201 + - *61 + - *206 responses: '204': description: Response @@ -32648,7 +32526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *61 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32678,7 +32556,7 @@ paths: - closed - all default: open - - *202 + - *207 - name: type description: Can be the name of an issue type. in: query @@ -32697,7 +32575,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32585,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *208 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *61 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -32769,9 +32647,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -32851,8 +32729,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32868,11 +32746,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *209 examples: - default: *205 + default: *210 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32895,9 +32773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 - - &206 + - *61 + - *57 + - &211 name: codespace_name in: path required: true @@ -32907,7 +32785,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32930,17 +32808,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 - - *206 + - *61 + - *57 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: &434 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32960,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33113,14 +32991,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *207 + schema: *212 examples: default: value: @@ -33164,7 +33042,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33189,14 +33067,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response content: application/json: - schema: &208 + schema: &213 title: Org Membership description: Org Membership type: object @@ -33245,7 +33123,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33265,7 +33143,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &214 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33333,8 +33211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -33362,9 +33240,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *214 '422': *15 '403': *27 x-github: @@ -33388,8 +33266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -33414,7 +33292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33436,7 +33314,7 @@ paths: application/json: schema: type: array - items: &210 + items: &215 title: Migration description: A migration. type: object @@ -33478,7 +33356,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *64 url: type: string format: uri @@ -33677,7 +33555,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33693,7 +33571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *61 requestBody: required: true content: @@ -33774,7 +33652,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -33952,8 +33830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 - - &211 + - *61 + - &216 name: migration_id description: The unique identifier of the migration. in: path @@ -33981,7 +33859,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -34150,8 +34028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *216 responses: '302': description: Response @@ -34172,8 +34050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *216 responses: '204': description: Response @@ -34196,9 +34074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 - - *211 - - &646 + - *61 + - *216 + - &649 name: repo_name description: repo_name parameter in: path @@ -34225,8 +34103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 - - *211 + - *61 + - *216 - *17 - *19 responses: @@ -34236,9 +34114,9 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: &222 + default: &227 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34349,7 +34227,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +34253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response - list of organization roles @@ -34391,7 +34269,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &213 + items: &218 title: Organization Role description: Organization roles type: object @@ -34540,8 +34418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -34566,9 +34444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 - - &212 + - *61 + - *62 + - &217 name: role_id description: The unique identifier of the role. in: path @@ -34603,9 +34481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 - - *212 + - *61 + - *62 + - *217 responses: '204': description: Response @@ -34630,8 +34508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -34656,9 +34534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *217 responses: '204': description: Response @@ -34688,9 +34566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *217 responses: '204': description: Response @@ -34718,14 +34596,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 - - *212 + - *61 + - *217 responses: '200': description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -34775,8 +34653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *217 - *17 - *19 responses: @@ -34855,7 +34733,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *219 type: description: The ownership type of the team type: string @@ -34888,9 +34766,9 @@ paths: - type - parent examples: - default: *215 + default: *220 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,8 +34795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *217 - *17 - *19 responses: @@ -34947,7 +34825,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *214 + items: *219 name: type: - string @@ -35064,9 +34942,9 @@ paths: - type - url examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -35088,7 +34966,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *61 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35115,9 +34993,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +35018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -35198,8 +35076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -35256,8 +35134,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &650 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35293,12 +35171,12 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *217 + default: *222 '403': *27 '401': *23 - '400': &650 + '400': &652 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35320,7 +35198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &223 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 @@ -35338,20 +35216,20 @@ paths: - docker - nuget - container - - &219 + - &224 name: package_name description: The name of the package. in: path required: true schema: type: string - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *216 + schema: *221 examples: default: value: @@ -35403,9 +35281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *223 + - *224 + - *61 responses: '204': description: Response @@ -35437,9 +35315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *223 + - *224 + - *61 - name: token description: package token schema: @@ -35471,9 +35349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *218 - - *219 - - *99 + - *223 + - *224 + - *61 - *19 - *17 - name: state @@ -35493,7 +35371,7 @@ paths: application/json: schema: type: array - items: &220 + items: &225 title: Package Version description: A version of a software package type: object @@ -35628,10 +35506,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - &221 + - *223 + - *224 + - *61 + - &226 name: package_version_id description: Unique identifier of the package version. in: path @@ -35643,7 +35521,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *225 examples: default: value: @@ -35679,10 +35557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *223 + - *224 + - *61 + - *226 responses: '204': description: Response @@ -35714,10 +35592,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *223 + - *224 + - *61 + - *226 responses: '204': description: Response @@ -35744,10 +35622,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 - *17 - *19 - - &223 + - &228 name: sort description: The property by which to sort the results. in: query @@ -35758,7 +35636,7 @@ paths: - created_at default: created_at - *46 - - &224 + - &229 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35770,7 +35648,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &230 name: repository description: The name of the repository to use to filter the results. in: query @@ -35779,7 +35657,7 @@ paths: type: string examples: - Hello-World - - &226 + - &231 name: permission description: The permission to use to filter the results. in: query @@ -35788,7 +35666,7 @@ paths: type: string examples: - issues_read - - &227 + - &232 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) @@ -35798,7 +35676,7 @@ paths: schema: type: string format: date-time - - &228 + - &233 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) @@ -35808,7 +35686,7 @@ paths: schema: type: string format: date-time - - &229 + - &234 name: token_id description: The ID of the token in: query @@ -35821,7 +35699,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35834,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +35854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36018,7 +35896,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,11 +35958,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +35983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +35994,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36125,11 +36003,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,19 +36028,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *61 - *17 - *19 - - *223 - - *46 - - *224 - - *225 - - *226 - - *227 - *228 + - *46 - *229 + - *230 + - *231 + - *232 + - *233 + - *234 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36291,7 +36169,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36311,7 +36189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36346,7 +36224,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *97 '404': *6 '202': *37 '403': *27 @@ -36371,7 +36249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *99 + - *61 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,9 +36277,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *97 '404': *6 - '204': *156 + '204': *164 '403': *27 '422': *15 x-github: @@ -36423,7 +36301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *99 + - *61 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +36311,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36442,11 +36320,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -36486,7 +36364,7 @@ paths: type: integer configurations: type: array - items: &230 + items: &235 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36555,7 +36433,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -36745,7 +36623,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &231 + org-private-registry-with-selected-visibility: &236 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36786,7 +36664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -36814,7 +36692,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,16 +36714,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *142 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *230 + schema: *235 examples: - default: *231 + default: *236 '404': *6 x-github: githubCloudOnly: false @@ -36866,8 +36744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -36963,8 +36841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -36989,7 +36867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *61 - name: state description: Indicates the state of the projects to return. in: query @@ -37010,7 +36888,7 @@ paths: application/json: schema: type: array - items: &232 + items: &237 title: Project description: Projects are a way to organize columns and cards of work. @@ -37143,7 +37021,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +37044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *61 requestBody: required: true content: @@ -37192,7 +37070,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -37230,7 +37108,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &315 description: Gone content: application/json: @@ -37256,7 +37134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *61 - name: q description: Limit results to projects of the specified type. in: query @@ -37273,7 +37151,7 @@ paths: application/json: schema: type: array - items: &233 + items: &238 title: Projects v2 Project description: A projects v2 project type: object @@ -37347,7 +37225,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &729 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37432,7 +37310,7 @@ paths: - deleted_at - deleted_by examples: - default: &234 + default: &239 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37515,7 +37393,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37535,24 +37413,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &235 + - &240 name: project_number description: The project's number. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *234 + default: *239 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37572,8 +37450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *235 - - *99 + - *240 + - *61 - *17 - *38 - *39 @@ -37584,7 +37462,7 @@ paths: application/json: schema: type: array - items: &236 + items: &241 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37734,7 +37612,7 @@ paths: - updated_at - project_url examples: - default: &237 + default: &242 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37757,7 +37635,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37777,25 +37655,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *235 - - &667 + - *240 + - &669 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *236 + schema: *241 examples: - default: *237 + default: *242 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37816,8 +37694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *235 - - *99 + - *240 + - *61 - 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) for more information. @@ -37826,17 +37704,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *38 - *39 - *17 @@ -37847,7 +37727,7 @@ paths: application/json: schema: type: array - items: &242 + items: &247 title: Projects v2 Item description: An item belonging to a project type: object @@ -37864,7 +37744,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &240 + content_type: &245 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37921,7 +37801,7 @@ paths: - updated_at - archived_at examples: - default: &243 + default: &248 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38595,7 +38475,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,8 +38495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 - - *235 + - *61 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -38653,7 +38533,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &670 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38546,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &442 title: Pull Request Simple description: Pull Request Simple type: object @@ -38787,7 +38667,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *243 active_lock_reason: type: - string @@ -38842,7 +38722,7 @@ paths: type: - array - 'null' - items: *161 + items: *168 head: type: object properties: @@ -38850,7 +38730,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38750,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38886,7 +38766,7 @@ paths: _links: type: object properties: - comments: &239 + comments: &244 title: Link description: Hypermedia Link type: object @@ -38895,13 +38775,13 @@ paths: type: string required: - href - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -38911,8 +38791,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &539 title: Auto merge description: The status of auto merging a pull request. type: @@ -39014,7 +38894,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *240 + content_type: *245 creator: *4 created_at: type: string @@ -39051,7 +38931,7 @@ paths: - updated_at - archived_at examples: - issue: &241 + issue: &246 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39106,7 +38986,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: *241 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -39126,9 +39006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *235 - - *99 - - &244 + - *240 + - *61 + - &249 name: item_id description: The unique identifier of the project item. in: path @@ -39136,27 +39016,29 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *243 + default: *248 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39175,9 +39057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *240 + - *61 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -39250,13 +39132,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *247 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -39276,9 +39158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *240 + - *61 + - *249 responses: '204': description: Response @@ -39302,7 +39184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -39310,7 +39192,7 @@ paths: application/json: schema: type: array - items: &245 + items: &250 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -39386,7 +39268,7 @@ paths: - property_name - value_type examples: - default: &246 + default: &251 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39434,7 +39316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -39445,7 +39327,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *245 + items: *250 minItems: 1 maxItems: 100 required: @@ -39475,9 +39357,9 @@ paths: application/json: schema: type: array - items: *245 + items: *250 examples: - default: *246 + default: *251 '403': *27 '404': *6 x-github: @@ -39498,8 +39380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 - - &247 + - *61 + - &252 name: custom_property_name description: The custom property name in: path @@ -39511,9 +39393,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: &248 + default: &253 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39547,8 +39429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *252 requestBody: required: true content: @@ -39626,9 +39508,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: *248 + default: *253 '403': *27 '404': *6 x-github: @@ -39651,10 +39533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *252 responses: - '204': *156 + '204': *164 '403': *27 '404': *6 x-github: @@ -39675,7 +39557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 - *17 - *19 - name: repository_query @@ -39716,7 +39598,7 @@ paths: - octocat/Hello-World properties: type: array - items: &249 + items: &254 title: Custom Property Value description: Custom property name and associated value type: object @@ -39758,7 +39640,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -39806,7 +39688,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *249 + items: *254 required: - repository_names - properties @@ -39847,7 +39729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *61 - *17 - *19 responses: @@ -39859,9 +39741,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39925,8 +39807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39950,7 +39832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *61 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +39878,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *61 requestBody: required: true content: @@ -40201,7 +40083,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &317 title: Full Repository description: Full Repository type: object @@ -40547,7 +40429,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40529,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *64 + source: *64 forks: type: integer master_branch: @@ -40666,7 +40548,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &447 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40696,7 +40578,7 @@ paths: - key - name - html_url - security_and_analysis: *250 + security_and_analysis: *255 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40780,7 +40662,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +41180,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &562 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41320,7 +41202,7 @@ paths: application/json: schema: type: array - items: &276 + items: &281 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41355,7 +41237,7 @@ paths: source: type: string description: The name of the source - enforcement: &253 + enforcement: &258 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41368,7 +41250,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &254 + items: &259 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41439,7 +41321,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &251 + - &256 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -41463,7 +41345,7 @@ paths: match. items: type: string - - &255 + - &260 title: Organization ruleset conditions type: object description: |- @@ -41477,7 +41359,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -41511,7 +41393,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -41533,7 +41415,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -41546,7 +41428,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &252 + items: &257 title: Repository ruleset property targeting definition type: object @@ -41579,7 +41461,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *252 + items: *257 required: - repository_property type: @@ -41587,12 +41469,12 @@ paths: - object rules: type: array - items: &568 + items: &563 title: Repository Rule type: object description: A repository rule. oneOf: - - &256 + - &261 title: creation description: Only allow users with bypass permission to create matching refs. @@ -41604,7 +41486,7 @@ paths: type: string enum: - creation - - &257 + - &262 title: update description: Only allow users with bypass permission to update matching refs. @@ -41625,7 +41507,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &258 + - &263 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -41637,7 +41519,7 @@ paths: type: string enum: - deletion - - &259 + - &264 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -41649,7 +41531,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &560 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41727,7 +41609,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &260 + - &265 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41751,7 +41633,7 @@ paths: type: string required: - required_deployment_environments - - &261 + - &266 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41763,7 +41645,7 @@ paths: type: string enum: - required_signatures - - &262 + - &267 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41825,7 +41707,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &263 + - &268 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41873,7 +41755,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &264 + - &269 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41885,7 +41767,7 @@ paths: type: string enum: - non_fast_forward - - &265 + - &270 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41921,7 +41803,7 @@ paths: required: - operator - pattern - - &266 + - &271 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41957,7 +41839,7 @@ paths: required: - operator - pattern - - &267 + - &272 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41993,7 +41875,7 @@ paths: required: - operator - pattern - - &268 + - &273 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42029,7 +41911,7 @@ paths: required: - operator - pattern - - &269 + - &274 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42065,7 +41947,7 @@ paths: required: - operator - pattern - - &270 + - &275 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42090,7 +41972,7 @@ paths: type: string required: - restricted_file_paths - - &271 + - &276 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42114,7 +41996,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &272 + - &277 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42137,7 +42019,7 @@ paths: type: string required: - restricted_file_extensions - - &273 + - &278 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42162,7 +42044,7 @@ paths: maximum: 100 required: - max_file_size - - &274 + - &279 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42212,7 +42094,7 @@ paths: - repository_id required: - workflows - - &275 + - &280 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42273,7 +42155,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &561 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +42216,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +42232,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42371,25 +42253,20 @@ paths: - push - repository default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: &278 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - *256 - - *257 - - *258 - - *259 - - *260 - *261 - *262 - *263 @@ -42405,6 +42282,11 @@ paths: - *273 - *274 - *275 + - *276 + - *277 + - *278 + - *279 + - *280 required: - name - enforcement @@ -42442,9 +42324,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &277 + default: &282 value: id: 21 name: super cool ruleset @@ -42484,7 +42366,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &564 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 @@ -42514,7 +42396,7 @@ paths: in: query schema: type: string - - &570 + - &565 name: time_period description: |- The time period to filter by. @@ -42530,14 +42412,14 @@ paths: - week - month default: day - - &571 + - &566 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 - - &572 + - &567 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42439,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &568 title: Rule Suites description: Response type: array @@ -42613,7 +42495,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &569 value: - id: 21 actor_id: 12 @@ -42637,7 +42519,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &570 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42555,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &571 title: Rule Suite description: Response type: object @@ -42780,7 +42662,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &572 value: id: 21 actor_id: 12 @@ -42815,7 +42697,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42723,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42853,11 +42735,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42755,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42899,16 +42781,16 @@ paths: - tag - push - repository - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *278 + items: *283 examples: default: value: @@ -42943,11 +42825,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42845,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42856,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *61 - *17 - *19 - name: ruleset_id @@ -43002,7 +42884,7 @@ paths: application/json: schema: type: array - items: &279 + items: &284 title: Ruleset version type: object description: The historical version of a ruleset @@ -43026,7 +42908,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &574 value: - version_id: 3 actor: @@ -43044,7 +42926,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,9 +42961,9 @@ paths: description: Response content: application/json: - schema: &580 + schema: &575 allOf: - - *279 + - *284 - type: object required: - state @@ -43128,7 +43010,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +43032,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *99 - - *280 - - *281 - - *282 - - *283 + - *61 + - &576 + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + - &577 + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default + secret patterns are returned. To return generic patterns, pass the token + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + - &578 + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + - &579 + 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. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *46 - *19 - *17 - - &581 + - &580 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 @@ -43168,7 +43088,7 @@ paths: required: false schema: type: string - - &582 + - &581 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 @@ -43178,10 +43098,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &582 + name: validity + in: query + description: A comma-separated list of validities that, when present, will + return alerts that match the validities in this list. Valid options are + `active`, `inactive`, and `unknown`. + required: false + schema: + type: string + - &583 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &584 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + - &585 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -43189,13 +43141,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *150 + created_at: *151 + updated_at: + anyOf: + - type: 'null' + - *152 + url: *153 + html_url: *154 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &586 + 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: &587 + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - *4 + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *51 + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected + secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - *4 + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - *4 + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection + bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection + bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this + alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert + is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &588 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &590 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &591 + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &592 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &593 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &594 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &595 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &596 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &597 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &598 + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &599 + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &600 + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &601 + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &602 + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43774,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43786,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &286 type: - string - 'null' @@ -43242,7 +43796,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &285 type: object properties: token_type: @@ -43311,7 +43865,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *285 examples: default: value: @@ -43360,7 +43914,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +43922,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *286 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43948,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *286 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +44002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *99 + - *61 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +44046,7 @@ paths: application/json: schema: type: array - items: &603 + items: &606 description: A repository security advisory. type: object properties: @@ -43736,7 +44290,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 credits_detailed: type: - array @@ -43747,7 +44301,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *287 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +44327,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *168 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44365,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &607 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *61 responses: '200': description: Response @@ -44198,9 +44752,9 @@ paths: application/json: schema: type: array - items: *214 + items: *219 examples: - default: *215 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,8 +44777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44249,8 +44803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44279,13 +44833,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &669 + schema: &671 type: object properties: total_minutes_used: @@ -44355,7 +44909,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &672 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44939,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &671 + schema: &673 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44963,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &674 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44989,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &676 + schema: &678 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +45013,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &679 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +45037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Immutable releases settings response @@ -44533,7 +45087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -44591,7 +45145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 - *19 - *17 responses: @@ -44609,9 +45163,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +45184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 requestBody: required: true content: @@ -44679,8 +45233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *123 responses: '204': description: Response @@ -44702,8 +45256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *123 responses: '204': description: Response @@ -44726,7 +45280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -44744,7 +45298,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &288 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45362,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -44869,9 +45423,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: &294 + default: &289 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - &295 + - *61 + - &290 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45466,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - *295 + - *61 + - *290 requestBody: required: true content: @@ -44975,9 +45529,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *99 - - *295 + - *61 + - *290 responses: '204': description: Response @@ -45020,7 +45574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *99 + - *61 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45633,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 - 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`). @@ -45142,13 +45696,13 @@ paths: application/json: schema: type: array - items: *296 + items: *291 examples: - default: *297 - '500': *100 + default: *292 + '500': *97 '403': *27 '404': *6 - '422': *298 + '422': *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45730,11 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *61 requestBody: required: true content: @@ -45272,7 +45826,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &294 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45346,7 +45900,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *219 members_count: type: integer examples: @@ -45671,7 +46225,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &295 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +46295,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *61 + - *62 responses: '200': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +46325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: false content: @@ -45835,16 +46389,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -45896,8 +46450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *61 + - *62 - *46 - *17 - *19 @@ -45914,7 +46468,7 @@ paths: application/json: schema: type: array - items: &301 + items: &296 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46559,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46579,7 @@ paths: - updated_at - url examples: - default: &621 + default: &624 value: - author: login: octocat @@ -46075,7 +46629,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: true content: @@ -46134,9 +46688,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &302 + default: &297 value: author: login: octocat @@ -46208,9 +46762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &298 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46776,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: false content: @@ -46271,9 +46825,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &622 + default: &625 value: author: login: octocat @@ -46343,9 +46897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 responses: '204': description: Response @@ -46371,9 +46925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - *46 - *17 - *19 @@ -46384,7 +46938,7 @@ paths: application/json: schema: type: array - items: &304 + items: &299 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +47003,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46464,7 +47018,7 @@ paths: - updated_at - url examples: - default: &623 + default: &626 value: - author: login: octocat @@ -46508,7 +47062,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +47086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -46556,9 +47110,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &305 + default: &300 value: author: login: octocat @@ -46624,10 +47178,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *61 + - *62 + - *298 + - &301 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +47193,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +47217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46688,9 +47242,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &624 + default: &627 value: author: login: octocat @@ -46754,10 +47308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 responses: '204': description: Response @@ -46783,10 +47337,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 - 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. @@ -46812,7 +47366,7 @@ paths: application/json: schema: type: array - items: &307 + items: &302 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47410,7 @@ paths: - content - created_at examples: - default: &309 + default: &304 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47436,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46942,9 +47496,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *302 examples: - default: &308 + default: &303 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47527,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47552,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *99 - - *64 - - *303 - - *306 - - &310 + - *61 + - *62 + - *298 + - *301 + - &305 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - 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. @@ -47062,11 +47616,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -47124,16 +47678,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47710,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *61 + - *62 + - *298 + - *305 responses: '204': description: Response @@ -47183,8 +47737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47194,11 +47748,11 @@ paths: application/json: schema: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *61 + - *62 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47796,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47826,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &306 title: Team Membership description: Team Membership type: object @@ -47308,7 +47862,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &628 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 requestBody: required: false content: @@ -47371,9 +47925,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &629 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '204': description: Response @@ -47435,8 +47989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47446,7 +48000,7 @@ paths: application/json: schema: type: array - items: &312 + items: &307 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +48069,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &630 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +48109,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +48132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *61 + - *62 + - &308 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +48146,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: &628 + default: &631 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +48210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 requestBody: required: false content: @@ -47725,9 +48279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 responses: '204': description: Response @@ -47754,8 +48308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47765,11 +48319,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48350,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &632 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48385,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +49000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 requestBody: required: false content: @@ -48494,10 +49048,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '204': description: Response @@ -48521,8 +49075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -48532,9 +49086,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &633 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +49116,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48587,7 +49141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *99 + - *61 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +49215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &311 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +49227,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &312 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +49281,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &313 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +49316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48787,9 +49341,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *311 responses: '204': description: Response @@ -48843,7 +49397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48904,15 +49458,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *308 responses: '200': description: Response content: application/json: - schema: *232 + schema: *237 examples: - default: &319 + default: &314 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *308 requestBody: required: false content: @@ -49018,9 +49572,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: - default: *319 + default: *314 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49595,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *308 responses: '204': description: Delete Success @@ -49085,7 +49639,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *308 - 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 @@ -49136,9 +49690,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *308 + - *57 requestBody: required: false content: @@ -49221,8 +49775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *308 + - *57 responses: '204': description: Response @@ -49253,8 +49807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *308 + - *57 responses: '200': description: Response @@ -49324,7 +49878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *308 - *17 - *19 responses: @@ -49334,7 +49888,7 @@ paths: application/json: schema: type: array - items: *317 + items: *312 examples: default: value: @@ -49347,7 +49901,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -49372,7 +49926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *308 requestBody: required: true content: @@ -49396,7 +49950,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: default: value: @@ -49461,7 +50015,7 @@ paths: resources: type: object properties: - core: &321 + core: &316 title: Rate Limit type: object properties: @@ -49478,21 +50032,21 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_snapshots: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *321 + rate: *316 required: - rate - resources @@ -49597,14 +50151,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *322 + schema: *317 examples: default-response: summary: Default response @@ -50105,7 +50659,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -50372,10 +50926,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 - '307': &325 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -50404,8 +50958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -50427,7 +50981,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *320 '404': *6 '409': *45 x-github: @@ -50451,11 +51005,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &356 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +51032,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &321 title: Artifact description: An artifact type: object @@ -50573,7 +51127,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &352 value: total_count: 2 artifacts: @@ -50612,7 +51166,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +51188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *309 + - *310 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +51202,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *321 examples: default: value: @@ -50686,9 +51240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 responses: '204': description: Response @@ -50712,9 +51266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 - name: archive_format in: path required: true @@ -50728,7 +51282,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': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +51305,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *328 + schema: *323 examples: default: value: @@ -50784,11 +51338,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &329 + - &324 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 @@ -50822,7 +51376,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51426,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &326 value: total_count: 1 actions_caches: @@ -50884,7 +51438,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50904,23 +51458,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: - - *314 - - *315 + - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *324 responses: '200': description: Response content: application/json: - schema: *330 + schema: *325 examples: - default: *331 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51494,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: - - *314 - - *315 + - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *314 - - *315 - - &332 + - *309 + - *310 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51540,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 responses: '302': description: Response @@ -51363,9 +51917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 requestBody: required: false content: @@ -51387,7 +51941,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -51411,8 +51965,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Status response @@ -51462,8 +52016,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -51497,7 +52051,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -51526,8 +52080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -51545,7 +52099,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +52120,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &358 value: total_count: 2 secrets: @@ -51577,7 +52131,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51599,9 +52153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -51618,7 +52172,7 @@ paths: type: integer variables: type: array - items: &366 + items: &361 title: Actions Variable type: object properties: @@ -51652,7 +52206,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &362 value: total_count: 2 variables: @@ -51665,7 +52219,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51685,8 +52239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -51695,12 +52249,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *119 + selected_actions_url: *329 + sha_pinning_required: *120 required: - enabled examples: @@ -51728,8 +52282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51740,9 +52294,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *330 + allowed_actions: *119 + sha_pinning_required: *120 required: - enabled examples: @@ -51772,14 +52326,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &336 + schema: &331 type: object properties: access_level: @@ -51796,7 +52350,7 @@ paths: required: - access_level examples: - default: &337 + default: &332 value: access_level: organization x-github: @@ -51820,15 +52374,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *336 + schema: *331 examples: - default: *337 + default: *332 responses: '204': description: Response @@ -51852,14 +52406,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *338 + schema: *333 examples: default: value: @@ -51883,8 +52437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52448,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *334 examples: default: summary: Set retention days @@ -51918,16 +52472,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *118 + schema: *121 examples: - default: *340 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51957,7 +52511,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *121 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52535,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *341 + schema: *336 examples: - default: *119 + default: *122 '403': *27 '404': *6 x-github: @@ -52010,15 +52564,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *342 + schema: *337 examples: - default: *119 + default: *122 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52596,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *121 + schema: *124 examples: - default: *122 + default: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -52079,9 +52633,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *124 examples: - selected_actions: *122 + selected_actions: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52657,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *343 + schema: *338 examples: - default: *126 + default: *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Success response @@ -52145,9 +52699,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *339 examples: - default: *126 + default: *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52728,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -52193,11 +52747,11 @@ paths: type: integer runners: type: array - items: *133 + items: *136 examples: - default: *134 + default: *137 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -52228,9 +52782,9 @@ paths: application/json: schema: type: array - items: *345 + items: *340 examples: - default: *346 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52806,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -52296,7 +52850,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *342 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52881,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: *348 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52918,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: *349 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52949,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: '200': description: Response content: application/json: - schema: *133 + schema: *136 examples: - default: *350 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52980,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: '204': description: Response @@ -52454,11 +53008,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: - '200': *137 + '200': *140 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +53034,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 requestBody: required: true content: @@ -52506,7 +53060,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -52530,9 +53084,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 requestBody: required: true content: @@ -52557,7 +53111,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -52581,11 +53135,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: - '200': *351 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +53166,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: - - *314 - - *315 - - *132 - - *352 + - *309 + - *310 + - *135 + - *347 responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -52643,9 +53197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *314 - - *315 - - &370 + - *309 + - *310 + - &365 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. @@ -52653,7 +53207,7 @@ paths: required: false schema: type: string - - &371 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +53215,7 @@ paths: required: false schema: type: string - - &372 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52670,7 +53224,7 @@ paths: required: false schema: type: string - - &373 + - &368 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 @@ -52697,7 +53251,7 @@ paths: - pending - *17 - *19 - - &374 + - &369 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)." @@ -52706,7 +53260,7 @@ paths: schema: type: string format: date-time - - &353 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +53269,13 @@ paths: schema: type: boolean default: false - - &375 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +53298,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53415,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53476,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &393 title: Simple Commit description: A commit. type: object @@ -52996,8 +53550,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *134 + head_repository: *134 head_repository_id: type: integer examples: @@ -53037,7 +53591,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &372 value: total_count: 1 workflow_runs: @@ -53251,7 +53805,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,24 +53827,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *309 + - *310 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: &358 + default: &353 value: id: 30433642 name: Build @@ -53531,9 +54085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response @@ -53556,9 +54110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -53686,15 +54240,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: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -53721,12 +54275,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - *17 - *19 - - *356 + - *351 responses: '200': description: Response @@ -53742,11 +54296,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *321 examples: - default: *357 + default: *352 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +54322,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - &359 + - *309 + - *310 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: *358 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54363,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 - *17 - *19 responses: @@ -53830,9 +54384,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: &361 + default: &356 value: total_count: 1 jobs: @@ -53921,7 +54475,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 responses: '302': description: Response @@ -53976,15 +54530,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54011,9 +54565,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: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54080,15 +54634,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54115,9 +54669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - 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 @@ -54147,11 +54701,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: *361 + default: *356 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '302': description: Response @@ -54203,14 +54757,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response '403': *27 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54303,7 +54857,7 @@ paths: items: type: object properties: - type: &472 + type: &467 type: string description: The type of reviewer. enum: @@ -54314,7 +54868,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *168 required: - environment - wait_timer @@ -54389,9 +54943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54441,7 +54995,7 @@ paths: application/json: schema: type: array - items: &467 + items: &462 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +55107,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &463 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +55163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54633,7 +55187,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54656,9 +55210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54680,7 +55234,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54712,9 +55266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54851,8 +55405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -54870,11 +55424,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55451,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55482,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: &485 + default: &480 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 requestBody: required: true content: @@ -54997,7 +55551,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -55023,9 +55577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '204': description: Response @@ -55050,9 +55604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -55069,11 +55623,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -55122,7 +55676,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -55147,17 +55701,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *145 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: &486 + default: &481 value: name: USERNAME value: octocat @@ -55183,9 +55737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *145 requestBody: required: true content: @@ -55227,9 +55781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *145 responses: '204': description: Response @@ -55254,8 +55808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55273,7 +55827,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55922,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55391,9 +55945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *309 + - *310 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55962,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *363 examples: default: value: @@ -55441,9 +55995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55468,9 +56022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55521,9 +56075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55550,19 +56104,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 + - *309 + - *310 + - *364 + - *365 + - *366 + - *367 + - *368 + - *17 + - *19 - *369 + - *348 - *370 - *371 - - *372 - - *373 - - *17 - - *19 - - *374 - - *353 - - *375 - - *376 responses: '200': description: Response @@ -55578,11 +56132,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *349 examples: - default: *377 + default: *372 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +56166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '200': description: Response @@ -55675,8 +56229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *309 + - *310 - *46 - *17 - *38 @@ -55825,7 +56379,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55857,9 +56411,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *309 + - *310 - name: assignee in: path required: true @@ -55919,8 +56473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56032,8 +56586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *38 - *39 @@ -56089,7 +56643,7 @@ paths: initiator: type: string examples: - default: *378 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -56118,7 +56672,7 @@ paths: application/json: schema: type: array - items: &379 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56217,9 +56771,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *374 examples: - default: &380 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *314 - - *315 - - &381 + - *309 + - *310 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56818,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *374 examples: - default: *380 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *314 - - *315 - - *381 + - *309 + - *310 + - *376 responses: '204': description: Response @@ -56312,8 +56866,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56385,8 +56939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56406,8 +56960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56445,7 +56999,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +57042,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +57059,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +57081,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *168 apps: description: The list of apps with review dismissal access. @@ -56559,7 +57113,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *168 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +57143,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +57206,7 @@ paths: type: string teams: type: array - items: *161 + items: *168 apps: type: array items: @@ -56864,7 +57418,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -56882,9 +57436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *309 + - *310 + - &379 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). @@ -56898,14 +57452,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &438 title: Commit description: Commit type: object @@ -56944,7 +57498,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57519,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 message: type: string examples: @@ -56989,7 +57543,7 @@ paths: required: - sha - url - verification: &492 + verification: &487 title: Verification type: object properties: @@ -57025,14 +57579,14 @@ paths: author: oneOf: - *4 - - *140 + - *143 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *143 type: - 'null' - object @@ -57069,7 +57623,7 @@ paths: type: integer files: type: array - items: &454 + items: &449 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57719,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *378 protection_url: type: string format: uri @@ -57274,7 +57828,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57850,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *383 + schema: *378 examples: default: value: @@ -57498,9 +58052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -57760,7 +58314,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58395,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *168 apps: type: array items: *5 @@ -57859,7 +58413,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *168 apps: type: array items: *5 @@ -57919,7 +58473,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58031,9 +58585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58058,17 +58612,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &387 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58644,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *387 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58146,17 +58700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: &389 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58352,9 +58906,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: *389 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58404,17 +58958,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &390 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58991,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *390 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +59021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58494,17 +59048,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: &392 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +59084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58584,9 +59138,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: *392 + default: *387 '404': *6 '422': *15 x-github: @@ -58608,9 +59162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58634,9 +59188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -58670,9 +59224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58739,9 +59293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58805,9 +59359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -58873,15 +59427,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *385 + schema: *380 examples: default: value: @@ -58972,9 +59526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58997,9 +59551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59009,7 +59563,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &388 value: - id: 1 slug: octoapp @@ -59066,9 +59620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59102,7 +59656,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59159,7 +59713,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59216,7 +59770,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59248,9 +59802,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -59270,9 +59824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59308,9 +59862,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -59331,9 +59885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59369,9 +59923,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -59392,9 +59946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -59429,9 +59983,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -59453,9 +60007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59465,7 +60019,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +60043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59524,7 +60078,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +60103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59584,7 +60138,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +60163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59644,7 +60198,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +60225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59695,7 +60249,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *389 examples: default: value: @@ -59811,8 +60365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -60091,7 +60645,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60780,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &690 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +61068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *309 + - *310 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +61082,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: &397 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +61184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 requestBody: required: true content: @@ -60872,9 +61426,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: *397 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 - *17 - *19 responses: @@ -60986,7 +61540,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61006,15 +61560,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -61052,8 +61606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61075,7 +61629,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61711,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *134 created_at: type: - string @@ -61173,7 +61727,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61755,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +62046,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +62067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61575,7 +62129,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *134 examples: default: value: @@ -61823,9 +62377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *309 + - *310 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62391,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62416,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *314 - - *315 - - *401 - - &449 + - *309 + - *310 + - *396 + - &444 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &445 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62465,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: &451 + default: &446 value: total_count: 1 check_runs: @@ -61995,7 +62549,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,15 +62569,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *309 + - *310 + - *396 responses: '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -62050,21 +62604,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - &420 + - &415 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: *404 - - &421 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62643,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *401 responses: '200': description: Response @@ -62106,24 +62660,24 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *150 + created_at: *151 + updated_at: *152 + url: *153 + html_url: *154 + instances_url: *402 + state: *159 + fixed_at: *155 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_at: *156 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62800,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *314 - - *315 - - &414 + - *309 + - *310 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62837,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *150 responses: '200': description: Response content: application/json: - schema: &415 + schema: &410 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *150 + created_at: *151 + updated_at: *152 + url: *153 + html_url: *154 + instances_url: *402 + state: *159 + fixed_at: *155 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *156 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -62368,8 +62922,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +63019,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +63039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -62502,8 +63056,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +63076,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *410 examples: default: value: @@ -62598,14 +63152,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +63179,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: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: Response content: application/json: - schema: &416 + schema: &411 type: object properties: status: @@ -62660,13 +63214,13 @@ paths: - description - started_at examples: - default: &417 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &413 description: Bad Request content: application/json: @@ -62677,9 +63231,9 @@ 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': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +63256,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: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: OK content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 '202': description: Accepted content: application/json: - schema: *416 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62734,7 +63288,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +63310,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: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: false content: @@ -62804,12 +63358,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63383,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 - - *420 - - *421 + - *415 + - *416 responses: '200': description: Response @@ -62843,7 +63397,7 @@ paths: application/json: schema: type: array - items: *412 + items: *407 examples: default: value: @@ -62882,9 +63436,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63470,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - *421 + - *416 - 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: *404 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &419 type: string description: An identifier for the upload. examples: @@ -62956,23 +63510,23 @@ paths: application/json: schema: type: array - items: &425 + items: &420 type: object properties: - ref: *404 - commit_sha: &433 + ref: *399 + commit_sha: &428 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *422 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *418 error: type: string examples: @@ -62997,8 +63551,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *419 + tool: *406 deletable: type: boolean warning: @@ -63060,9 +63614,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63650,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: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63664,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *420 examples: response: summary: application/json response @@ -63164,14 +63718,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63805,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: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63862,9 @@ 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': *419 + '403': *414 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -63339,7 +63893,7 @@ paths: application/json: schema: type: array - items: &426 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +64005,9 @@ 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': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +64034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +64047,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *421 examples: default: value: @@ -63525,11 +64079,11 @@ 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': &456 + '302': &451 description: Found - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +64103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +64114,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *414 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +64142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -63598,7 +64152,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +64231,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +64241,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +64289,7 @@ paths: items: type: object properties: - repository: &428 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +64331,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64363,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63824,7 +64378,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: *428 + items: *423 required: - repository_count - repositories @@ -63847,8 +64401,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64418,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &425 summary: Default response value: id: 1 @@ -64016,17 +64570,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64601,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: - - *314 - - *315 + - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64614,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *426 examples: - default: *430 + default: *425 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64639,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: - - *314 + - *309 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64674,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64778,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64339,9 +64893,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64430,7 +64984,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -64455,7 +65009,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +65023,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +65080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64535,7 +65089,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *428 ref: type: string description: |- @@ -64595,7 +65149,7 @@ paths: schema: type: object properties: - id: *424 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +65163,11 @@ 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': *419 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +65186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *314 - - *315 + - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +65235,10 @@ 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': *413 + '403': *408 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +65260,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64763,7 +65317,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': *156 + '204': *164 '304': *35 '403': *27 '404': *6 @@ -64788,8 +65342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *309 + - *310 - 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 @@ -64917,8 +65471,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64934,7 +65488,7 @@ paths: type: integer codespaces: type: array - items: *204 + items: *209 examples: default: value: @@ -65210,7 +65764,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -65297,22 +65851,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65890,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -65377,7 +65931,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *97 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65993,9 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: &637 + default: &640 value: total_count: 2 machines: @@ -65458,7 +66012,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65481,8 +66035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65569,8 +66123,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: - - *314 - - *315 + - *309 + - *310 - 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 @@ -65618,7 +66172,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +66193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -65658,7 +66212,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +66233,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +66256,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *437 + schema: *432 examples: - default: *438 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +66285,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '200': description: Response content: application/json: - schema: *439 + schema: *434 examples: - default: *440 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +66315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 requestBody: required: true content: @@ -65791,7 +66345,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -65815,9 +66369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '204': description: Response @@ -65845,8 +66399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66438,7 @@ paths: application/json: schema: type: array - items: &441 + items: &436 title: Collaborator description: Collaborator type: object @@ -66052,7 +66606,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 requestBody: required: false content: @@ -66153,7 +66707,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &500 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66719,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *134 invitee: anyOf: - type: 'null' @@ -66341,7 +66895,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66990,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *436 required: - permission - role_name @@ -66490,8 +67044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -66501,7 +67055,7 @@ paths: application/json: schema: type: array - items: &442 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +67096,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *67 + reactions: *68 required: - url - html_url @@ -66559,7 +67113,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &440 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66593,7 +67147,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66618,17 +67172,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: &446 + default: &441 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66685,9 +67239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66709,7 +67263,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: default: value: @@ -66760,9 +67314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -66783,9 +67337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - 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 commit comment. @@ -66811,11 +67365,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66868,16 +67422,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67453,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -66951,8 +67505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67562,9 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: &551 + default: &546 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67634,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *309 + - *310 + - &439 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67190,11 +67744,11 @@ paths: application/json: schema: type: array - items: *442 + items: *437 examples: - default: *445 + default: *440 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 requestBody: required: true content: @@ -67257,9 +67811,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: *446 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67299,9 +67853,9 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: &543 + default: &538 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +68334,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68392,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - - &448 + - &443 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)" @@ -67857,9 +68411,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *438 examples: - default: &531 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68499,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68526,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *314 - - *315 - - *448 - - *449 - - *450 + - *309 + - *310 + - *443 + - *444 + - *445 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68564,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: *451 + default: *446 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68601,7 @@ paths: schema: type: integer example: 1 - - *449 + - *444 - *17 - *19 responses: @@ -68065,7 +68619,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *394 examples: default: value: @@ -68240,7 +68794,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68265,9 +68819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68338,7 +68892,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *134 commit_url: type: string format: uri @@ -68469,9 +69023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68481,7 +69035,7 @@ paths: application/json: schema: type: array - items: &608 + items: &611 title: Status description: The status of a commit. type: object @@ -68561,8 +69115,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +69144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -68624,11 +69178,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *447 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &448 title: Community Health File type: object properties: @@ -68644,23 +69198,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *448 readme: anyOf: - type: 'null' - - *453 + - *448 issue_template: anyOf: - type: 'null' - - *453 + - *448 pull_request_template: anyOf: - type: 'null' - - *453 + - *448 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +69343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - name: basehead @@ -68838,8 +69392,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *438 + merge_base_commit: *438 status: type: string enum: @@ -68863,10 +69417,10 @@ paths: - 6 commits: type: array - items: *443 + items: *438 files: type: array - items: *454 + items: *449 required: - url - html_url @@ -69109,8 +69663,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69306,7 +69860,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &450 summary: Response if content is a file value: type: file @@ -69443,7 +69997,7 @@ paths: - size - type - url - - &556 + - &551 title: Content File description: Content File type: object @@ -69661,7 +70215,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *450 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +70284,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *451 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +70307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69849,7 +70403,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &452 title: File Commit description: File Commit type: object @@ -70005,7 +70559,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: example-for-creating-a-file: value: @@ -70059,7 +70613,7 @@ paths: schema: oneOf: - *3 - - &487 + - &482 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70634,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &603 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -70174,7 +70728,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: default: value: @@ -70209,7 +70763,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70885,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +70908,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 - - *162 - - *163 - - *164 - - *165 + - *309 + - *310 + - *169 + - *170 + - *171 + - *172 - 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 - - *166 - - *458 - - *167 - - *168 + - *173 + - *453 + - *174 + - *175 - *46 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - 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)." @@ -70389,8 +70935,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70942,11 @@ paths: application/json: schema: type: array - items: &461 + items: &456 type: object description: A Dependabot alert. properties: - number: *52 + number: *150 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +70992,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *454 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *153 + html_url: *154 + created_at: *151 + updated_at: *152 + dismissed_at: *156 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +71022,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *155 + auto_dismissed_at: *455 required: - number - state @@ -70709,9 +71253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *309 + - *310 + - &457 name: alert_number in: path description: |- @@ -70720,13 +71264,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *150 responses: '200': description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -70839,9 +71383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *309 + - *310 + - *457 requestBody: required: true content: @@ -70886,7 +71430,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -71015,8 +71559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -71034,7 +71578,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &460 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71610,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,16 +71632,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *463 + schema: *458 examples: - default: *464 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71661,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '200': description: Response content: application/json: - schema: *465 + schema: *460 examples: default: value: @@ -71151,9 +71695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 requestBody: required: true content: @@ -71181,7 +71725,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -71205,9 +71749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '204': description: Response @@ -71229,8 +71773,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: - - *314 - - *315 + - *309 + - *310 - 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 @@ -71380,7 +71924,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *57 + Link: *52 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71404,8 +71948,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -71642,7 +72186,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +72209,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -71749,7 +72293,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &461 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +72332,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *461 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72346,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *461 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72521,11 @@ paths: application/json: schema: type: array - items: *467 + items: *462 examples: - default: *468 + default: *463 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72128,7 +72672,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: simple-example: summary: Simple example @@ -72201,9 +72745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *309 + - *310 + - &464 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72759,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: default: value: @@ -72280,9 +72824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 responses: '204': description: Response @@ -72304,9 +72848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - *17 - *19 responses: @@ -72316,7 +72860,7 @@ paths: application/json: schema: type: array - items: &470 + items: &465 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +73004,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -72480,9 +73024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 requestBody: required: true content: @@ -72557,9 +73101,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: &471 + default: &466 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +73159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - name: status_id in: path required: true @@ -72628,9 +73172,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: *471 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +73199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72713,8 +73257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -72732,7 +73276,7 @@ paths: - 5 environments: type: array - items: &473 + items: &468 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +73338,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &470 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73380,11 @@ paths: items: type: object properties: - type: *472 + type: *467 reviewer: anyOf: - *4 - - *161 + - *168 required: - id - node_id @@ -72863,7 +73407,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &471 type: - object - 'null' @@ -72980,9 +73524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *309 + - *310 + - &469 name: environment_name in: path required: true @@ -72995,9 +73539,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: &477 + default: &472 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: false content: @@ -73093,7 +73637,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *470 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73656,14 @@ paths: items: type: object properties: - type: *472 + type: *467 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *471 additionalProperties: false examples: default: @@ -73139,9 +73683,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: *477 + default: *472 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '204': description: Default response @@ -73192,9 +73736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73213,7 +73757,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &473 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -73324,9 +73868,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - example-wildcard: &479 + example-wildcard: &474 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73912,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - &480 + - *309 + - *310 + - *469 + - &475 name: branch_policy_id in: path required: true @@ -73383,9 +73927,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73948,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 requestBody: required: true content: @@ -73436,9 +73980,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +74001,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 responses: '204': description: Response @@ -73485,9 +74029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 responses: '200': description: List of deployment protection rules @@ -73504,7 +74048,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &476 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +74070,7 @@ paths: for the environment. examples: - true - app: &482 + app: &477 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +74173,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: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 requestBody: content: application/json: @@ -73652,9 +74196,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *476 examples: - default: &483 + default: &478 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +74233,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: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 - *19 - *17 responses: @@ -73711,7 +74255,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *477 examples: default: value: @@ -73746,10 +74290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *314 - - *315 - - *474 - - &484 + - *309 + - *310 + - *469 + - &479 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +74305,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *476 examples: - default: *483 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +74328,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *474 - - *315 - - *314 - - *484 + - *469 + - *310 + - *309 + - *479 responses: '204': description: Response @@ -73813,9 +74357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73833,11 +74377,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74436,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *142 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: *485 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74469,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *142 requestBody: required: true content: @@ -73959,7 +74503,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -73985,10 +74529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *142 responses: '204': description: Default response @@ -74013,10 +74557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *309 + - *310 + - *469 + - *328 - *19 responses: '200': @@ -74033,11 +74577,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -74087,7 +74631,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -74112,18 +74656,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *309 + - *310 + - *469 + - *145 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: *486 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *145 + - *469 requestBody: required: true content: @@ -74189,10 +74733,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *145 + - *469 responses: '204': description: Response @@ -74214,8 +74758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -74225,7 +74769,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74850,7 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: default: value: @@ -74419,7 +74963,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *57 + Link: *52 '400': *14 x-github: githubCloudOnly: false @@ -74443,8 +74987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -74477,9 +75021,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -74500,8 +75044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74560,8 +75104,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *103 + - *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +75130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *309 + - *310 - name: file_sha in: path required: true @@ -74687,8 +75231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74797,7 +75341,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &483 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75568,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 responses: '200': description: Response content: application/json: - schema: *488 + schema: *483 examples: default: value: @@ -75088,9 +75632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *309 + - *310 + - &484 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. @@ -75107,7 +75651,7 @@ paths: application/json: schema: type: array - items: &490 + items: &485 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75705,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -75183,17 +75727,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '200': description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: &491 + default: &486 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75252,9 +75796,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 requestBody: required: true content: @@ -75311,9 +75855,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 '422': *15 '409': *45 x-github: @@ -75331,9 +75875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '204': description: Response @@ -75388,8 +75932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75456,7 +76000,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &488 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +76056,7 @@ paths: - sha - type - url - verification: *492 + verification: *487 required: - sha - url @@ -75522,7 +76066,7 @@ paths: - tag - message examples: - default: &494 + default: &489 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +76139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *309 + - *310 - name: tag_sha in: path required: true @@ -75607,9 +76151,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *488 examples: - default: *494 + default: *489 '404': *6 '409': *45 x-github: @@ -75633,8 +76177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75708,7 +76252,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &490 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76378,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *490 examples: default-response: summary: Default response @@ -75893,8 +76437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -75904,7 +76448,7 @@ paths: application/json: schema: type: array - items: &496 + items: &491 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76511,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &721 title: Hook Response type: object properties: @@ -76025,7 +76569,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76098,9 +76642,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: &497 + default: &492 value: type: Repository id: 12345678 @@ -76148,17 +76692,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '200': description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -76178,9 +76722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 requestBody: required: true content: @@ -76225,9 +76769,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '422': *15 '404': *6 x-github: @@ -76248,9 +76792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '204': description: Response @@ -76274,9 +76818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '200': description: Response @@ -76303,9 +76847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 requestBody: required: false content: @@ -76349,11 +76893,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 - *17 - - *177 + - *182 responses: '200': description: Response @@ -76361,9 +76905,9 @@ paths: application/json: schema: type: array - items: *178 + items: *183 examples: - default: *179 + default: *184 '400': *14 '422': *15 x-github: @@ -76382,18 +76926,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *185 examples: - default: *181 + default: *186 '400': *14 '422': *15 x-github: @@ -76412,9 +76956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 - *16 responses: '202': *37 @@ -76437,9 +76981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '204': description: Response @@ -76464,9 +77008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '204': description: Response @@ -76489,8 +77033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +77082,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +77103,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +77161,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &498 + schema: &493 title: Import description: A repository import from an external source. type: object @@ -76731,7 +77275,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &496 value: vcs: subversion use_lfs: true @@ -76747,7 +77291,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': &499 + '503': &494 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +77320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -76825,7 +77369,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: default: value: @@ -76850,7 +77394,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76931,7 +77475,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: example-1: summary: Example 1 @@ -76979,7 +77523,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': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77546,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *309 + - *310 + - &661 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77593,7 @@ paths: application/json: schema: type: array - items: &500 + items: &495 title: Porter Author description: Porter Author type: object @@ -77103,7 +77647,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': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *309 + - *310 - name: author_id in: path required: true @@ -77159,7 +77703,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *495 examples: default: value: @@ -77172,7 +77716,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77238,7 +77782,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -77294,11 +77838,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: - default: *501 + default: *496 '422': *15 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77330,8 +77874,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *497 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77360,12 +77904,12 @@ paths: application/json: schema: anyOf: - - *194 + - *199 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &499 value: limit: collaborators_only origin: repository @@ -77390,13 +77934,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *503 + schema: *498 examples: default: summary: Example request body @@ -77408,9 +77952,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *199 examples: - default: *504 + default: *499 '409': description: Response x-github: @@ -77432,8 +77976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -77456,8 +78000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -77467,9 +78011,9 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: &652 + default: &654 value: - id: 1 repository: @@ -77583,7 +78127,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,9 +78144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *203 requestBody: required: false content: @@ -77631,7 +78175,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *500 examples: default: value: @@ -77762,9 +78306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *203 responses: '204': description: Response @@ -77795,8 +78339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *309 + - *310 - 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 @@ -77844,7 +78388,7 @@ paths: required: false schema: type: string - - *202 + - *207 - name: sort description: What to sort results by. in: query @@ -77857,7 +78401,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78411,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78560,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '422': *15 '404': *6 x-github: @@ -78046,8 +78590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -78137,9 +78681,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78837,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *98 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *309 + - *310 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78879,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +78889,9 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: &511 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78922,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '404': *6 x-github: @@ -78405,17 +78949,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: &507 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +79013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78493,9 +79037,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +79057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -78535,9 +79079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - 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 comment. @@ -78563,11 +79107,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +79130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78620,16 +79164,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +79195,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -78674,8 +79218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -78685,7 +79229,7 @@ paths: application/json: schema: type: array - items: &508 + items: &503 title: Issue Event description: Issue Event type: object @@ -78732,7 +79276,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +79309,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *168 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79376,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79550,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *309 + - *310 - name: event_id in: path required: true @@ -79036,7 +79580,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *503 examples: default: value: @@ -79229,7 +79773,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *315 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *309 + - *310 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79821,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79428,15 +79972,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '422': *15 - '503': *73 + '503': *98 '403': *27 - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79482,9 +80026,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +80044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: content: application/json: @@ -79527,9 +80071,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +80095,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: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: assignee in: path required: true @@ -79593,10 +80137,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *309 + - *310 + - *505 + - *72 - *17 - *19 responses: @@ -79606,13 +80150,13 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: *511 + default: *506 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +80185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79665,16 +80209,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79702,9 +80246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79714,14 +80258,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +80293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79773,17 +80317,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *318 '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79814,9 +80358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80372,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79874,14 +80418,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79914,7 +80458,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &509 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80507,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &510 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80635,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &511 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &512 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &513 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &514 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80805,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *168 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80818,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &515 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80847,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *168 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &516 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80916,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &517 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80961,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &518 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +81022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &519 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +81083,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &520 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +81144,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &521 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +81236,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +81254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -80722,9 +81266,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &508 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +81285,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +81305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80822,12 +81366,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80906,12 +81450,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81472,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: name in: path required: true @@ -80970,7 +81514,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81525,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -81034,7 +81578,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *315 '404': *6 '422': *15 x-github: @@ -81052,9 +81596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response @@ -81084,20 +81628,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - 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. @@ -81142,13 +81686,13 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81200,16 +81744,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81775,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 + - *309 - *310 + - *505 + - *305 responses: '204': description: Response @@ -81263,9 +81807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81287,9 +81831,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81334,13 +81878,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81397,16 +81941,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -81426,9 +81970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81459,13 +82003,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *98 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +82027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81500,6 +82044,11 @@ paths: description: Timeline Event type: object anyOf: + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 @@ -81508,11 +82057,6 @@ paths: - *519 - *520 - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +82104,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - event - actor @@ -81596,7 +82140,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82362,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82385,7 @@ paths: type: string comments: type: array - items: &545 + items: &540 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82490,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -82041,7 +82585,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82623,7 @@ paths: type: string comments: type: array - items: *442 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82896,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82382,7 +82926,7 @@ paths: application/json: schema: type: array - items: &527 + items: &522 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82978,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82487,9 +83031,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: &528 + default: &523 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +83067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *309 + - *310 + - &524 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +83081,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +83101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *309 + - *310 + - *524 responses: '204': description: Response @@ -82579,8 +83123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82590,11 +83134,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +83157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82650,9 +83194,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &525 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +83228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82696,9 +83240,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +83259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82755,7 +83299,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +83325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82808,8 +83352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -82848,9 +83392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *309 + - *310 + - *415 responses: '200': description: Response @@ -82916,7 +83460,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83063,8 +83607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83098,9 +83642,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *438 examples: - default: *531 + default: *526 '204': description: Response when already merged '404': @@ -83125,8 +83669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83167,7 +83711,7 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: default: value: @@ -83206,7 +83750,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -83223,8 +83767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83264,9 +83808,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: - default: &532 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83325,9 +83869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *309 + - *310 + - &528 name: milestone_number description: The number that identifies the milestone. in: path @@ -83339,9 +83883,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: - default: *532 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 requestBody: required: false content: @@ -83398,9 +83942,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 responses: '204': description: Response @@ -83439,9 +83983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 - *17 - *19 responses: @@ -83451,11 +83995,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +84016,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *314 - - *315 - - *534 - - *535 - - *75 - - *536 + - *309 + - *310 + - *529 + - *530 + - *72 + - *531 - *17 - *19 responses: @@ -83487,11 +84031,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *532 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +84057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -83572,14 +84116,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &538 + schema: &533 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +84267,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &534 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +84308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83820,9 +84364,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *533 examples: - default: *539 + default: *534 '422': *15 '409': *45 x-github: @@ -83845,8 +84389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83946,8 +84490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -83973,8 +84517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -83984,7 +84528,7 @@ paths: application/json: schema: type: array - items: &540 + items: &535 title: Page Build description: Page Build type: object @@ -84057,7 +84601,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84076,8 +84620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response @@ -84124,16 +84668,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: &541 + default: &536 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 - name: build_id in: path required: true @@ -84193,9 +84737,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: *541 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84324,9 +84868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *314 - - *315 - - &542 + - *309 + - *310 + - &537 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +84928,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *309 + - *310 + - *537 responses: - '204': *156 + '204': *164 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +84957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84682,7 +85226,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -84709,8 +85253,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +85291,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +85313,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +85337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Indicates the state of the projects to return. in: query @@ -84815,7 +85359,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -84851,11 +85395,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84905,13 +85449,13 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: - default: *319 + default: *314 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84943,7 +85487,7 @@ paths: application/json: schema: type: array - items: *249 + items: *254 examples: default: value: @@ -84974,8 +85518,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84987,7 +85531,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *249 + items: *254 required: - properties examples: @@ -85037,8 +85581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85642,11 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: *543 + default: *538 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -85200,7 +85744,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &542 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85329,7 +85873,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *243 active_lock_reason: type: - string @@ -85384,7 +85928,7 @@ paths: type: - array - 'null' - items: *214 + items: *219 head: type: object properties: @@ -85392,7 +85936,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +85953,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85422,14 +85966,14 @@ paths: _links: type: object properties: - comments: *239 - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + comments: *244 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -85439,8 +85983,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *539 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +86086,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: sort in: query required: false @@ -86089,7 +86633,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86643,9 @@ paths: application/json: schema: type: array - items: *545 + items: *540 examples: - default: &550 + default: &545 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86697,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *540 examples: - default: &546 + default: &541 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86287,9 +86831,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *540 examples: - default: *546 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -86328,9 +86872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - 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 pull request review comment. @@ -86356,11 +86900,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86413,16 +86957,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -86490,9 +87034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *309 + - *310 + - &544 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +87049,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *542 examples: - default: *548 + default: *543 '304': *35 '404': *6 '406': @@ -86515,8 +87059,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +87086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -86586,9 +87130,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *542 examples: - default: *548 + default: *543 '422': *15 '403': *27 x-github: @@ -86610,9 +87154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: true content: @@ -86673,21 +87217,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +87257,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *314 - - *315 - - *549 - - *92 + - *309 + - *310 + - *544 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +87270,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +87280,11 @@ paths: application/json: schema: type: array - items: *545 + items: *540 examples: - default: *550 + default: *545 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +87315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: true content: @@ -86879,7 +87423,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *540 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87511,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *314 - - *315 - - *549 - - *84 + - *309 + - *310 + - *544 + - *81 requestBody: required: true content: @@ -86992,7 +87536,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *540 examples: default: value: @@ -87078,9 +87622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 - *17 - *19 responses: @@ -87090,11 +87634,11 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: *551 + default: *546 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 - *17 - *19 responses: @@ -87134,7 +87678,7 @@ paths: application/json: schema: type: array - items: *454 + items: *449 examples: default: value: @@ -87150,10 +87694,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -87311,9 +87855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 responses: '200': description: Response @@ -87329,7 +87873,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *168 required: - users - teams @@ -87370,7 +87914,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87388,9 +87932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -87427,7 +87971,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -87963,9 +88507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: true content: @@ -87999,7 +88543,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -88504,9 +89048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 - *17 - *19 responses: @@ -88516,7 +89060,7 @@ paths: application/json: schema: type: array - items: &552 + items: &547 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +89134,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +89183,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +89216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -88764,9 +89308,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: &554 + default: &549 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89373,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - &553 + - *309 + - *310 + - *544 + - &548 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89388,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: &555 + default: &550 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89449,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 requestBody: required: true content: @@ -88931,7 +89475,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: default: value: @@ -88993,18 +89537,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 responses: '200': description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: *554 + default: *549 '422': *7 '404': *6 x-github: @@ -89031,10 +89575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 - *17 - *19 responses: @@ -89128,13 +89672,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: - self: *239 - html: *239 - pull_request: *239 + self: *244 + html: *244 + pull_request: *244 required: - self - html @@ -89143,7 +89687,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89807,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89292,10 +89836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 requestBody: required: true content: @@ -89324,7 +89868,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: default: value: @@ -89387,10 +89931,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 requestBody: required: true content: @@ -89425,9 +89969,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: *555 + default: *550 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -89515,8 +90059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +90073,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *551 examples: - default: &557 + default: &552 value: type: file encoding: base64 @@ -89573,8 +90117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +90138,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *551 examples: - default: *557 + default: *552 '404': *6 '422': *15 x-github: @@ -89618,8 +90162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -89629,7 +90173,7 @@ paths: application/json: schema: type: array - items: *558 + items: *553 examples: default: value: @@ -89703,7 +90247,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +90267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -89800,9 +90344,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: &562 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89907,9 +90451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *309 + - *310 + - &555 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90465,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *554 examples: - default: &561 + default: &556 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 @@ -89958,7 +90502,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *555 requestBody: required: false content: @@ -90005,9 +90549,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *554 examples: - default: *561 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *555 responses: '204': description: Response @@ -90049,8 +90593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -90136,16 +90680,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: *562 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *309 + - *310 - name: tag description: tag parameter in: path @@ -90176,9 +90720,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: *562 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *309 + - *310 + - &558 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90760,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: *558 + schema: *553 examples: - default: *562 + default: *557 '401': description: Unauthorized x-github: @@ -90236,9 +90780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 requestBody: required: false content: @@ -90302,9 +90846,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: *562 + default: *557 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 responses: '204': description: Response @@ -90347,9 +90891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 - *17 - *19 responses: @@ -90359,7 +90903,7 @@ paths: application/json: schema: type: array - items: *559 + items: *554 examples: default: value: @@ -90396,7 +90940,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90984,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: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 - name: name in: query required: true @@ -90468,7 +91012,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *554 examples: response-for-successful-upload: value: @@ -90523,9 +91067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 - 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. @@ -90549,11 +91093,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +91116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 requestBody: required: true content: @@ -90604,16 +91148,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +91179,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 + - *309 - *310 + - *558 + - *305 responses: '204': description: Response @@ -90662,9 +91206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 - *17 - *19 responses: @@ -90680,8 +91224,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *256 - - &564 + - *261 + - &559 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90700,69 +91244,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *257 - - *564 - - allOf: - - *258 - - *564 - - allOf: - - *259 - - *564 - - allOf: - - *565 - - *564 - - allOf: - - *260 - - *564 - - allOf: - - *261 - - *564 - allOf: - *262 - - *564 + - *559 - allOf: - *263 - - *564 + - *559 - allOf: - *264 - - *564 + - *559 + - allOf: + - *560 + - *559 - allOf: - *265 - - *564 + - *559 - allOf: - *266 - - *564 + - *559 - allOf: - *267 - - *564 + - *559 - allOf: - *268 - - *564 + - *559 - allOf: - *269 - - *564 + - *559 - allOf: - *270 - - *564 + - *559 - allOf: - *271 - - *564 + - *559 - allOf: - *272 - - *564 + - *559 - allOf: - *273 - - *564 + - *559 - allOf: - *274 - - *564 + - *559 - allOf: - *275 - - *564 + - *559 + - allOf: + - *276 + - *559 + - allOf: + - *277 + - *559 - allOf: - - *566 - - *564 + - *278 + - *559 + - allOf: + - *279 + - *559 + - allOf: + - *280 + - *559 + - allOf: + - *561 + - *559 examples: default: value: @@ -90801,8 +91345,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90813,7 +91357,7 @@ paths: schema: type: boolean default: true - - *567 + - *562 responses: '200': description: Response @@ -90821,7 +91365,7 @@ paths: application/json: schema: type: array - items: *276 + items: *281 examples: default: value: @@ -90852,7 +91396,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91412,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 requestBody: description: Request body required: true @@ -90889,16 +91433,16 @@ paths: - tag - push default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *563 required: - name - enforcement @@ -90929,9 +91473,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &578 + default: &573 value: id: 42 name: super cool ruleset @@ -90964,7 +91508,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91522,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 - - *569 - - *570 - - *571 - - *572 + - *309 + - *310 + - *564 + - *565 + - *566 + - *567 - *17 - *19 responses: @@ -90991,11 +91535,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *568 examples: - default: *574 + default: *569 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91558,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *309 + - *310 + - *570 responses: '200': description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: *577 + default: *572 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91596,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91073,11 +91617,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *573 '404': *6 - '500': *100 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91637,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91119,16 +91663,16 @@ paths: - branch - tag - push - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *563 examples: default: value: @@ -91156,11 +91700,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *573 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91720,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91732,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -91217,11 +91761,11 @@ paths: application/json: schema: type: array - items: *279 + items: *284 examples: - default: *579 + default: *574 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91801,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *575 examples: default: value: @@ -91290,7 +91834,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91856,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *280 - - *281 - - *282 - - *283 + - *309 + - *310 + - *576 + - *577 + - *578 + - *579 - *46 - *19 - *17 + - *580 - *581 - *582 - - *284 - - *285 - - *286 - - *287 + - *583 + - *584 + - *585 responses: '200': description: Response @@ -91334,24 +91878,24 @@ paths: application/json: schema: type: array - items: &586 + items: &589 type: object properties: - number: *52 - created_at: *53 + number: *150 + created_at: *151 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *152 + url: *153 + html_url: *154 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *586 + resolution: *587 resolved_at: type: - string @@ -91445,7 +91989,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *588 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +92112,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +92134,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 - - *287 + - *309 + - *310 + - *409 + - *585 responses: '200': description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -91630,7 +92174,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +92195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -91661,8 +92205,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *586 + resolution: *587 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +92225,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -91734,7 +92278,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +92300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 responses: @@ -91769,7 +92313,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &741 type: object properties: type: @@ -91796,9 +92340,6 @@ paths: - commit details: oneOf: - - *587 - - *588 - - *589 - *590 - *591 - *592 @@ -91809,6 +92350,9 @@ paths: - *597 - *598 - *599 + - *600 + - *601 + - *602 examples: default: value: @@ -91868,11 +92412,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -91903,14 +92447,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &604 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *603 required: - reason - placeholder_id @@ -91927,7 +92471,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *604 expire_at: type: - string @@ -91951,7 +92495,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92507,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -91971,13 +92518,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *98 '200': description: Response content: @@ -91987,7 +92534,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &605 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92562,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *605 backfill_scans: type: array - items: *602 + items: *605 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *605 - type: object properties: pattern_name: @@ -92093,8 +92640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *309 + - *310 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92685,9 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: - default: *604 + default: *607 '400': *14 '404': *6 x-github: @@ -92163,8 +92710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92244,7 +92791,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -92334,9 +92881,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: &606 + default: &609 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +93116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92683,7 +93230,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: default: value: @@ -92830,17 +93377,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 responses: '200': description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *606 + default: *609 '403': *27 '404': *6 x-github: @@ -92864,9 +93411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 requestBody: required: true content: @@ -92946,7 +93493,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -93037,17 +93584,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *606 - add_credit: *606 + default: *609 + add_credit: *609 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *103 examples: invalid_state_transition: value: @@ -93078,9 +93625,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: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 responses: '202': *37 '400': *14 @@ -93107,17 +93654,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 responses: '202': description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93218,7 +93765,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93797,7 @@ paths: application/json: schema: type: array - items: &607 + items: &610 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93810,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *164 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93335,7 +93882,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +93909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93435,7 +93982,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +94004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +94159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +94170,7 @@ paths: application/json: schema: type: array - items: *607 + items: *610 examples: default: value: @@ -93636,7 +94183,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +94203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *309 + - *310 - name: sha in: path required: true @@ -93713,7 +94260,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: default: value: @@ -93767,8 +94314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93780,9 +94327,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94347,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &612 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -93907,7 +94454,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: default: value: @@ -93934,8 +94481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -93955,8 +94502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94015,7 +94562,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94038,8 +94585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94047,7 +94594,7 @@ paths: application/json: schema: type: array - items: &610 + items: &613 title: Tag protection description: Tag protection type: object @@ -94104,8 +94651,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94128,7 +94675,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: default: value: @@ -94159,8 +94706,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: - - *314 - - *315 + - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94744,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -94234,8 +94781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94245,11 +94792,11 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 responses: @@ -94276,7 +94823,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &614 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94835,7 @@ paths: required: - names examples: - default: &612 + default: &615 value: names: - octocat @@ -94311,8 +94858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94343,9 +94890,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *614 examples: - default: *612 + default: *615 '404': *6 '422': *7 x-github: @@ -94366,9 +94913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *309 + - *310 + - &616 name: per description: The time frame to display results for. in: query @@ -94399,7 +94946,7 @@ paths: - 128 clones: type: array - items: &614 + items: &617 title: Traffic type: object properties: @@ -94486,8 +95033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94581,8 +95128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94645,9 +95192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *309 + - *310 + - *616 responses: '200': description: Response @@ -94668,7 +95215,7 @@ paths: - 3782 views: type: array - items: *614 + items: *617 required: - uniques - count @@ -94745,8 +95292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94782,7 +95329,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *134 examples: default: value: @@ -95020,8 +95567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95067,8 +95614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95094,8 +95641,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -95187,9 +95734,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95777,7 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: default: value: @@ -95419,7 +95966,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *134 score: type: number file_size: @@ -95438,7 +95985,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &618 title: Search Result Text Matches type: array items: @@ -95553,7 +96100,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *98 '422': *15 '403': *27 x-github: @@ -95601,7 +96148,7 @@ paths: enum: - author-date - committer-date - - &616 + - &619 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 @@ -95670,7 +96217,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 comment_count: type: integer message: @@ -95689,7 +96236,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *487 required: - author - committer @@ -95704,7 +96251,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 parents: type: array items: @@ -95716,12 +96263,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *134 score: type: number node_id: type: string - text_matches: *615 + text_matches: *618 required: - sha - node_id @@ -95913,7 +96460,7 @@ paths: - interactions - created - updated - - *616 + - *619 - *17 - *19 - name: advanced_search @@ -96010,11 +96557,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: type: string state_reason: @@ -96028,7 +96575,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *243 comments: type: integer created_at: @@ -96042,7 +96589,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *618 pull_request: type: object properties: @@ -96080,10 +96627,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *67 draft: type: boolean - repository: *66 + repository: *64 body_html: type: string body_text: @@ -96091,12 +96638,12 @@ paths: timeline_url: type: string format: uri - type: *199 + type: *204 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96759,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *98 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96812,7 @@ paths: enum: - created - updated - - *616 + - *619 - *17 - *19 responses: @@ -96310,7 +96857,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *618 required: - id - node_id @@ -96395,7 +96942,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *619 - *17 - *19 responses: @@ -96614,7 +97161,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +97179,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *618 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97382,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *98 '422': *15 '304': *35 x-github: @@ -96940,7 +97487,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *618 related: type: - array @@ -97133,7 +97680,7 @@ paths: - followers - repositories - joined - - *616 + - *619 - *17 - *19 responses: @@ -97243,7 +97790,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *618 blog: type: - string @@ -97305,7 +97852,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *98 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &623 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97884,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *623 requestBody: required: true content: @@ -97430,16 +97977,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -97467,7 +98014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *623 responses: '204': description: Response @@ -97498,7 +98045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *623 - *46 - *17 - *19 @@ -97509,11 +98056,11 @@ paths: application/json: schema: type: array - items: *301 + items: *296 examples: - default: *621 + default: *624 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +98087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *623 requestBody: required: true content: @@ -97574,9 +98121,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +98150,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 responses: '200': description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +98184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 requestBody: required: false content: @@ -97661,9 +98208,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *622 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +98235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 responses: '204': description: Response @@ -97718,8 +98265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *623 + - *298 - *46 - *17 - *19 @@ -97730,11 +98277,11 @@ paths: application/json: schema: type: array - items: *304 + items: *299 examples: - default: *623 + default: *626 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +98308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *623 + - *298 requestBody: required: true content: @@ -97784,9 +98331,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98360,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 responses: '200': description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 requestBody: required: true content: @@ -97872,9 +98419,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 responses: '204': description: Response @@ -97930,9 +98477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 - 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. @@ -97958,11 +98505,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 requestBody: required: true content: @@ -98023,9 +98570,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 - 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. @@ -98078,11 +98625,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 requestBody: required: true content: @@ -98142,9 +98689,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98178,11 +98725,11 @@ paths: application/json: schema: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *623 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98776,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: Response @@ -98334,8 +98881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: Response @@ -98371,16 +98918,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *628 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *623 + - *57 requestBody: required: false content: @@ -98439,9 +98986,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *629 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +99022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: Response @@ -98504,7 +99051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98514,11 +99061,11 @@ paths: application/json: schema: type: array - items: *312 + items: *307 examples: - default: *627 + default: *630 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +99089,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *623 + - *308 responses: '200': description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: *628 + default: *631 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +99122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *623 + - *308 requestBody: required: false content: @@ -98643,8 +99190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *623 + - *308 responses: '204': description: Response @@ -98671,7 +99218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98681,11 +99228,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +99260,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *620 - - *314 - - *315 + - *623 + - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *632 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *620 - - *314 - - *315 + - *623 + - *309 + - *310 requestBody: required: false content: @@ -98924,9 +99471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *620 - - *314 - - *315 + - *623 + - *309 + - *310 responses: '204': description: Response @@ -98951,7 +99498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98961,11 +99508,11 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *633 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99543,7 @@ paths: application/json: schema: oneOf: - - &632 + - &635 title: Private User description: Private User type: object @@ -99246,7 +99793,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *634 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99953,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -99485,7 +100032,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +100055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: If the user is blocked @@ -99536,7 +100083,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99560,7 +100107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99609,11 +100156,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *209 examples: - default: *205 + default: *210 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -99750,21 +100297,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100351,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &636 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100393,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100465,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *142 responses: '200': description: Response content: application/json: - schema: *633 + schema: *636 examples: default: value: @@ -99954,7 +100501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *139 + - *142 requestBody: required: true content: @@ -99999,7 +100546,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -100027,7 +100574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *142 responses: '204': description: Response @@ -100052,7 +100599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *142 responses: '200': description: Response @@ -100068,13 +100615,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *634 + default: *637 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *142 requestBody: required: true content: @@ -100127,7 +100674,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *142 - name: repository_id in: path required: true @@ -100161,7 +100708,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *142 - name: repository_id in: path required: true @@ -100194,7 +100741,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100214,17 +100761,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100248,7 +100795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 requestBody: required: false content: @@ -100278,9 +100825,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 @@ -100302,11 +100849,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100331,13 +100878,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '202': description: Response content: application/json: - schema: &635 + schema: &638 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100937,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &639 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100945,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100422,7 +100969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *206 + - *211 - name: export_id in: path required: true @@ -100435,9 +100982,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: - default: *636 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -100458,7 +101005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *206 + - *211 responses: '200': description: Response @@ -100474,11 +101021,11 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: *637 + default: *640 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100505,7 +101052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *206 + - *211 requestBody: required: true content: @@ -100561,11 +101108,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *317 machine: anyOf: - type: 'null' - - *435 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101362,17 +101909,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *97 '400': *14 '401': *23 '402': @@ -101402,16 +101949,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 - '500': *100 + default: *429 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -101440,9 +101987,9 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: &649 + default: &651 value: - id: 197 name: hello_docker @@ -101543,7 +102090,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 title: Email description: Email type: object @@ -101613,16 +102160,16 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: - default: &651 + default: &653 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +102239,7 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: default: value: @@ -101804,9 +102351,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102384,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: if the person is followed by the authenticated user @@ -101889,7 +102436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101914,7 +102461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101950,7 +102497,7 @@ paths: application/json: schema: type: array - items: &639 + items: &642 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102642,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &667 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102674,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102727,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: &640 + default: &643 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &641 + - &644 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102798,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *641 + - *644 responses: '204': description: Response @@ -102419,7 +102966,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +103012,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *126 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +103039,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *123 responses: '204': description: Response @@ -102518,7 +103065,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *123 responses: '204': description: Response @@ -102552,12 +103099,12 @@ paths: application/json: schema: anyOf: - - *194 + - *199 - type: object properties: {} additionalProperties: false examples: - default: *195 + default: *200 '204': description: Response when there are no restrictions x-github: @@ -102581,7 +103128,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *498 examples: default: value: @@ -102592,7 +103139,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *199 examples: default: value: @@ -102673,7 +103220,7 @@ paths: - closed - all default: open - - *202 + - *207 - name: sort description: What to sort results by. in: query @@ -102686,7 +103233,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +103243,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *208 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +103278,7 @@ paths: application/json: schema: type: array - items: &642 + items: &645 title: Key description: Key type: object @@ -102783,7 +103330,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103381,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: &643 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103416,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '200': description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *643 + default: *646 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '204': description: Response @@ -102933,7 +103480,7 @@ paths: application/json: schema: type: array - items: &644 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103548,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103559,7 @@ paths: - account - plan examples: - default: &645 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103592,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103621,11 @@ paths: application/json: schema: type: array - items: *644 + items: *647 examples: - default: *645 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103116,7 +103663,7 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: default: value: @@ -103193,7 +103740,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,13 +103765,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *208 + schema: *213 examples: default: value: @@ -103282,7 +103829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 requestBody: required: true content: @@ -103307,7 +103854,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: default: value: @@ -103375,7 +103922,7 @@ paths: application/json: schema: type: array - items: *210 + items: *215 examples: default: value: @@ -103528,7 +104075,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103637,7 +104184,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -103817,7 +104364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *216 - name: exclude in: query required: false @@ -103830,7 +104377,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -104024,7 +104571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *216 responses: '302': description: Response @@ -104050,7 +104597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *216 responses: '204': description: Response @@ -104079,8 +104626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *646 + - *216 + - *649 responses: '204': description: Response @@ -104104,7 +104651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *216 - *17 - *19 responses: @@ -104114,11 +104661,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104698,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104742,7 @@ paths: - docker - nuget - container - - *648 + - *650 - *19 - *17 responses: @@ -104205,10 +104752,10 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *649 - '400': *650 + default: *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104228,16 +104775,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *216 + schema: *221 examples: - default: &666 + default: &668 value: id: 40201 name: octo-name @@ -104350,8 +104897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *223 + - *224 responses: '204': description: Response @@ -104381,8 +104928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *223 + - *224 - name: token description: package token schema: @@ -104414,8 +104961,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: - - *218 - - *219 + - *223 + - *224 - *19 - *17 - name: state @@ -104435,7 +104982,7 @@ paths: application/json: schema: type: array - items: *220 + items: *225 examples: default: value: @@ -104484,15 +105031,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *223 + - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: default: value: @@ -104528,9 +105075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *223 + - *224 + - *226 responses: '204': description: Response @@ -104560,9 +105107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *223 + - *224 + - *226 responses: '204': description: Response @@ -104620,7 +105167,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -104692,11 +105239,11 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: - default: *651 + default: *653 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105352,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &660 summary: Default response value: - id: 1296269 @@ -104928,7 +105475,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105672,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105712,11 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: *652 + default: *654 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105190,7 +105737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *198 + - *203 responses: '204': description: Response @@ -105213,7 +105760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *198 + - *203 responses: '204': description: Response @@ -105246,7 +105793,7 @@ paths: application/json: schema: type: array - items: &653 + items: &655 title: Social account description: Social media account type: object @@ -105263,12 +105810,12 @@ paths: - provider - url examples: - default: &654 + default: &656 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105873,9 @@ paths: application/json: schema: type: array - items: *653 + items: *655 examples: - default: *654 + default: *656 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105963,7 @@ paths: application/json: schema: type: array - items: &655 + items: &657 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105983,7 @@ paths: - title - created_at examples: - default: &680 + default: &682 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105996,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105503,9 +106050,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *657 examples: - default: &656 + default: &658 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +106083,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: - - &657 + - &659 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +106095,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *657 examples: - default: *656 + default: *658 '404': *6 '304': *35 '403': *27 @@ -105573,7 +106120,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: - - *657 + - *659 responses: '204': description: Response @@ -105602,7 +106149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &683 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 @@ -105625,13 +106172,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *660 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &684 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +106186,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +106314,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +106334,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: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105841,8 +106388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105875,11 +106422,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106461,7 @@ paths: application/json: schema: type: array - items: *299 + items: *294 examples: default: value: @@ -105965,7 +106512,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *85 responses: '200': description: Response @@ -106000,10 +106547,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *635 + - *634 examples: - default-response: &660 + default-response: &662 summary: Default response value: login: octocat @@ -106038,7 +106585,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &661 + response-with-git-hub-plan-information: &663 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *661 - *17 responses: '200': @@ -106109,7 +106656,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106147,11 +106694,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *635 + - *634 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *662 + response-with-git-hub-plan-information: *663 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106724,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106747,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *664 + withPredicateType: *665 responses: '200': description: Response @@ -106255,7 +106802,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *62 + - *57 requestBody: required: true content: @@ -106338,7 +106885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106369,7 +106916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *62 + - *57 - name: attestation_id description: Attestation ID in: path @@ -106407,7 +106954,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +107006,12 @@ paths: initiator: type: string examples: - default: *378 + default: *373 '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -106490,7 +107037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106498,9 +107045,9 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *649 + default: *651 '403': *27 '401': *23 x-github: @@ -106523,7 +107070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106533,7 +107080,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +107142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *62 - - *99 + - *57 + - *61 - *17 - *19 responses: @@ -106606,7 +107153,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +107230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106693,7 +107240,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +107298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106763,9 +107310,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +107329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106794,9 +107341,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *62 + - *57 - name: target_user in: path required: true @@ -106840,8 +107387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *72 - *17 - *19 responses: @@ -106851,11 +107398,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +107421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106884,11 +107431,11 @@ paths: application/json: schema: type: array - items: *639 + items: *642 examples: - default: *665 + default: *667 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *62 + - *57 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106982,7 +107529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *62 + - *57 responses: '200': description: Response @@ -106990,7 +107537,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107044,7 +107591,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107074,11 +107621,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107662,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *650 + - *57 - *19 - *17 responses: @@ -107126,12 +107673,12 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *649 + default: *651 '403': *27 '401': *23 - '400': *650 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107151,17 +107698,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 responses: '200': description: Response content: application/json: - schema: *216 + schema: *221 examples: - default: *666 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107182,9 +107729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 responses: '204': description: Response @@ -107216,9 +107763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 - name: token description: package token schema: @@ -107250,9 +107797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 responses: '200': description: Response @@ -107260,7 +107807,7 @@ paths: application/json: schema: type: array - items: *220 + items: *225 examples: default: value: @@ -107318,16 +107865,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *218 - - *219 - - *221 - - *62 + - *223 + - *224 + - *226 + - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: default: value: @@ -107362,10 +107909,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *223 + - *224 + - *57 + - *226 responses: '204': description: Response @@ -107397,10 +107944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *223 + - *224 + - *57 + - *226 responses: '204': description: Response @@ -107426,7 +107973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107447,7 +107994,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -107483,7 +108030,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -107505,7 +108052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107522,11 +108069,11 @@ paths: application/json: schema: type: array - items: *233 + items: *238 examples: - default: *234 + default: *239 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107546,18 +108093,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *235 - - *62 + - *240 + - *57 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *234 + default: *239 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107577,8 +108124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *235 - - *62 + - *240 + - *57 - *17 - *38 - *39 @@ -107589,11 +108136,11 @@ paths: application/json: schema: type: array - items: *236 + items: *241 examples: - default: *237 + default: *242 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107613,19 +108160,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *235 - - *667 - - *62 + - *240 + - *669 + - *57 responses: '200': description: Response content: application/json: - schema: *236 + schema: *241 examples: - default: *237 + default: *242 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107646,8 +108193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *235 - - *62 + - *240 + - *57 - *38 - *39 - *17 @@ -107659,17 +108206,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -107677,11 +108226,11 @@ paths: application/json: schema: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,8 +108249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 - - *235 + - *57 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -107738,10 +108287,10 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: - issue: *241 - pull_request: *241 + issue: *246 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -107761,31 +108310,33 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *235 - - *62 - - *244 + - *240 + - *57 + - *249 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *243 + default: *248 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107804,9 +108355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *240 + - *57 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107879,13 +108430,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *247 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -107905,9 +108456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *240 + - *57 + - *249 responses: '204': description: Response @@ -107934,7 +108485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107944,7 +108495,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108019,7 +108570,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *62 + - *57 - name: type description: Limit results to repositories of the specified type. in: query @@ -108125,11 +108676,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108702,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108732,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *671 + schema: *673 examples: - default: *672 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108749,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -108206,12 +108760,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 - - *101 - - *673 - - *102 - - *674 + - *57 + - *99 - *675 + - *100 + - *676 + - *677 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108818,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -108318,8 +108872,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108895,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108923,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 - - *101 - - *678 - - *102 - - *679 + - *57 + - *99 + - *680 + - *100 + - *681 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108997,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +109016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108472,11 +109026,11 @@ paths: application/json: schema: type: array - items: *653 + items: *655 examples: - default: *654 + default: *656 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +109048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108504,11 +109058,11 @@ paths: application/json: schema: type: array - items: *655 + items: *657 examples: - default: *680 + default: *682 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +109084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *683 - *46 - *17 - *19 @@ -108543,13 +109097,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *684 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *660 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +109120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108576,11 +109130,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +109261,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &685 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +109330,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &686 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109351,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &687 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109424,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &688 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109453,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +110337,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -109862,11 +110416,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + rule: &689 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) @@ -110089,11 +110643,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + rule: *689 sender: *4 required: - action @@ -110281,11 +110835,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + rule: *689 sender: *4 required: - action @@ -110369,7 +110923,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &691 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110988,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *134 status: type: string enum: @@ -110479,7 +111033,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *690 details_url: type: string examples: @@ -110539,7 +111093,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +111131,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 sender: *4 required: - check_run @@ -110973,11 +111527,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *691 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 sender: *4 required: - check_run @@ -111373,11 +111927,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *691 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 requested_action: description: The action requested by the user. type: object @@ -111782,11 +112336,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *691 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 sender: *4 required: - check_run @@ -112778,10 +113332,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -113466,10 +114020,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -114148,10 +114702,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -114320,7 +114874,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +115026,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &692 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: *683 - installation: *684 - organization: *685 - ref: &691 + enterprise: *685 + installation: *686 + organization: *687 + ref: &693 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: *686 + repository: *688 sender: *4 required: - action @@ -114652,7 +115206,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115447,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -114996,7 +115550,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115181,12 +115735,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -115355,7 +115909,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +116086,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -115640,7 +116194,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115820,9 +116374,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115830,7 +116384,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *688 sender: *4 required: - action @@ -115929,7 +116483,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116076,12 +116630,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -116343,10 +116897,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -116427,18 +116981,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *687 + pusher_type: &694 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &695 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +117002,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *688 sender: *4 required: - ref @@ -116530,10 +117084,10 @@ webhooks: type: string enum: - created - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *250 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116618,9 +117172,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116697,10 +117251,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *250 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116777,10 +117331,10 @@ webhooks: type: string enum: - updated - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *250 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116857,19 +117411,19 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *685 + installation: *686 + repository: *688 + organization: *687 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *249 + items: *254 old_property_values: type: array description: The old custom property values for the repository. - items: *249 + items: *254 required: - action - repository @@ -116945,18 +117499,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *685 + installation: *686 + organization: *687 + pusher_type: *694 + ref: *695 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *688 sender: *4 required: - ref @@ -117040,11 +117594,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117128,11 +117682,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117216,11 +117770,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117302,11 +117856,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117388,11 +117942,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117475,11 +118029,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117561,11 +118115,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117642,9 +118196,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *685 + installation: *686 + key: &696 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +118236,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -117760,11 +118314,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + key: *696 + organization: *687 + repository: *688 sender: *4 required: - action @@ -118336,12 +118890,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: &698 + workflow: &700 title: Workflow type: - object @@ -119079,13 +119633,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *462 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *542 + repository: *688 + organization: *687 + installation: *686 sender: *4 responses: '200': @@ -119156,7 +119710,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &697 type: object properties: avatar_url: @@ -119199,11 +119753,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + reviewers: &698 type: array items: type: object @@ -119284,7 +119838,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &699 type: object properties: conclusion: @@ -120030,18 +120584,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *697 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + reviewers: *698 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *699 workflow_job_runs: type: array items: @@ -120758,13 +121312,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *685 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *686 + organization: *687 + repository: *688 + requestor: &705 title: User type: - object @@ -122707,12 +123261,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123957,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &703 type: object properties: author_association: @@ -123563,11 +124117,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -123694,11 +124248,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -123781,11 +124335,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -123867,7 +124421,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &702 type: object properties: author_association: @@ -124027,11 +124581,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124114,12 +124668,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *702 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124214,12 +124768,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *702 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124303,11 +124857,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124389,11 +124943,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124493,11 +125047,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124579,10 +125133,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *701 + enterprise: *685 + installation: *686 + label: &704 title: Label type: object properties: @@ -124615,8 +125169,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124699,11 +125253,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124785,11 +125339,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124871,11 +125425,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124960,16 +125514,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *701 + new_repository: *688 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125052,10 +125606,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *701 + old_answer: *703 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125137,12 +125691,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125225,11 +125779,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125311,11 +125865,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125388,7 +125942,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *685 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126620,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - forkee @@ -126214,9 +126768,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pages: description: The pages that were updated. type: array @@ -126254,7 +126808,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *688 sender: *4 required: - pages @@ -126330,10 +126884,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: &704 + organization: *687 + repositories: &706 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126913,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *688 + requester: *705 sender: *4 required: - action @@ -126435,11 +126989,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -126516,11 +127070,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -126597,10 +127151,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories_added: &705 + organization: *687 + repositories_added: &707 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +127200,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *688 + repository_selection: &708 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *705 sender: *4 required: - action @@ -126733,10 +127287,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories_added: *705 + organization: *687 + repositories_added: *707 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +127317,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *688 + repository_selection: *708 + requester: *705 sender: *4 required: - action @@ -126844,11 +127398,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -127030,10 +127584,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 target_type: type: string @@ -127112,11 +127666,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -127364,8 +127918,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128736,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128200,7 +128754,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -128544,8 +129098,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -128625,7 +129179,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &709 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +129346,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +130160,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129624,7 +130178,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -129970,8 +130524,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -130051,7 +130605,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &733 description: The changes to the comment. type: object properties: @@ -130063,9 +130617,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *709 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131435,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130899,7 +131453,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -131243,8 +131797,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131328,15 +131882,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131424,15 +131978,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131519,15 +132073,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131615,15 +132169,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131708,10 +132262,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *705 + enterprise: *685 + installation: *686 + issue: &712 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +133077,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132544,7 +133098,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -132647,8 +133201,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -132728,8 +133282,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +134100,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133567,7 +134121,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -133813,8 +134367,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -133893,8 +134447,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +135256,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134723,7 +135277,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -134825,8 +135379,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -134905,8 +135459,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +136291,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135758,7 +136312,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -135839,7 +136393,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &710 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136536,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -136082,8 +136636,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137449,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136913,7 +137467,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *204 title: description: Title of the issue type: string @@ -137019,9 +137573,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -137101,8 +137655,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138467,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137931,7 +138485,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *204 title: description: Title of the issue type: string @@ -138037,9 +138591,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -138119,8 +138673,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139510,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138974,7 +139528,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *204 title: description: Title of the issue type: string @@ -139057,8 +139611,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -139137,8 +139691,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140522,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139989,7 +140543,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -140069,9 +140623,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -140963,11 +141517,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141617,7 @@ webhooks: required: - login - id - type: *199 + type: *204 required: - id - number @@ -141544,8 +142098,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142911,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142378,7 +142932,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -142480,8 +143034,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -142561,9 +143115,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *685 + installation: *686 + issue: &711 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143923,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143390,7 +143944,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -143492,8 +144046,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -143572,8 +144126,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144961,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144508,9 +145062,9 @@ webhooks: format: uri user_view_type: type: string - type: *199 - organization: *685 - repository: *686 + type: *204 + organization: *687 + repository: *688 sender: *4 required: - action @@ -145399,11 +145953,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145420,7 +145974,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -146002,11 +146556,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *711 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146086,12 +146640,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + type: *204 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146172,7 +146726,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &736 title: User type: - object @@ -146244,11 +146798,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146327,12 +146881,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146412,8 +146966,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147801,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147268,7 +147822,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -147348,8 +147902,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147429,11 +147983,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *711 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147512,12 +148066,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + type: *204 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147597,11 +148151,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147679,11 +148233,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147793,11 +148347,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147879,9 +148433,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *685 + installation: *686 + marketplace_purchase: &713 title: Marketplace Purchase type: object required: @@ -147969,8 +148523,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *687 + previous_marketplace_purchase: &714 title: Marketplace Purchase type: object properties: @@ -148054,7 +148608,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *688 sender: *4 required: - action @@ -148134,10 +148688,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *685 + installation: *686 + marketplace_purchase: *713 + organization: *687 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148779,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *688 sender: *4 required: - action @@ -148307,10 +148861,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *685 + installation: *686 + marketplace_purchase: *713 + organization: *687 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148950,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *688 sender: *4 required: - action @@ -148477,8 +149031,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +149118,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *687 + previous_marketplace_purchase: *714 + repository: *688 sender: *4 required: - action @@ -148646,12 +149200,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *685 + installation: *686 + marketplace_purchase: *713 + organization: *687 + previous_marketplace_purchase: *714 + repository: *688 sender: *4 required: - action @@ -148753,11 +149307,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 sender: *4 required: - action @@ -148859,11 +149413,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 sender: *4 required: - action @@ -148942,11 +149496,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149024,11 +149578,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149660,7 @@ webhooks: required: - login - id - team: &713 + team: &715 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149890,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149973,7 @@ webhooks: required: - login - id - team: *713 + team: *715 required: - action - scope @@ -149501,8 +150055,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *686 + merge_group: &716 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +150075,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149615,10 +150169,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *686 + merge_group: *716 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149691,7 +150245,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *685 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150354,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *686 + organization: *687 repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -149885,11 +150439,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149968,9 +150522,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *685 + installation: *686 + milestone: &717 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150666,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150192,11 +150746,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150306,11 +150860,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150390,11 +150944,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *717 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150473,11 +151027,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *705 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150556,11 +151110,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *705 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150639,9 +151193,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *685 + installation: *686 + membership: &718 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +151305,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150830,11 +151384,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + membership: *718 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150913,8 +151467,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151590,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 - user: *703 + user: *705 required: - action - invitation @@ -151117,11 +151671,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + membership: *718 + organization: *687 + repository: *688 sender: *4 required: - action @@ -151208,11 +151762,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + membership: *718 + organization: *687 + repository: *688 sender: *4 required: - action @@ -151288,9 +151842,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 package: description: Information about the package. type: object @@ -151813,7 +152367,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &719 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152464,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -151986,9 +152540,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 package: description: Information about the package. type: object @@ -152350,7 +152904,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *719 source_url: type: string format: uri @@ -152421,7 +152975,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -152602,12 +153156,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *685 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - id @@ -152684,7 +153238,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &720 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153388,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *685 + organization: *687 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -152914,11 +153468,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *720 + enterprise: *685 + organization: *687 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -152994,11 +153548,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *720 + enterprise: *685 + organization: *687 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -153073,11 +153627,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *720 + organization: *687 + enterprise: *685 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -153182,7 +153736,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *721 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153768,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +154014,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *685 + installation: *686 + organization: *687 + project_card: &722 title: Project Card type: object properties: @@ -153586,7 +154140,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *688 sender: *4 required: - action @@ -153667,11 +154221,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_card: *722 + repository: *688 sender: *4 required: - action @@ -153751,9 +154305,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 project_card: title: Project Card type: object @@ -153883,7 +154437,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -153977,11 +154531,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_card: *722 + repository: *688 sender: *4 required: - action @@ -154075,9 +154629,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 project_card: allOf: - title: Project Card @@ -154274,7 +154828,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *688 sender: *4 required: - action @@ -154354,10 +154908,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *685 + installation: *686 + organization: *687 + project: &724 title: Project type: object properties: @@ -154484,7 +155038,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *688 sender: *4 required: - action @@ -154564,10 +155118,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *685 + installation: *686 + organization: *687 + project_column: &723 title: Project Column type: object properties: @@ -154607,7 +155161,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *688 sender: *4 required: - action @@ -154686,14 +155240,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *685 + installation: *686 + organization: *687 + project_column: *723 repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -154782,11 +155336,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_column: *723 + repository: *688 sender: *4 required: - action @@ -154866,11 +155420,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_column: *723 + repository: *688 sender: *4 required: - action @@ -154950,11 +155504,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 + repository: *688 sender: *4 required: - action @@ -155034,14 +155588,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -155142,11 +155696,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 + repository: *688 sender: *4 required: - action @@ -155225,11 +155779,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 + repository: *688 sender: *4 required: - action @@ -155310,9 +155864,9 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155393,9 +155947,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155476,9 +156030,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155599,9 +156153,9 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155684,7 +156238,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &728 type: object properties: archived_at: @@ -155700,9 +156254,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *686 + organization: *687 + projects_v2_item: &725 title: Projects v2 Item description: An item belonging to a project type: object @@ -155720,7 +156274,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *240 + content_type: *245 creator: *4 created_at: type: string @@ -155842,9 +156396,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -155926,9 +156480,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156009,9 +156563,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156116,7 +156670,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &726 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156694,7 @@ webhooks: required: - id - name - - &725 + - &727 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156734,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *726 + - *727 type: - 'null' - string @@ -156204,9 +156758,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156303,9 +156857,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156388,10 +156942,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *728 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156473,9 +157027,9 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -156556,9 +157110,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *686 + organization: *687 + projects_v2_status_update: *729 sender: *4 required: - action @@ -156639,9 +157193,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *686 + organization: *687 + projects_v2_status_update: *729 sender: *4 required: - action @@ -156787,9 +157341,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *686 + organization: *687 + projects_v2_status_update: *729 sender: *4 required: - action @@ -156860,10 +157414,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - repository @@ -156940,13 +157494,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *705 + enterprise: *685 + installation: *686 + number: &730 description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -159295,7 +159849,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -159377,11 +159931,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -161723,7 +162277,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *688 sender: *4 required: - action @@ -161805,11 +162359,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -164151,7 +164705,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *688 sender: *4 required: - action @@ -164233,13 +164787,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: &731 allOf: - - *547 + - *542 - type: object properties: allow_auto_merge: @@ -164301,7 +164855,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *688 sender: *4 required: - action @@ -164382,12 +164936,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -164467,11 +165021,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + enterprise: *685 + milestone: *243 + number: *730 + organization: *687 + pull_request: &732 title: Pull Request type: object properties: @@ -166798,7 +167352,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -166877,11 +167431,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -169227,7 +169781,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *688 sender: *4 required: - action @@ -169351,12 +169905,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -169436,11 +169990,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -171771,7 +172325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -171851,11 +172405,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + label: *704 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -174203,7 +174757,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -174284,10 +174838,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -176633,7 +177187,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -176713,12 +177267,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + enterprise: *685 + milestone: *243 + number: *730 + organization: *687 + pull_request: *732 + repository: *688 sender: *4 required: - action @@ -176797,12 +177351,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -176883,12 +177437,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -176968,12 +177522,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -177348,9 +177902,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: type: object properties: @@ -179580,7 +180134,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *688 sender: *4 required: - action @@ -179660,7 +180214,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &734 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179953,9 +180507,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: type: object properties: @@ -182173,7 +182727,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *688 sender: *4 required: - action @@ -182253,11 +182807,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *733 + comment: *734 + enterprise: *685 + installation: *686 + organization: *687 pull_request: type: object properties: @@ -184478,7 +185032,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *688 sender: *4 required: - action @@ -184559,9 +185113,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -186794,7 +187348,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *688 review: description: The review that was affected. type: object @@ -187045,9 +187599,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189715,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *688 + review: &735 description: The review that was affected. type: object properties: @@ -189400,12 +189954,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -191752,7 +192306,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_reviewer: title: User type: @@ -191838,12 +192392,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -194197,7 +194751,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194946,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -196746,7 +197300,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_reviewer: title: User type: @@ -196833,12 +197387,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -199178,7 +199732,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199916,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -201600,8 +202154,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *688 + review: *735 sender: *4 required: - action @@ -201681,9 +202235,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204368,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *688 sender: *4 thread: type: object @@ -204211,9 +204765,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206881,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *688 sender: *4 thread: type: object @@ -206726,10 +207280,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -209064,7 +209618,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -209146,11 +209700,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *736 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -211500,7 +212054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -211579,11 +212133,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + label: *704 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -213922,7 +214476,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -214003,10 +214557,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -216335,7 +216889,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -216538,7 +217092,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *685 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +217187,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *686 + organization: *687 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217776,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 registry_package: type: object properties: @@ -217701,7 +218255,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *719 summary: type: string tag_name: @@ -217757,7 +218311,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -217835,9 +218389,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 registry_package: type: object properties: @@ -218149,7 +218703,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *719 summary: type: string tag_name: @@ -218199,7 +218753,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -218276,10 +218830,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *685 + installation: *686 + organization: *687 + release: &737 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +219164,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *688 sender: *4 required: - action @@ -218687,11 +219241,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *737 + repository: *688 sender: *4 required: - action @@ -218808,11 +219362,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *737 + repository: *688 sender: *4 required: - action @@ -218890,9 +219444,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219782,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *688 sender: *4 required: - action @@ -219304,10 +219858,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *685 + installation: *686 + organization: *687 + release: &738 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +220194,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *688 sender: *4 required: - action @@ -219716,11 +220270,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *737 + repository: *688 sender: *4 required: - action @@ -219796,11 +220350,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *738 + repository: *688 sender: *4 required: - action @@ -219876,11 +220430,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_advisory: *606 sender: *4 required: - action @@ -219956,11 +220510,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_advisory: *606 sender: *4 required: - action @@ -220036,10 +220590,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220116,10 +220670,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220197,10 +220751,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220285,10 +220839,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220403,10 +220957,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220478,10 +221032,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 status: type: string @@ -220562,10 +221116,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220642,10 +221196,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220739,10 +221293,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220822,11 +221376,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_ruleset: *281 sender: *4 required: - action @@ -220904,11 +221458,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_ruleset: *281 sender: *4 required: - action @@ -220986,11 +221540,11 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_ruleset: *281 changes: type: object properties: @@ -221009,16 +221563,16 @@ webhooks: properties: added: type: array - items: *251 + items: *256 deleted: type: array - items: *251 + items: *256 updated: type: array items: type: object properties: - condition: *251 + condition: *256 changes: type: object properties: @@ -221051,16 +221605,16 @@ webhooks: properties: added: type: array - items: *568 + items: *563 deleted: type: array - items: *568 + items: *563 updated: type: array items: type: object properties: - rule: *568 + rule: *563 changes: type: object properties: @@ -221297,10 +221851,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221378,10 +221932,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221459,7 +222013,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &739 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +222137,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221796,10 +222350,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221877,11 +222431,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *739 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222083,10 +222637,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222164,17 +222718,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &740 type: object properties: - number: *52 - created_at: *53 + number: *150 + created_at: *151 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *152 + url: *153 + html_url: *154 locations_url: type: string format: uri @@ -222278,10 +222832,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222362,11 +222916,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *740 + installation: *686 + location: *741 + organization: *687 + repository: *688 sender: *4 required: - location @@ -222604,11 +223158,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222686,11 +223240,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222768,11 +223322,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222850,11 +223404,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222984,10 +223538,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *688 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -223065,11 +223619,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + security_advisory: &742 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223809,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + security_advisory: *742 sender: *4 required: - action @@ -223332,10 +223886,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223521,11 +224075,11 @@ webhooks: from: type: object properties: - security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + security_and_analysis: *255 + enterprise: *685 + installation: *686 + organization: *687 + repository: *317 sender: *4 required: - changes @@ -223603,12 +224157,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: &741 + sponsorship: &743 type: object properties: created_at: @@ -223913,12 +224467,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - sponsorship @@ -224006,12 +224560,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - changes @@ -224088,17 +224642,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &744 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: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - sponsorship @@ -224172,7 +224726,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &745 type: object properties: tier: @@ -224216,13 +224770,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *744 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - changes @@ -224299,13 +224853,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *745 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - changes @@ -224379,10 +224933,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +225020,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225457,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *685 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *686 name: type: string - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225575,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225113,15 +225667,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225205,15 +225759,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225297,15 +225851,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225382,12 +225936,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - team: &744 + team: &746 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +226171,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -226089,7 +226643,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -226165,9 +226719,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -226637,7 +227191,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -226714,9 +227268,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -227186,7 +227740,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -227330,9 +227884,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -227802,7 +228356,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - changes @@ -227880,9 +228434,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -228352,7 +228906,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -228428,10 +228982,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -228504,17 +229058,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *685 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *686 + organization: *687 ref: type: string - repository: *686 + repository: *688 sender: *4 workflow: type: string @@ -228596,10 +229150,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: allOf: @@ -228855,7 +229409,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *462 required: - action - repository @@ -228934,10 +229488,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: allOf: @@ -229219,7 +229773,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *462 required: - action - repository @@ -229298,10 +229852,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: type: object @@ -229447,7 +230001,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229526,10 +230080,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: type: object @@ -229676,7 +230230,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229756,12 +230310,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Workflow Run type: object @@ -230780,12 +231334,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Workflow Run type: object @@ -231789,12 +232343,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 4fd58eb26..201016c3e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -22616,29 +22620,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -24471,2163 +24452,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "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.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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": "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 results before this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "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 results after this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "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": { - "anyOf": [ - { - "type": "null" - }, - { - "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 - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - }, - "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": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24698,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28128,8 +25962,803 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -28138,36 +26767,23 @@ } ], "responses": { - "201": { - "description": "Successfully added team member", + "200": { + "description": "The team is assigned to the organization", "content": { "application/json": { "schema": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, "login": { "type": "string", "examples": [ - "octocat" + "github" ] }, "id": { "type": "integer", - "format": "int64", "examples": [ 1 ] @@ -28175,162 +26791,276 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEyOk9yZ2FuaXphdGlvbjE=" ] }, - "avatar_url": { + "url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://api.github.com/orgs/github" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "repos_url": { + "type": "string", + "format": "uri", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "https://api.github.com/orgs/github/repos" ] }, - "url": { + "events_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/orgs/github/events" ] }, - "html_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "https://api.github.com/orgs/github/hooks" ] }, - "followers_url": { + "issues_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "https://api.github.com/orgs/github/issues" ] }, - "following_url": { + "members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "https://api.github.com/orgs/github/members{/member}" ] }, - "gists_url": { + "public_members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "starred_url": { + "avatar_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "https://github.com/images/error/octocat_happy.gif" ] }, - "subscriptions_url": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "github" ] }, - "organizations_url": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "https://api.github.com/orgs/github" ] }, "repos_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "https://api.github.com/orgs/github/repos" ] }, "events_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/orgs/github/events" ] }, - "received_events_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "https://api.github.com/orgs/github/hooks" ] }, - "type": { + "issues_url": { "type": "string", "examples": [ - "User" + "https://api.github.com/orgs/github/issues" ] }, - "site_admin": { - "type": "boolean" + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] }, - "starred_at": { + "public_members_url": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "user_view_type": { + "avatar_url": { "type": "string", "examples": [ - "public" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" ] } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", + "login", + "url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" ] }, "examples": { - "exampleKey1": { + "default": { "value": { - "login": "octocat", + "login": "github", "id": 1, - "node_id": "MDQ6VXNlcjE=", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "description": "A great organization" } } } @@ -28342,19 +27072,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } }, "delete": { - "summary": "Remove team membership", - "description": "Remove membership of a specific user from a particular team in an enterprise.", + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", "tags": [ - "enterprise-team-memberships" + "enterprise-team-organizations" ], - "operationId": "enterprise-team-memberships/remove", + "operationId": "enterprise-team-organizations/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership" + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" }, "parameters": [ { @@ -28376,8 +27106,8 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -28387,40 +27117,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "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" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -28670,6 +27374,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76364,7 +75078,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75222,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75230,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75238,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -79074,6 +77788,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79204,6 +77925,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79344,6 +78069,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -79362,6 +78094,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -79459,6 +78196,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79589,6 +78333,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79644,6 +78392,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -80238,6 +79619,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80368,6 +79756,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -80483,6 +79875,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -80569,6 +79968,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80699,291 +80401,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -86971,6 +86392,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -87101,6 +86529,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -97158,6 +96590,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "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": "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -115170,29 +114706,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -171836,17 +171349,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -180822,17 +180339,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -353327,16 +352848,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -353364,29 +352875,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -577049,7 +576537,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -739040,17 +738528,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -747999,17 +747491,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -776666,7 +776162,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -776797,7 +776293,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -776805,7 +776301,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -776813,7 +776309,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 0aad05175..5b4ea5304 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &287 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &608 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &177 + - &182 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 @@ -1672,7 +1674,7 @@ paths: application/json: schema: type: array - items: &178 + items: &183 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &179 + default: &184 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &103 title: Validation Error description: Validation Error type: object @@ -1903,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &180 + schema: &185 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2040,7 @@ paths: - request - response examples: - default: &181 + default: &186 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 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) @@ -2792,7 +2794,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2984,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3011,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5389,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &97 description: Internal Error content: application/json: @@ -7717,7 +7719,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &160 type: - object - 'null' @@ -7915,7 +7917,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &162 type: array description: A list of default code security configurations items: @@ -7931,7 +7933,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &163 value: - default_for_new_repos: public configuration: @@ -8262,7 +8264,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &164 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8391,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &161 value: id: 1325 target_type: organization @@ -8474,7 +8476,7 @@ paths: application/json: schema: type: array - items: &157 + items: &165 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8821,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &166 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8915,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &169 name: state in: query description: |- @@ -8922,7 +8924,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &170 name: severity in: query description: |- @@ -8931,7 +8933,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &171 name: ecosystem in: query description: |- @@ -8940,14 +8942,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &172 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 - - &166 + - &173 name: epss_percentage in: query description: |- @@ -8959,7 +8961,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 - - &458 + - &453 name: has in: query description: |- @@ -8973,7 +8975,7 @@ paths: type: string enum: - patch - - &167 + - &174 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +8985,7 @@ paths: enum: - development - runtime - - &168 + - &175 name: sort in: query description: |- @@ -9001,31 +9003,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9034,11 +9011,11 @@ paths: application/json: schema: type: array - items: &171 + items: &176 type: object description: A Dependabot alert. properties: - number: &52 + number: &150 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9081,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &454 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9288,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &153 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &154 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &151 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: &54 + updated_at: &152 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: &148 + dismissed_at: &156 type: - string - 'null' @@ -9364,7 +9341,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &155 type: - string - 'null' @@ -9372,7 +9349,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &455 type: - string - 'null' @@ -9399,7 +9376,7 @@ paths: - repository additionalProperties: false examples: - default: &172 + default: &177 value: - number: 2 state: dismissed @@ -9727,740 +9704,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - 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. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - 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: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - 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: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9725,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9790,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9803,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9847,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9878,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9898,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9917,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9938,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9956,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +9987,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10005,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10036,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10054,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10105,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10132,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10143,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10467,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10489,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10517,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10547,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10572,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10610,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10621,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10662,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10709,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &701 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11006,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11089,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11648,7 +11212,7 @@ paths: milestone: anyOf: - type: 'null' - - &238 + - &243 title: Milestone description: A collection of related issues and pull requests. @@ -11820,7 +11384,7 @@ paths: timeline_url: type: string format: uri - type: &199 + type: &204 title: Issue Type description: The type of issue. type: @@ -11874,12 +11438,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11459,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11495,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &620 title: Sub-issues Summary type: object properties: @@ -11952,7 +11516,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &621 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11535,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &622 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11635,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11647,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11698,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11882,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11973,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12044,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12057,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12311,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12360,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12371,7 @@ paths: type: string release: allOf: - - &558 + - &553 title: Release description: A release. type: object @@ -12889,7 +12453,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &554 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12621,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &98 + 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 @@ -13147,7 +12723,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12735,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12817,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12914,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12959,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13038,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13056,7 @@ paths: url: type: string format: uri - user: &631 + user: &634 title: Public User description: Public User type: object @@ -13854,7 +13430,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13544,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13578,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13620,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13736,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13935,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13973,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14013,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14064,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14138,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14192,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14346,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14392,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14411,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14580,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14743,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14867,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15375,7 +14951,7 @@ paths: - closed - all default: open - - &202 + - &207 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15394,7 +14970,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,9 +15000,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &203 + default: &208 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15671,7 +15247,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15282,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15580,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15635,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15676,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15710,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15813,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15821,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15906,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15926,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15985,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16061,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16101,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16147,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16414,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16438,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &318 description: Moved permanently content: application/json: @@ -16929,7 +16505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &529 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16513,7 @@ paths: schema: type: boolean default: false - - &535 + - &530 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16522,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &531 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: @@ -16972,14 +16548,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &134 title: Minimal Repository description: Minimal Repository type: object @@ -17318,7 +16894,7 @@ paths: type: boolean examples: - false - security_and_analysis: &250 + security_and_analysis: &255 type: - object - 'null' @@ -17483,7 +17059,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &532 value: - id: '1' repository: @@ -17565,7 +17141,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 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 @@ -17663,7 +17239,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17436,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17488,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17608,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18404,9 +17891,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +17902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &99 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, @@ -18424,7 +17912,7 @@ paths: required: false schema: type: integer - - &673 + - &675 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 @@ -18433,7 +17921,7 @@ paths: required: false schema: type: integer - - &102 + - &100 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 @@ -18448,14 +17936,14 @@ paths: required: false schema: type: string - - &674 + - &676 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &677 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18005,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18059,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *61 - *99 - - *101 - - &678 + - &680 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 @@ -18603,8 +18091,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *100 + - &681 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 @@ -18687,8 +18175,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18202,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &101 title: Organization Full description: Organization Full type: object @@ -19115,7 +18603,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &102 value: login: github id: 1 @@ -19215,7 +18703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +18920,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *101 examples: - default: *104 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +18979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19005,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19044,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19082,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19120,7 @@ paths: type: integer runners: type: array - items: &107 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19684,12 +19172,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &113 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19785,6 +19279,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -19794,7 +19292,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &133 value: total_count: 2 runners: @@ -19836,7 +19334,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19854,7 +19352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -19883,6 +19381,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -19900,6 +19404,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -19921,9 +19430,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: &111 + default: &114 value: id: 5 name: My hosted ubuntu runner @@ -19950,6 +19459,320 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &106 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &108 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *61 + - &107 + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *106 + examples: + default: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - *61 + - *107 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - *107 + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &109 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *108 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *61 + - *107 + - &110 + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" + responses: + '200': + description: Response + content: + application/json: + schema: *109 + examples: + default: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - *61 + - *107 + - *110 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -19962,7 +19785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19978,7 +19801,7 @@ paths: type: integer images: type: array - items: &108 + items: &111 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19841,7 @@ paths: - display_name - source examples: - default: &109 + default: &112 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20058,9 +19881,9 @@ paths: type: integer images: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20132,7 +19955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20148,7 +19971,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *113 examples: default: value: @@ -20173,7 +19996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20217,8 +20040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *99 - - &112 + - *61 + - &115 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +20053,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *114 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +20075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *115 requestBody: required: true content: @@ -20279,6 +20102,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -20291,9 +20120,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +20138,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *115 responses: '202': description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +20167,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &116 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +20187,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &117 value: include_claim_keys: - repo @@ -20380,20 +20209,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &143 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +20252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20432,7 +20261,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &118 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +20274,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: &116 + allowed_actions: &119 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +20282,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &329 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: &117 + sha_pinning_required: &120 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +20318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20500,9 +20329,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *118 + allowed_actions: *119 + sha_pinning_required: *120 required: - enabled_repositories examples: @@ -20530,13 +20359,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &338 + schema: &333 type: object properties: days: @@ -20573,12 +20402,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &339 + schema: &334 type: object properties: days: @@ -20615,13 +20444,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &118 + schema: &121 type: object properties: approval_policy: @@ -20635,7 +20464,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20666,7 +20495,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *121 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20517,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &341 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20549,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &122 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20572,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &342 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20600,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *122 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -20819,9 +20648,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &126 value: total_count: 1 repositories: @@ -20961,7 +20790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21005,8 +20834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - &120 + - *61 + - &123 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - *120 + - *61 + - *123 responses: '204': description: Response @@ -21058,13 +20887,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &121 + schema: &124 type: object properties: github_owned_allowed: @@ -21086,7 +20915,7 @@ paths: items: type: string examples: - default: &122 + default: &125 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21119,9 +20948,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *124 examples: - selected_actions: *122 + selected_actions: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -21189,7 +21018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21236,7 +21065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -21251,9 +21080,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *126 '403': *27 '404': *6 x-github: @@ -21273,7 +21102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21321,8 +21150,8 @@ paths: description: API method documentation 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: - - *99 - - *120 + - *61 + - *123 responses: '204': description: No content @@ -21348,8 +21177,8 @@ paths: description: API method documentation 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: - - *99 - - *120 + - *61 + - *123 responses: '204': description: No content @@ -21377,23 +21206,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &343 + schema: &338 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &127 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &125 + can_approve_pull_request_reviews: &128 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +21230,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &129 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +21255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Success response @@ -21434,13 +21263,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &339 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *127 + can_approve_pull_request_reviews: *128 examples: - default: *126 + default: *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +21289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *99 + - *61 - *17 - *19 - name: visible_to_repository @@ -21485,7 +21314,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &130 type: object properties: id: @@ -21602,7 +21431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21675,9 +21504,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *130 examples: - default: &129 + default: &132 value: id: 2 name: octo-runner-group @@ -21712,8 +21541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - &128 + - *61 + - &131 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21554,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *130 examples: default: value: @@ -21761,8 +21590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 requestBody: required: true content: @@ -21818,9 +21647,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *130 examples: - default: *129 + default: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *99 - - *128 + - *61 + - *131 responses: '204': description: Response @@ -21863,8 +21692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 - *17 - *19 responses: @@ -21882,11 +21711,11 @@ paths: type: number runners: type: array - items: *107 + items: *105 examples: - default: *130 + default: *133 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *131 - *19 - *17 responses: @@ -21925,9 +21754,9 @@ paths: type: number repositories: type: array - items: *131 + items: *134 examples: - default: &634 + default: &637 value: total_count: 1 repositories: @@ -22179,8 +22008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *131 requestBody: required: true content: @@ -22224,9 +22053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *131 + - *123 responses: '204': description: Response @@ -22248,9 +22077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *131 + - *123 responses: '204': description: Response @@ -22273,8 +22102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 - *17 - *19 responses: @@ -22292,7 +22121,7 @@ paths: type: number runners: type: array - items: &133 + items: &136 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +22155,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &139 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +22185,7 @@ paths: - busy - labels examples: - default: &134 + default: &137 value: total_count: 2 runners: @@ -22396,7 +22225,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +22244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *131 requestBody: required: true content: @@ -22460,9 +22289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *99 - - *128 - - &132 + - *61 + - *131 + - &135 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +22319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 - - *132 + - *61 + - *131 + - *135 responses: '204': description: Response @@ -22522,7 +22351,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22369,11 @@ paths: type: integer runners: type: array - items: *133 + items: *136 examples: - default: *134 + default: *137 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -22574,7 +22403,7 @@ paths: application/json: schema: type: array - items: &345 + items: &340 title: Runner Application description: Runner Application type: object @@ -22599,7 +22428,7 @@ paths: - download_url - filename examples: - default: &346 + default: &341 value: - os: osx architecture: x64 @@ -22642,7 +22471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -22685,7 +22514,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &342 description: Response content: application/json: @@ -22695,7 +22524,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *136 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22581,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: &135 + schema: &138 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22611,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22629,7 @@ paths: - token - expires_at examples: - default: &348 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22660,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: &349 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22693,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: '200': description: Response content: application/json: - schema: *133 + schema: *136 examples: - default: &350 + default: &345 value: id: 23 name: MBP @@ -22914,8 +22743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: '204': description: Response @@ -22941,10 +22770,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: - '200': &137 + '200': &140 description: Response content: application/json: @@ -22958,7 +22787,7 @@ paths: type: integer labels: type: array - items: *136 + items: *139 examples: default: value: @@ -22997,8 +22826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 requestBody: required: true content: @@ -23022,7 +22851,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -23046,8 +22875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *135 requestBody: required: true content: @@ -23072,7 +22901,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -23096,10 +22925,10 @@ 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-an-organization parameters: - - *99 - - *132 + - *61 + - *135 responses: - '200': &351 + '200': &346 description: Response content: application/json: @@ -23113,7 +22942,7 @@ paths: type: integer labels: type: array - items: *136 + items: *139 examples: default: value: @@ -23154,9 +22983,9 @@ 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-an-organization parameters: - - *99 - - *132 - - &352 + - *61 + - *135 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22993,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -23189,7 +23018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -23207,7 +23036,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &141 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +23088,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23282,13 +23111,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &364 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +23152,7 @@ paths: - key_id - key examples: - default: &365 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +23177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &142 name: secret_name description: The name of the secret. in: path @@ -23361,7 +23190,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *141 examples: default: value: @@ -23391,8 +23220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -23449,7 +23278,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -23475,8 +23304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -23502,8 +23331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - *19 - *17 responses: @@ -23521,9 +23350,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: &143 + default: &146 value: total_count: 1 repositories: @@ -23615,8 +23444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -23668,8 +23497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -23702,8 +23531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -23735,8 +23564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &328 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)." @@ -23760,7 +23589,7 @@ paths: type: integer variables: type: array - items: &141 + items: &144 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23658,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23850,7 +23679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *61 requestBody: required: true content: @@ -23898,7 +23727,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -23923,8 +23752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &145 name: name description: The name of the variable. in: path @@ -23936,7 +23765,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: default: value: @@ -23966,8 +23795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 requestBody: required: true content: @@ -24029,8 +23858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 responses: '204': description: Response @@ -24056,8 +23885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 - *19 - *17 responses: @@ -24075,9 +23904,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 requestBody: required: true content: @@ -24153,8 +23982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 - name: repository_id in: path required: true @@ -24188,8 +24017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *145 - name: repository_id in: path required: true @@ -24220,7 +24049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *61 requestBody: required: true content: @@ -24362,7 +24191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24448,7 +24277,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +24300,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &664 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &665 value: subject_digests: - sha256:abc123 @@ -24535,7 +24364,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &666 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *61 requestBody: required: true content: @@ -24709,7 +24538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *61 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +24557,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *61 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *61 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24658,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24831,7 +24711,7 @@ paths: initiator: type: string examples: - default: &378 + default: &373 value: attestations: - bundle: @@ -24938,7 +24818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -24950,7 +24830,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +24875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25016,8 +24896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25042,7 +24922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *61 - *19 - *17 - *46 @@ -25050,7 +24930,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &147 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24956,7 @@ paths: application/json: schema: type: array - items: &145 + items: &148 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +24987,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &168 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25184,7 +25064,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &219 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +25200,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *147 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +25296,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +25322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25537,9 +25417,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: &146 + default: &149 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25468,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +25502,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25582,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *147 examples: default: value: @@ -25712,9 +25592,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *148 examples: - default: *146 + default: *149 '400': description: Bad Request content: @@ -25726,7 +25606,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25638,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25660,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *99 - - &402 + - *61 + - &397 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: &149 + schema: &157 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &398 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 @@ -25799,7 +25679,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &158 type: - string - 'null' @@ -25815,7 +25695,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25718,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25739,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *150 + created_at: *151 + updated_at: *152 + url: *153 + html_url: *154 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &159 type: - string - 'null' @@ -25880,13 +25760,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *155 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *156 + dismissed_reason: &403 type: - string - 'null' @@ -25897,14 +25777,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &405 type: object properties: id: @@ -25965,26 +25845,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &406 type: object properties: - name: *149 + name: *157 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *158 + most_recent_instance: &407 type: object properties: - ref: &404 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +25875,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &418 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: *151 + state: *159 commit_sha: type: string message: @@ -26294,9 +26174,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +26198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *61 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +26309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *61 requestBody: required: true content: @@ -26507,7 +26387,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *160 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26530,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26552,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *154 + schema: *162 examples: - default: *155 + default: *163 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -26732,7 +26612,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *164 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: '200': @@ -26767,7 +26647,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *161 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26671,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27048,10 +26928,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: - '204': *156 + '204': *164 '400': *14 '403': *27 '404': *6 @@ -27079,7 +26959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27143,7 +27023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27189,7 +27069,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *161 '403': *27 '404': *6 x-github: @@ -27213,7 +27093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *99 + - *61 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27242,13 +27122,13 @@ paths: application/json: schema: type: array - items: *157 + items: *165 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *166 '403': *27 '404': *6 x-github: @@ -27272,7 +27152,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27288,7 +27168,7 @@ paths: type: integer codespaces: type: array - items: &204 + items: &209 type: object title: Codespace description: A codespace. @@ -27319,11 +27199,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *134 machine: anyOf: - type: 'null' - - &435 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27610,7 +27490,7 @@ paths: - pulls_url - recent_folders examples: - default: &205 + default: &210 value: total_count: 3 codespaces: @@ -28020,7 +27900,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28086,7 +27966,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28141,7 +28021,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +28044,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *61 requestBody: required: true content: @@ -28195,7 +28075,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +28096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -28234,7 +28114,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &167 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +28155,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &431 value: total_count: 2 secrets: @@ -28288,7 +28168,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +28187,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &437 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +28228,7 @@ paths: - key_id - key examples: - default: &438 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +28251,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '200': description: Response content: application/json: - schema: *159 + schema: *167 examples: - default: &440 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28407,8 +28287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -28463,7 +28343,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -28489,8 +28369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -28515,8 +28395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - *19 - *17 responses: @@ -28534,9 +28414,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -28609,8 +28489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -28643,8 +28523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -28683,7 +28563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: OK @@ -28792,7 +28672,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *99 + - *61 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28847,7 +28727,7 @@ paths: currently being billed. seats: type: array - items: &207 + items: &212 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28860,13 +28740,13 @@ paths: organization: anyOf: - type: 'null' - - *160 + - *59 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *161 - - *58 + - *168 + - *53 type: - 'null' - object @@ -28996,8 +28876,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29072,7 +28952,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29150,7 +29030,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29188,7 +29068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29229,7 +29109,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29265,7 +29145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29307,7 +29187,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29346,7 +29226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *61 - 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`). @@ -29378,7 +29258,7 @@ paths: application/json: schema: type: array - items: &296 + items: &291 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29573,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &292 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29672,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *97 '403': *27 '404': *6 - '422': &298 + '422': &293 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29702,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 - - *164 - - *165 - - *166 + - *61 + - *169 + - *170 + - *171 + - *172 + - *173 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29745,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *174 + - *175 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29880,9 +29758,9 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '304': *35 '400': *14 '403': *27 @@ -29908,7 +29786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29926,7 +29804,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &178 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29978,7 +29856,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29999,13 +29877,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &463 + schema: &458 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29902,7 @@ paths: - key_id - key examples: - default: &464 + default: &459 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,14 +29925,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '200': description: Response content: application/json: - schema: *173 + schema: *178 examples: default: value: @@ -30082,8 +29960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -30142,7 +30020,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -30166,8 +30044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -30191,8 +30069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - *19 - *17 responses: @@ -30210,9 +30088,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +30111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -30284,8 +30162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -30316,8 +30194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *142 - name: repository_id in: path required: true @@ -30347,7 +30225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -30355,7 +30233,7 @@ paths: application/json: schema: type: array - items: &216 + items: &221 title: Package description: A software package type: object @@ -30408,7 +30286,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *134 created_at: type: string format: date-time @@ -30426,7 +30304,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &222 value: - id: 197 name: hello_docker @@ -30504,7 +30382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30514,7 +30392,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30596,7 +30474,7 @@ paths: application/json: schema: type: array - items: &196 + items: &201 title: Organization Invitation description: Organization Invitation type: object @@ -30650,7 +30528,7 @@ paths: - invitation_teams_url - node_id examples: - default: &197 + default: &202 value: - id: 1 login: monalisa @@ -30683,7 +30561,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30707,7 +30585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30717,7 +30595,7 @@ paths: application/json: schema: type: array - items: &174 + items: &179 title: Org Hook description: Org Hook type: object @@ -30817,7 +30695,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *61 requestBody: required: true content: @@ -30902,9 +30780,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: &175 + default: &180 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30951,8 +30829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 - - &176 + - *61 + - &181 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. @@ -30965,9 +30843,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 '404': *6 x-github: githubCloudOnly: false @@ -30994,8 +30872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 requestBody: required: false content: @@ -31041,7 +30919,7 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: default: value: @@ -31082,8 +30960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 responses: '204': description: Response @@ -31110,8 +30988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *181 responses: '200': description: Response @@ -31141,8 +31019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *181 requestBody: required: false content: @@ -31192,10 +31070,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 - *17 - - *177 + - *182 responses: '200': description: Response @@ -31203,9 +31081,9 @@ paths: application/json: schema: type: array - items: *178 + items: *183 examples: - default: *179 + default: *184 '400': *14 '422': *15 x-github: @@ -31230,17 +31108,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *185 examples: - default: *181 + default: *186 '400': *14 '422': *15 x-github: @@ -31265,8 +31143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 - *16 responses: '202': *37 @@ -31295,8 +31173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *181 responses: '204': description: Response @@ -31318,8 +31196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 - - &186 + - *61 + - &191 name: actor_type in: path description: The type of the actor @@ -31332,14 +31210,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &187 + - &192 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &182 + - &187 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`.' @@ -31347,7 +31225,7 @@ paths: required: true schema: type: string - - &183 + - &188 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) @@ -31441,13 +31319,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *187 + - *188 - *19 - *17 - *46 - - &192 + - &197 name: sort description: The property to sort the results by. in: query @@ -31526,15 +31404,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *187 + - *188 responses: '200': description: Response content: application/json: - schema: &184 + schema: &189 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -31550,7 +31428,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &190 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -31570,24 +31448,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 - - &188 + - *61 + - &193 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *182 - - *183 + - *187 + - *188 responses: '200': description: Response content: application/json: - schema: *184 + schema: *189 examples: - default: *185 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -31605,19 +31483,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 - - *182 - - *183 - - *186 + - *61 - *187 + - *188 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *184 + schema: *189 examples: - default: *185 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -31634,10 +31512,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 - - *182 - - *183 - - &189 + - *61 + - *187 + - *188 + - &194 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31650,7 +31528,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &195 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31666,7 +31544,7 @@ paths: type: integer format: int64 examples: - default: &191 + default: &196 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31702,19 +31580,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 + - *193 + - *187 - *188 - - *182 - - *183 - - *189 + - *194 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: *191 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -31731,20 +31609,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 - - *186 + - *61 + - *191 + - *192 - *187 - - *182 - - *183 - - *189 + - *188 + - *194 responses: '200': description: Response content: application/json: - schema: *190 + schema: *195 examples: - default: *191 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -31761,14 +31639,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 + - *193 + - *187 - *188 - - *182 - - *183 - *19 - *17 - *46 - - *192 + - *197 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31844,7 +31722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *61 responses: '200': description: Response @@ -31852,7 +31730,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &497 value: id: 1 account: @@ -31921,7 +31799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -31991,7 +31869,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32018,12 +31896,12 @@ paths: application/json: schema: anyOf: - - &194 + - &199 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &193 + limit: &198 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32051,7 +31929,7 @@ paths: properties: {} additionalProperties: false examples: - default: &195 + default: &200 value: limit: collaborators_only origin: organization @@ -32075,18 +31953,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &503 + schema: &498 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *193 + limit: *198 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32111,9 +31989,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *199 examples: - default: *195 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -32131,7 +32009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -32155,7 +32033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *61 - *17 - *19 - name: role @@ -32189,11 +32067,11 @@ paths: application/json: schema: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +32092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *61 requestBody: required: false content: @@ -32268,7 +32146,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *201 examples: default: value: @@ -32322,8 +32200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 - - &198 + - *61 + - &203 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32353,8 +32231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 - - *198 + - *61 + - *203 - *17 - *19 responses: @@ -32364,9 +32242,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: &215 + default: &220 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32382,7 +32260,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32401,7 +32279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32409,7 +32287,7 @@ paths: application/json: schema: type: array - items: *199 + items: *204 examples: default: value: @@ -32447,7 +32325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -32497,9 +32375,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *204 examples: - default: &200 + default: &205 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -32531,8 +32409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 - - &201 + - *61 + - &206 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -32588,9 +32466,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *204 examples: - default: *200 + default: *205 '404': *6 '422': *7 x-github: @@ -32614,8 +32492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 - - *201 + - *61 + - *206 responses: '204': description: Response @@ -32648,7 +32526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *61 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32678,7 +32556,7 @@ paths: - closed - all default: open - - *202 + - *207 - name: type description: Can be the name of an issue type. in: query @@ -32697,7 +32575,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32585,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *208 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *61 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -32769,9 +32647,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -32851,8 +32729,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32868,11 +32746,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *209 examples: - default: *205 + default: *210 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32895,9 +32773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 - - &206 + - *61 + - *57 + - &211 name: codespace_name in: path required: true @@ -32907,7 +32785,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32930,17 +32808,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 - - *206 + - *61 + - *57 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: &434 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32960,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33113,14 +32991,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *207 + schema: *212 examples: default: value: @@ -33164,7 +33042,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33189,14 +33067,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response content: application/json: - schema: &208 + schema: &213 title: Org Membership description: Org Membership type: object @@ -33245,7 +33123,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33265,7 +33143,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &214 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33333,8 +33211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -33362,9 +33240,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *214 '422': *15 '403': *27 x-github: @@ -33388,8 +33266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -33414,7 +33292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33436,7 +33314,7 @@ paths: application/json: schema: type: array - items: &210 + items: &215 title: Migration description: A migration. type: object @@ -33478,7 +33356,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *64 url: type: string format: uri @@ -33677,7 +33555,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33693,7 +33571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *61 requestBody: required: true content: @@ -33774,7 +33652,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -33952,8 +33830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 - - &211 + - *61 + - &216 name: migration_id description: The unique identifier of the migration. in: path @@ -33981,7 +33859,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -34150,8 +34028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *216 responses: '302': description: Response @@ -34172,8 +34050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *216 responses: '204': description: Response @@ -34196,9 +34074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 - - *211 - - &646 + - *61 + - *216 + - &649 name: repo_name description: repo_name parameter in: path @@ -34225,8 +34103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 - - *211 + - *61 + - *216 - *17 - *19 responses: @@ -34236,9 +34114,9 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: &222 + default: &227 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34349,7 +34227,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +34253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response - list of organization roles @@ -34391,7 +34269,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &213 + items: &218 title: Organization Role description: Organization roles type: object @@ -34540,8 +34418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -34566,9 +34444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 - - &212 + - *61 + - *62 + - &217 name: role_id description: The unique identifier of the role. in: path @@ -34603,9 +34481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 - - *212 + - *61 + - *62 + - *217 responses: '204': description: Response @@ -34630,8 +34508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -34656,9 +34534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *217 responses: '204': description: Response @@ -34688,9 +34566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *217 responses: '204': description: Response @@ -34718,14 +34596,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 - - *212 + - *61 + - *217 responses: '200': description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -34775,8 +34653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *217 - *17 - *19 responses: @@ -34855,7 +34733,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *219 type: description: The ownership type of the team type: string @@ -34888,9 +34766,9 @@ paths: - type - parent examples: - default: *215 + default: *220 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,8 +34795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *217 - *17 - *19 responses: @@ -34947,7 +34825,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *214 + items: *219 name: type: - string @@ -35064,9 +34942,9 @@ paths: - type - url examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -35088,7 +34966,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *61 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35115,9 +34993,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +35018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -35198,8 +35076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -35256,8 +35134,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &650 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35293,12 +35171,12 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *217 + default: *222 '403': *27 '401': *23 - '400': &650 + '400': &652 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35320,7 +35198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &223 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 @@ -35338,20 +35216,20 @@ paths: - docker - nuget - container - - &219 + - &224 name: package_name description: The name of the package. in: path required: true schema: type: string - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *216 + schema: *221 examples: default: value: @@ -35403,9 +35281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *223 + - *224 + - *61 responses: '204': description: Response @@ -35437,9 +35315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *223 + - *224 + - *61 - name: token description: package token schema: @@ -35471,9 +35349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *218 - - *219 - - *99 + - *223 + - *224 + - *61 - *19 - *17 - name: state @@ -35493,7 +35371,7 @@ paths: application/json: schema: type: array - items: &220 + items: &225 title: Package Version description: A version of a software package type: object @@ -35628,10 +35506,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - &221 + - *223 + - *224 + - *61 + - &226 name: package_version_id description: Unique identifier of the package version. in: path @@ -35643,7 +35521,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *225 examples: default: value: @@ -35679,10 +35557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *223 + - *224 + - *61 + - *226 responses: '204': description: Response @@ -35714,10 +35592,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *223 + - *224 + - *61 + - *226 responses: '204': description: Response @@ -35744,10 +35622,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 - *17 - *19 - - &223 + - &228 name: sort description: The property by which to sort the results. in: query @@ -35758,7 +35636,7 @@ paths: - created_at default: created_at - *46 - - &224 + - &229 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35770,7 +35648,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &230 name: repository description: The name of the repository to use to filter the results. in: query @@ -35779,7 +35657,7 @@ paths: type: string examples: - Hello-World - - &226 + - &231 name: permission description: The permission to use to filter the results. in: query @@ -35788,7 +35666,7 @@ paths: type: string examples: - issues_read - - &227 + - &232 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) @@ -35798,7 +35676,7 @@ paths: schema: type: string format: date-time - - &228 + - &233 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) @@ -35808,7 +35686,7 @@ paths: schema: type: string format: date-time - - &229 + - &234 name: token_id description: The ID of the token in: query @@ -35821,7 +35699,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35834,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +35854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36018,7 +35896,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,11 +35958,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +35983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +35994,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36125,11 +36003,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,19 +36028,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *61 - *17 - *19 - - *223 - - *46 - - *224 - - *225 - - *226 - - *227 - *228 + - *46 - *229 + - *230 + - *231 + - *232 + - *233 + - *234 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36291,7 +36169,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36311,7 +36189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36346,7 +36224,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *97 '404': *6 '202': *37 '403': *27 @@ -36371,7 +36249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *99 + - *61 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,9 +36277,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *97 '404': *6 - '204': *156 + '204': *164 '403': *27 '422': *15 x-github: @@ -36423,7 +36301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *99 + - *61 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +36311,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36442,11 +36320,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -36486,7 +36364,7 @@ paths: type: integer configurations: type: array - items: &230 + items: &235 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36555,7 +36433,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -36745,7 +36623,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &231 + org-private-registry-with-selected-visibility: &236 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36786,7 +36664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -36814,7 +36692,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,16 +36714,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *142 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *230 + schema: *235 examples: - default: *231 + default: *236 '404': *6 x-github: githubCloudOnly: false @@ -36866,8 +36744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *142 requestBody: required: true content: @@ -36963,8 +36841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *142 responses: '204': description: Response @@ -36989,7 +36867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *61 - name: state description: Indicates the state of the projects to return. in: query @@ -37010,7 +36888,7 @@ paths: application/json: schema: type: array - items: &232 + items: &237 title: Project description: Projects are a way to organize columns and cards of work. @@ -37143,7 +37021,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +37044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *61 requestBody: required: true content: @@ -37192,7 +37070,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -37230,7 +37108,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &315 description: Gone content: application/json: @@ -37256,7 +37134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *61 - name: q description: Limit results to projects of the specified type. in: query @@ -37273,7 +37151,7 @@ paths: application/json: schema: type: array - items: &233 + items: &238 title: Projects v2 Project description: A projects v2 project type: object @@ -37347,7 +37225,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &729 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37432,7 +37310,7 @@ paths: - deleted_at - deleted_by examples: - default: &234 + default: &239 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37515,7 +37393,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37535,24 +37413,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &235 + - &240 name: project_number description: The project's number. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *234 + default: *239 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37572,8 +37450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *235 - - *99 + - *240 + - *61 - *17 - *38 - *39 @@ -37584,7 +37462,7 @@ paths: application/json: schema: type: array - items: &236 + items: &241 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37734,7 +37612,7 @@ paths: - updated_at - project_url examples: - default: &237 + default: &242 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37757,7 +37635,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37777,25 +37655,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *235 - - &667 + - *240 + - &669 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *236 + schema: *241 examples: - default: *237 + default: *242 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37816,8 +37694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *235 - - *99 + - *240 + - *61 - 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) for more information. @@ -37826,17 +37704,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *38 - *39 - *17 @@ -37847,7 +37727,7 @@ paths: application/json: schema: type: array - items: &242 + items: &247 title: Projects v2 Item description: An item belonging to a project type: object @@ -37864,7 +37744,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &240 + content_type: &245 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37921,7 +37801,7 @@ paths: - updated_at - archived_at examples: - default: &243 + default: &248 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38595,7 +38475,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,8 +38495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 - - *235 + - *61 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -38653,7 +38533,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &670 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38546,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &442 title: Pull Request Simple description: Pull Request Simple type: object @@ -38787,7 +38667,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *243 active_lock_reason: type: - string @@ -38842,7 +38722,7 @@ paths: type: - array - 'null' - items: *161 + items: *168 head: type: object properties: @@ -38850,7 +38730,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38750,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38886,7 +38766,7 @@ paths: _links: type: object properties: - comments: &239 + comments: &244 title: Link description: Hypermedia Link type: object @@ -38895,13 +38775,13 @@ paths: type: string required: - href - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -38911,8 +38791,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &539 title: Auto merge description: The status of auto merging a pull request. type: @@ -39014,7 +38894,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *240 + content_type: *245 creator: *4 created_at: type: string @@ -39051,7 +38931,7 @@ paths: - updated_at - archived_at examples: - issue: &241 + issue: &246 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39106,7 +38986,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: *241 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -39126,9 +39006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *235 - - *99 - - &244 + - *240 + - *61 + - &249 name: item_id description: The unique identifier of the project item. in: path @@ -39136,27 +39016,29 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *243 + default: *248 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39175,9 +39057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *240 + - *61 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -39250,13 +39132,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *247 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -39276,9 +39158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *240 + - *61 + - *249 responses: '204': description: Response @@ -39302,7 +39184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -39310,7 +39192,7 @@ paths: application/json: schema: type: array - items: &245 + items: &250 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -39386,7 +39268,7 @@ paths: - property_name - value_type examples: - default: &246 + default: &251 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39434,7 +39316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -39445,7 +39327,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *245 + items: *250 minItems: 1 maxItems: 100 required: @@ -39475,9 +39357,9 @@ paths: application/json: schema: type: array - items: *245 + items: *250 examples: - default: *246 + default: *251 '403': *27 '404': *6 x-github: @@ -39498,8 +39380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 - - &247 + - *61 + - &252 name: custom_property_name description: The custom property name in: path @@ -39511,9 +39393,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: &248 + default: &253 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39547,8 +39429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *252 requestBody: required: true content: @@ -39626,9 +39508,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: *248 + default: *253 '403': *27 '404': *6 x-github: @@ -39651,10 +39533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *252 responses: - '204': *156 + '204': *164 '403': *27 '404': *6 x-github: @@ -39675,7 +39557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 - *17 - *19 - name: repository_query @@ -39716,7 +39598,7 @@ paths: - octocat/Hello-World properties: type: array - items: &249 + items: &254 title: Custom Property Value description: Custom property name and associated value type: object @@ -39758,7 +39640,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -39806,7 +39688,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *249 + items: *254 required: - repository_names - properties @@ -39847,7 +39729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *61 - *17 - *19 responses: @@ -39859,9 +39741,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39925,8 +39807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39950,7 +39832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *61 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +39878,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *61 requestBody: required: true content: @@ -40201,7 +40083,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &317 title: Full Repository description: Full Repository type: object @@ -40547,7 +40429,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40529,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *64 + source: *64 forks: type: integer master_branch: @@ -40666,7 +40548,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &447 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40696,7 +40578,7 @@ paths: - key - name - html_url - security_and_analysis: *250 + security_and_analysis: *255 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40780,7 +40662,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +41180,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &562 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41320,7 +41202,7 @@ paths: application/json: schema: type: array - items: &276 + items: &281 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41355,7 +41237,7 @@ paths: source: type: string description: The name of the source - enforcement: &253 + enforcement: &258 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41368,7 +41250,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &254 + items: &259 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41439,7 +41321,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &251 + - &256 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -41463,7 +41345,7 @@ paths: match. items: type: string - - &255 + - &260 title: Organization ruleset conditions type: object description: |- @@ -41477,7 +41359,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -41511,7 +41393,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -41533,7 +41415,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -41546,7 +41428,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &252 + items: &257 title: Repository ruleset property targeting definition type: object @@ -41579,7 +41461,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *252 + items: *257 required: - repository_property type: @@ -41587,12 +41469,12 @@ paths: - object rules: type: array - items: &568 + items: &563 title: Repository Rule type: object description: A repository rule. oneOf: - - &256 + - &261 title: creation description: Only allow users with bypass permission to create matching refs. @@ -41604,7 +41486,7 @@ paths: type: string enum: - creation - - &257 + - &262 title: update description: Only allow users with bypass permission to update matching refs. @@ -41625,7 +41507,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &258 + - &263 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -41637,7 +41519,7 @@ paths: type: string enum: - deletion - - &259 + - &264 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -41649,7 +41531,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &560 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41727,7 +41609,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &260 + - &265 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41751,7 +41633,7 @@ paths: type: string required: - required_deployment_environments - - &261 + - &266 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41763,7 +41645,7 @@ paths: type: string enum: - required_signatures - - &262 + - &267 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41825,7 +41707,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &263 + - &268 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41873,7 +41755,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &264 + - &269 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41885,7 +41767,7 @@ paths: type: string enum: - non_fast_forward - - &265 + - &270 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41921,7 +41803,7 @@ paths: required: - operator - pattern - - &266 + - &271 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41957,7 +41839,7 @@ paths: required: - operator - pattern - - &267 + - &272 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41993,7 +41875,7 @@ paths: required: - operator - pattern - - &268 + - &273 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42029,7 +41911,7 @@ paths: required: - operator - pattern - - &269 + - &274 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42065,7 +41947,7 @@ paths: required: - operator - pattern - - &270 + - &275 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42090,7 +41972,7 @@ paths: type: string required: - restricted_file_paths - - &271 + - &276 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42114,7 +41996,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &272 + - &277 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42137,7 +42019,7 @@ paths: type: string required: - restricted_file_extensions - - &273 + - &278 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42162,7 +42044,7 @@ paths: maximum: 100 required: - max_file_size - - &274 + - &279 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42212,7 +42094,7 @@ paths: - repository_id required: - workflows - - &275 + - &280 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42273,7 +42155,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &561 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +42216,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +42232,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42371,25 +42253,20 @@ paths: - push - repository default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: &278 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - *256 - - *257 - - *258 - - *259 - - *260 - *261 - *262 - *263 @@ -42405,6 +42282,11 @@ paths: - *273 - *274 - *275 + - *276 + - *277 + - *278 + - *279 + - *280 required: - name - enforcement @@ -42442,9 +42324,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &277 + default: &282 value: id: 21 name: super cool ruleset @@ -42484,7 +42366,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &564 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 @@ -42514,7 +42396,7 @@ paths: in: query schema: type: string - - &570 + - &565 name: time_period description: |- The time period to filter by. @@ -42530,14 +42412,14 @@ paths: - week - month default: day - - &571 + - &566 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 - - &572 + - &567 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42439,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &568 title: Rule Suites description: Response type: array @@ -42613,7 +42495,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &569 value: - id: 21 actor_id: 12 @@ -42637,7 +42519,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &570 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42555,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &571 title: Rule Suite description: Response type: object @@ -42780,7 +42662,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &572 value: id: 21 actor_id: 12 @@ -42815,7 +42697,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42723,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42853,11 +42735,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42755,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42899,16 +42781,16 @@ paths: - tag - push - repository - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *278 + items: *283 examples: default: value: @@ -42943,11 +42825,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42845,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42856,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *61 - *17 - *19 - name: ruleset_id @@ -43002,7 +42884,7 @@ paths: application/json: schema: type: array - items: &279 + items: &284 title: Ruleset version type: object description: The historical version of a ruleset @@ -43026,7 +42908,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &574 value: - version_id: 3 actor: @@ -43044,7 +42926,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,9 +42961,9 @@ paths: description: Response content: application/json: - schema: &580 + schema: &575 allOf: - - *279 + - *284 - type: object required: - state @@ -43128,7 +43010,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +43032,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *99 - - *280 - - *281 - - *282 - - *283 + - *61 + - &576 + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + - &577 + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default + secret patterns are returned. To return generic patterns, pass the token + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + - &578 + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + - &579 + 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. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *46 - *19 - *17 - - &581 + - &580 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 @@ -43168,7 +43088,7 @@ paths: required: false schema: type: string - - &582 + - &581 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 @@ -43178,10 +43098,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &582 + name: validity + in: query + description: A comma-separated list of validities that, when present, will + return alerts that match the validities in this list. Valid options are + `active`, `inactive`, and `unknown`. + required: false + schema: + type: string + - &583 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &584 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + - &585 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -43189,13 +43141,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *150 + created_at: *151 + updated_at: + anyOf: + - type: 'null' + - *152 + url: *153 + html_url: *154 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &586 + 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: &587 + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - *4 + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *51 + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected + secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - *4 + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - *4 + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection + bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection + bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this + alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert + is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &588 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &590 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &591 + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &592 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &593 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &594 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &595 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &596 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &597 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &598 + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &599 + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &600 + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &601 + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &602 + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43774,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43786,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &286 type: - string - 'null' @@ -43242,7 +43796,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &285 type: object properties: token_type: @@ -43311,7 +43865,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *285 examples: default: value: @@ -43360,7 +43914,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +43922,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *286 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43948,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *286 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +44002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *99 + - *61 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +44046,7 @@ paths: application/json: schema: type: array - items: &603 + items: &606 description: A repository security advisory. type: object properties: @@ -43736,7 +44290,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 credits_detailed: type: - array @@ -43747,7 +44301,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *287 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +44327,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *168 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44365,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &607 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *61 responses: '200': description: Response @@ -44198,9 +44752,9 @@ paths: application/json: schema: type: array - items: *214 + items: *219 examples: - default: *215 + default: *220 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,8 +44777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44249,8 +44803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44279,13 +44833,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &669 + schema: &671 type: object properties: total_minutes_used: @@ -44355,7 +44909,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &672 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44939,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &671 + schema: &673 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44963,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &674 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44989,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &676 + schema: &678 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +45013,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &679 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +45037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Immutable releases settings response @@ -44533,7 +45087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -44591,7 +45145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 - *19 - *17 responses: @@ -44609,9 +45163,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *143 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +45184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 requestBody: required: true content: @@ -44679,8 +45233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *123 responses: '204': description: Response @@ -44702,8 +45256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *123 responses: '204': description: Response @@ -44726,7 +45280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -44744,7 +45298,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &288 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45362,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -44869,9 +45423,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: &294 + default: &289 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - &295 + - *61 + - &290 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45466,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - *295 + - *61 + - *290 requestBody: required: true content: @@ -44975,9 +45529,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *99 - - *295 + - *61 + - *290 responses: '204': description: Response @@ -45020,7 +45574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *99 + - *61 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45633,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 - 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`). @@ -45142,13 +45696,13 @@ paths: application/json: schema: type: array - items: *296 + items: *291 examples: - default: *297 - '500': *100 + default: *292 + '500': *97 '403': *27 '404': *6 - '422': *298 + '422': *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45730,11 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *61 requestBody: required: true content: @@ -45272,7 +45826,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &294 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45346,7 +45900,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *219 members_count: type: integer examples: @@ -45671,7 +46225,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &295 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +46295,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *61 + - *62 responses: '200': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +46325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: false content: @@ -45835,16 +46389,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -45896,8 +46450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *61 + - *62 - *46 - *17 - *19 @@ -45914,7 +46468,7 @@ paths: application/json: schema: type: array - items: &301 + items: &296 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46559,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46579,7 @@ paths: - updated_at - url examples: - default: &621 + default: &624 value: - author: login: octocat @@ -46075,7 +46629,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: true content: @@ -46134,9 +46688,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &302 + default: &297 value: author: login: octocat @@ -46208,9 +46762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &298 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46776,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: false content: @@ -46271,9 +46825,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &622 + default: &625 value: author: login: octocat @@ -46343,9 +46897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 responses: '204': description: Response @@ -46371,9 +46925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - *46 - *17 - *19 @@ -46384,7 +46938,7 @@ paths: application/json: schema: type: array - items: &304 + items: &299 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +47003,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46464,7 +47018,7 @@ paths: - updated_at - url examples: - default: &623 + default: &626 value: - author: login: octocat @@ -46508,7 +47062,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +47086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -46556,9 +47110,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &305 + default: &300 value: author: login: octocat @@ -46624,10 +47178,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *61 + - *62 + - *298 + - &301 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +47193,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +47217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46688,9 +47242,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &624 + default: &627 value: author: login: octocat @@ -46754,10 +47308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 responses: '204': description: Response @@ -46783,10 +47337,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 - 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. @@ -46812,7 +47366,7 @@ paths: application/json: schema: type: array - items: &307 + items: &302 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47410,7 @@ paths: - content - created_at examples: - default: &309 + default: &304 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47436,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46942,9 +47496,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *302 examples: - default: &308 + default: &303 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47527,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47552,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *99 - - *64 - - *303 - - *306 - - &310 + - *61 + - *62 + - *298 + - *301 + - &305 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - 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. @@ -47062,11 +47616,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -47124,16 +47678,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47710,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *61 + - *62 + - *298 + - *305 responses: '204': description: Response @@ -47183,8 +47737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47194,11 +47748,11 @@ paths: application/json: schema: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *61 + - *62 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47796,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47826,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &306 title: Team Membership description: Team Membership type: object @@ -47308,7 +47862,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &628 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 requestBody: required: false content: @@ -47371,9 +47925,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &629 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '204': description: Response @@ -47435,8 +47989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47446,7 +48000,7 @@ paths: application/json: schema: type: array - items: &312 + items: &307 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +48069,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &630 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +48109,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +48132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *61 + - *62 + - &308 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +48146,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: &628 + default: &631 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +48210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 requestBody: required: false content: @@ -47725,9 +48279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 responses: '204': description: Response @@ -47754,8 +48308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47765,11 +48319,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48350,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &632 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48385,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +49000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 requestBody: required: false content: @@ -48494,10 +49048,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '204': description: Response @@ -48521,8 +49075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -48532,9 +49086,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &633 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +49116,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48587,7 +49141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *99 + - *61 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +49215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &311 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +49227,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &312 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +49281,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &313 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +49316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48787,9 +49341,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *311 responses: '204': description: Response @@ -48843,7 +49397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48904,15 +49458,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *308 responses: '200': description: Response content: application/json: - schema: *232 + schema: *237 examples: - default: &319 + default: &314 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *308 requestBody: required: false content: @@ -49018,9 +49572,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: - default: *319 + default: *314 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49595,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *308 responses: '204': description: Delete Success @@ -49085,7 +49639,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *308 - 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 @@ -49136,9 +49690,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *308 + - *57 requestBody: required: false content: @@ -49221,8 +49775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *308 + - *57 responses: '204': description: Response @@ -49253,8 +49807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *308 + - *57 responses: '200': description: Response @@ -49324,7 +49878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *308 - *17 - *19 responses: @@ -49334,7 +49888,7 @@ paths: application/json: schema: type: array - items: *317 + items: *312 examples: default: value: @@ -49347,7 +49901,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -49372,7 +49926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *308 requestBody: required: true content: @@ -49396,7 +49950,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: default: value: @@ -49461,7 +50015,7 @@ paths: resources: type: object properties: - core: &321 + core: &316 title: Rate Limit type: object properties: @@ -49478,21 +50032,21 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_snapshots: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *321 + rate: *316 required: - rate - resources @@ -49597,14 +50151,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *322 + schema: *317 examples: default-response: summary: Default response @@ -50105,7 +50659,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -50372,10 +50926,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 - '307': &325 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -50404,8 +50958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -50427,7 +50981,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *320 '404': *6 '409': *45 x-github: @@ -50451,11 +51005,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &356 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +51032,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &321 title: Artifact description: An artifact type: object @@ -50573,7 +51127,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &352 value: total_count: 2 artifacts: @@ -50612,7 +51166,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +51188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *309 + - *310 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +51202,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *321 examples: default: value: @@ -50686,9 +51240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 responses: '204': description: Response @@ -50712,9 +51266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 - name: archive_format in: path required: true @@ -50728,7 +51282,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': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +51305,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *328 + schema: *323 examples: default: value: @@ -50784,11 +51338,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &329 + - &324 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 @@ -50822,7 +51376,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51426,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &326 value: total_count: 1 actions_caches: @@ -50884,7 +51438,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50904,23 +51458,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: - - *314 - - *315 + - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *324 responses: '200': description: Response content: application/json: - schema: *330 + schema: *325 examples: - default: *331 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51494,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: - - *314 - - *315 + - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *314 - - *315 - - &332 + - *309 + - *310 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51540,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 responses: '302': description: Response @@ -51363,9 +51917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 requestBody: required: false content: @@ -51387,7 +51941,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -51411,8 +51965,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Status response @@ -51462,8 +52016,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -51497,7 +52051,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -51526,8 +52080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -51545,7 +52099,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +52120,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &358 value: total_count: 2 secrets: @@ -51577,7 +52131,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51599,9 +52153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -51618,7 +52172,7 @@ paths: type: integer variables: type: array - items: &366 + items: &361 title: Actions Variable type: object properties: @@ -51652,7 +52206,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &362 value: total_count: 2 variables: @@ -51665,7 +52219,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51685,8 +52239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -51695,12 +52249,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *119 + selected_actions_url: *329 + sha_pinning_required: *120 required: - enabled examples: @@ -51728,8 +52282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51740,9 +52294,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *330 + allowed_actions: *119 + sha_pinning_required: *120 required: - enabled examples: @@ -51772,14 +52326,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &336 + schema: &331 type: object properties: access_level: @@ -51796,7 +52350,7 @@ paths: required: - access_level examples: - default: &337 + default: &332 value: access_level: organization x-github: @@ -51820,15 +52374,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *336 + schema: *331 examples: - default: *337 + default: *332 responses: '204': description: Response @@ -51852,14 +52406,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *338 + schema: *333 examples: default: value: @@ -51883,8 +52437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52448,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *334 examples: default: summary: Set retention days @@ -51918,16 +52472,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *118 + schema: *121 examples: - default: *340 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51957,7 +52511,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *121 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52535,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *341 + schema: *336 examples: - default: *119 + default: *122 '403': *27 '404': *6 x-github: @@ -52010,15 +52564,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *342 + schema: *337 examples: - default: *119 + default: *122 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52596,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *121 + schema: *124 examples: - default: *122 + default: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -52079,9 +52633,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *124 examples: - selected_actions: *122 + selected_actions: *125 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52657,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *343 + schema: *338 examples: - default: *126 + default: *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Success response @@ -52145,9 +52699,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *339 examples: - default: *126 + default: *129 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52728,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -52193,11 +52747,11 @@ paths: type: integer runners: type: array - items: *133 + items: *136 examples: - default: *134 + default: *137 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -52228,9 +52782,9 @@ paths: application/json: schema: type: array - items: *345 + items: *340 examples: - default: *346 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52806,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -52296,7 +52850,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *342 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52881,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: *348 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52918,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: *349 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52949,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: '200': description: Response content: application/json: - schema: *133 + schema: *136 examples: - default: *350 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52980,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: '204': description: Response @@ -52454,11 +53008,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: - '200': *137 + '200': *140 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +53034,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 requestBody: required: true content: @@ -52506,7 +53060,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -52530,9 +53084,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 requestBody: required: true content: @@ -52557,7 +53111,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -52581,11 +53135,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: - - *314 - - *315 - - *132 + - *309 + - *310 + - *135 responses: - '200': *351 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +53166,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: - - *314 - - *315 - - *132 - - *352 + - *309 + - *310 + - *135 + - *347 responses: - '200': *137 + '200': *140 '404': *6 '422': *7 x-github: @@ -52643,9 +53197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *314 - - *315 - - &370 + - *309 + - *310 + - &365 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. @@ -52653,7 +53207,7 @@ paths: required: false schema: type: string - - &371 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +53215,7 @@ paths: required: false schema: type: string - - &372 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52670,7 +53224,7 @@ paths: required: false schema: type: string - - &373 + - &368 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 @@ -52697,7 +53251,7 @@ paths: - pending - *17 - *19 - - &374 + - &369 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)." @@ -52706,7 +53260,7 @@ paths: schema: type: string format: date-time - - &353 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +53269,13 @@ paths: schema: type: boolean default: false - - &375 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +53298,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53415,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53476,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &393 title: Simple Commit description: A commit. type: object @@ -52996,8 +53550,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *134 + head_repository: *134 head_repository_id: type: integer examples: @@ -53037,7 +53591,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &372 value: total_count: 1 workflow_runs: @@ -53251,7 +53805,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,24 +53827,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *309 + - *310 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: &358 + default: &353 value: id: 30433642 name: Build @@ -53531,9 +54085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response @@ -53556,9 +54110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -53686,15 +54240,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: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -53721,12 +54275,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - *17 - *19 - - *356 + - *351 responses: '200': description: Response @@ -53742,11 +54296,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *321 examples: - default: *357 + default: *352 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +54322,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - &359 + - *309 + - *310 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: *358 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54363,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 - *17 - *19 responses: @@ -53830,9 +54384,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: &361 + default: &356 value: total_count: 1 jobs: @@ -53921,7 +54475,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 responses: '302': description: Response @@ -53976,15 +54530,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54011,9 +54565,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: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54080,15 +54634,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54115,9 +54669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - 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 @@ -54147,11 +54701,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: *361 + default: *356 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '302': description: Response @@ -54203,14 +54757,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response '403': *27 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54303,7 +54857,7 @@ paths: items: type: object properties: - type: &472 + type: &467 type: string description: The type of reviewer. enum: @@ -54314,7 +54868,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *168 required: - environment - wait_timer @@ -54389,9 +54943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54441,7 +54995,7 @@ paths: application/json: schema: type: array - items: &467 + items: &462 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +55107,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &463 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +55163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54633,7 +55187,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54656,9 +55210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54680,7 +55234,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -54712,9 +55266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54851,8 +55405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -54870,11 +55424,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55451,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55482,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: &485 + default: &480 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 requestBody: required: true content: @@ -54997,7 +55551,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -55023,9 +55577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '204': description: Response @@ -55050,9 +55604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -55069,11 +55623,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -55122,7 +55676,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -55147,17 +55701,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *145 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: &486 + default: &481 value: name: USERNAME value: octocat @@ -55183,9 +55737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *145 requestBody: required: true content: @@ -55227,9 +55781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *145 responses: '204': description: Response @@ -55254,8 +55808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55273,7 +55827,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55922,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55391,9 +55945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *309 + - *310 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55962,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *363 examples: default: value: @@ -55441,9 +55995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55468,9 +56022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55521,9 +56075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55550,19 +56104,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 + - *309 + - *310 + - *364 + - *365 + - *366 + - *367 + - *368 + - *17 + - *19 - *369 + - *348 - *370 - *371 - - *372 - - *373 - - *17 - - *19 - - *374 - - *353 - - *375 - - *376 responses: '200': description: Response @@ -55578,11 +56132,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *349 examples: - default: *377 + default: *372 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +56166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '200': description: Response @@ -55675,8 +56229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *309 + - *310 - *46 - *17 - *38 @@ -55825,7 +56379,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55857,9 +56411,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *309 + - *310 - name: assignee in: path required: true @@ -55919,8 +56473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56032,8 +56586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *38 - *39 @@ -56089,7 +56643,7 @@ paths: initiator: type: string examples: - default: *378 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -56118,7 +56672,7 @@ paths: application/json: schema: type: array - items: &379 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56217,9 +56771,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *374 examples: - default: &380 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *314 - - *315 - - &381 + - *309 + - *310 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56818,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *374 examples: - default: *380 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *314 - - *315 - - *381 + - *309 + - *310 + - *376 responses: '204': description: Response @@ -56312,8 +56866,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56385,8 +56939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56406,8 +56960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56445,7 +56999,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +57042,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +57059,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +57081,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *168 apps: description: The list of apps with review dismissal access. @@ -56559,7 +57113,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *168 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +57143,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +57206,7 @@ paths: type: string teams: type: array - items: *161 + items: *168 apps: type: array items: @@ -56864,7 +57418,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -56882,9 +57436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *309 + - *310 + - &379 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). @@ -56898,14 +57452,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &438 title: Commit description: Commit type: object @@ -56944,7 +57498,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57519,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 message: type: string examples: @@ -56989,7 +57543,7 @@ paths: required: - sha - url - verification: &492 + verification: &487 title: Verification type: object properties: @@ -57025,14 +57579,14 @@ paths: author: oneOf: - *4 - - *140 + - *143 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *143 type: - 'null' - object @@ -57069,7 +57623,7 @@ paths: type: integer files: type: array - items: &454 + items: &449 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57719,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *378 protection_url: type: string format: uri @@ -57274,7 +57828,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57850,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *383 + schema: *378 examples: default: value: @@ -57498,9 +58052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -57760,7 +58314,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58395,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *168 apps: type: array items: *5 @@ -57859,7 +58413,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *168 apps: type: array items: *5 @@ -57919,7 +58473,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58031,9 +58585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58058,17 +58612,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &387 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58644,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *387 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58146,17 +58700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: &389 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58352,9 +58906,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: *389 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58404,17 +58958,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &390 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58991,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *390 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +59021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58494,17 +59048,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: &392 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +59084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58584,9 +59138,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: *392 + default: *387 '404': *6 '422': *15 x-github: @@ -58608,9 +59162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58634,9 +59188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -58670,9 +59224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58739,9 +59293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58805,9 +59359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -58873,15 +59427,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *385 + schema: *380 examples: default: value: @@ -58972,9 +59526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58997,9 +59551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59009,7 +59563,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &388 value: - id: 1 slug: octoapp @@ -59066,9 +59620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59102,7 +59656,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59159,7 +59713,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59216,7 +59770,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59248,9 +59802,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -59270,9 +59824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59308,9 +59862,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -59331,9 +59885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59369,9 +59923,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -59392,9 +59946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -59429,9 +59983,9 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 '422': *15 x-github: githubCloudOnly: false @@ -59453,9 +60007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59465,7 +60019,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +60043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59524,7 +60078,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +60103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59584,7 +60138,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +60163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59644,7 +60198,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +60225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59695,7 +60249,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *389 examples: default: value: @@ -59811,8 +60365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -60091,7 +60645,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60780,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &690 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +61068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *309 + - *310 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +61082,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: &397 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +61184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 requestBody: required: true content: @@ -60872,9 +61426,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: *397 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 - *17 - *19 responses: @@ -60986,7 +61540,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61006,15 +61560,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -61052,8 +61606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61075,7 +61629,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61711,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *134 created_at: type: - string @@ -61173,7 +61727,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61755,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +62046,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +62067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61575,7 +62129,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *134 examples: default: value: @@ -61823,9 +62377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *309 + - *310 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62391,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62416,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *314 - - *315 - - *401 - - &449 + - *309 + - *310 + - *396 + - &444 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &445 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62465,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: &451 + default: &446 value: total_count: 1 check_runs: @@ -61995,7 +62549,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,15 +62569,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *309 + - *310 + - *396 responses: '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -62050,21 +62604,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - &420 + - &415 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: *404 - - &421 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62643,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *401 responses: '200': description: Response @@ -62106,24 +62660,24 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *150 + created_at: *151 + updated_at: *152 + url: *153 + html_url: *154 + instances_url: *402 + state: *159 + fixed_at: *155 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_at: *156 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62800,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *314 - - *315 - - &414 + - *309 + - *310 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62837,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *150 responses: '200': description: Response content: application/json: - schema: &415 + schema: &410 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *150 + created_at: *151 + updated_at: *152 + url: *153 + html_url: *154 + instances_url: *402 + state: *159 + fixed_at: *155 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *156 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -62368,8 +62922,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +63019,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +63039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -62502,8 +63056,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +63076,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *410 examples: default: value: @@ -62598,14 +63152,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +63179,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: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: Response content: application/json: - schema: &416 + schema: &411 type: object properties: status: @@ -62660,13 +63214,13 @@ paths: - description - started_at examples: - default: &417 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &413 description: Bad Request content: application/json: @@ -62677,9 +63231,9 @@ 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': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +63256,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: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: OK content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 '202': description: Accepted content: application/json: - schema: *416 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62734,7 +63288,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +63310,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: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: false content: @@ -62804,12 +63358,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63383,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 - - *420 - - *421 + - *415 + - *416 responses: '200': description: Response @@ -62843,7 +63397,7 @@ paths: application/json: schema: type: array - items: *412 + items: *407 examples: default: value: @@ -62882,9 +63436,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63470,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - *421 + - *416 - 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: *404 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &419 type: string description: An identifier for the upload. examples: @@ -62956,23 +63510,23 @@ paths: application/json: schema: type: array - items: &425 + items: &420 type: object properties: - ref: *404 - commit_sha: &433 + ref: *399 + commit_sha: &428 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *422 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *418 error: type: string examples: @@ -62997,8 +63551,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *419 + tool: *406 deletable: type: boolean warning: @@ -63060,9 +63614,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63650,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: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63664,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *420 examples: response: summary: application/json response @@ -63164,14 +63718,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63805,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: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63862,9 @@ 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': *419 + '403': *414 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -63339,7 +63893,7 @@ paths: application/json: schema: type: array - items: &426 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +64005,9 @@ 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': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +64034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +64047,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *421 examples: default: value: @@ -63525,11 +64079,11 @@ 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': &456 + '302': &451 description: Found - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +64103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +64114,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *414 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +64142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -63598,7 +64152,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +64231,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +64241,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +64289,7 @@ paths: items: type: object properties: - repository: &428 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +64331,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64363,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63824,7 +64378,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: *428 + items: *423 required: - repository_count - repositories @@ -63847,8 +64401,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64418,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &425 summary: Default response value: id: 1 @@ -64016,17 +64570,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64601,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: - - *314 - - *315 + - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64614,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *426 examples: - default: *430 + default: *425 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64639,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: - - *314 + - *309 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64674,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64778,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64339,9 +64893,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64430,7 +64984,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -64455,7 +65009,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +65023,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +65080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64535,7 +65089,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *428 ref: type: string description: |- @@ -64595,7 +65149,7 @@ paths: schema: type: object properties: - id: *424 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +65163,11 @@ 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': *419 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +65186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *314 - - *315 + - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +65235,10 @@ 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': *413 + '403': *408 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +65260,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64763,7 +65317,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': *156 + '204': *164 '304': *35 '403': *27 '404': *6 @@ -64788,8 +65342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *309 + - *310 - 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 @@ -64917,8 +65471,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64934,7 +65488,7 @@ paths: type: integer codespaces: type: array - items: *204 + items: *209 examples: default: value: @@ -65210,7 +65764,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -65297,22 +65851,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65890,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -65377,7 +65931,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *97 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65993,9 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: &637 + default: &640 value: total_count: 2 machines: @@ -65458,7 +66012,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65481,8 +66035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65569,8 +66123,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: - - *314 - - *315 + - *309 + - *310 - 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 @@ -65618,7 +66172,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +66193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -65658,7 +66212,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +66233,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +66256,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *437 + schema: *432 examples: - default: *438 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +66285,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '200': description: Response content: application/json: - schema: *439 + schema: *434 examples: - default: *440 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +66315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 requestBody: required: true content: @@ -65791,7 +66345,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -65815,9 +66369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '204': description: Response @@ -65845,8 +66399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66438,7 @@ paths: application/json: schema: type: array - items: &441 + items: &436 title: Collaborator description: Collaborator type: object @@ -66052,7 +66606,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 requestBody: required: false content: @@ -66153,7 +66707,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &500 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66719,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *134 invitee: anyOf: - type: 'null' @@ -66341,7 +66895,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66990,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *436 required: - permission - role_name @@ -66490,8 +67044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -66501,7 +67055,7 @@ paths: application/json: schema: type: array - items: &442 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +67096,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *67 + reactions: *68 required: - url - html_url @@ -66559,7 +67113,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &440 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66593,7 +67147,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66618,17 +67172,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: &446 + default: &441 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66685,9 +67239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66709,7 +67263,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: default: value: @@ -66760,9 +67314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -66783,9 +67337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - 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 commit comment. @@ -66811,11 +67365,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66868,16 +67422,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67453,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -66951,8 +67505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67562,9 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: &551 + default: &546 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67634,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *309 + - *310 + - &439 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67190,11 +67744,11 @@ paths: application/json: schema: type: array - items: *442 + items: *437 examples: - default: *445 + default: *440 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 requestBody: required: true content: @@ -67257,9 +67811,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: *446 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67299,9 +67853,9 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: &543 + default: &538 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +68334,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68392,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - - &448 + - &443 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)" @@ -67857,9 +68411,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *438 examples: - default: &531 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68499,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68526,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *314 - - *315 - - *448 - - *449 - - *450 + - *309 + - *310 + - *443 + - *444 + - *445 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68564,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: *451 + default: *446 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68601,7 @@ paths: schema: type: integer example: 1 - - *449 + - *444 - *17 - *19 responses: @@ -68065,7 +68619,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *394 examples: default: value: @@ -68240,7 +68794,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68265,9 +68819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68338,7 +68892,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *134 commit_url: type: string format: uri @@ -68469,9 +69023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68481,7 +69035,7 @@ paths: application/json: schema: type: array - items: &608 + items: &611 title: Status description: The status of a commit. type: object @@ -68561,8 +69115,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +69144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -68624,11 +69178,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *447 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &448 title: Community Health File type: object properties: @@ -68644,23 +69198,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *448 readme: anyOf: - type: 'null' - - *453 + - *448 issue_template: anyOf: - type: 'null' - - *453 + - *448 pull_request_template: anyOf: - type: 'null' - - *453 + - *448 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +69343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - name: basehead @@ -68838,8 +69392,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *438 + merge_base_commit: *438 status: type: string enum: @@ -68863,10 +69417,10 @@ paths: - 6 commits: type: array - items: *443 + items: *438 files: type: array - items: *454 + items: *449 required: - url - html_url @@ -69109,8 +69663,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69306,7 +69860,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &450 summary: Response if content is a file value: type: file @@ -69443,7 +69997,7 @@ paths: - size - type - url - - &556 + - &551 title: Content File description: Content File type: object @@ -69661,7 +70215,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *450 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +70284,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *451 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +70307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69849,7 +70403,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &452 title: File Commit description: File Commit type: object @@ -70005,7 +70559,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: example-for-creating-a-file: value: @@ -70059,7 +70613,7 @@ paths: schema: oneOf: - *3 - - &487 + - &482 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70634,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &603 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -70174,7 +70728,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: default: value: @@ -70209,7 +70763,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70885,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +70908,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 - - *162 - - *163 - - *164 - - *165 + - *309 + - *310 + - *169 + - *170 + - *171 + - *172 - 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 - - *166 - - *458 - - *167 - - *168 + - *173 + - *453 + - *174 + - *175 - *46 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - 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)." @@ -70389,8 +70935,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70942,11 @@ paths: application/json: schema: type: array - items: &461 + items: &456 type: object description: A Dependabot alert. properties: - number: *52 + number: *150 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +70992,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *454 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *153 + html_url: *154 + created_at: *151 + updated_at: *152 + dismissed_at: *156 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +71022,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *155 + auto_dismissed_at: *455 required: - number - state @@ -70709,9 +71253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *309 + - *310 + - &457 name: alert_number in: path description: |- @@ -70720,13 +71264,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *150 responses: '200': description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -70839,9 +71383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *309 + - *310 + - *457 requestBody: required: true content: @@ -70886,7 +71430,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -71015,8 +71559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -71034,7 +71578,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &460 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71610,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,16 +71632,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *463 + schema: *458 examples: - default: *464 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71661,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '200': description: Response content: application/json: - schema: *465 + schema: *460 examples: default: value: @@ -71151,9 +71695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 requestBody: required: true content: @@ -71181,7 +71725,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -71205,9 +71749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *142 responses: '204': description: Response @@ -71229,8 +71773,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: - - *314 - - *315 + - *309 + - *310 - 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 @@ -71380,7 +71924,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *57 + Link: *52 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71404,8 +71948,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -71642,7 +72186,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +72209,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -71749,7 +72293,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &461 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +72332,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *461 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72346,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *461 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72521,11 @@ paths: application/json: schema: type: array - items: *467 + items: *462 examples: - default: *468 + default: *463 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72128,7 +72672,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: simple-example: summary: Simple example @@ -72201,9 +72745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *309 + - *310 + - &464 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72759,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: default: value: @@ -72280,9 +72824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 responses: '204': description: Response @@ -72304,9 +72848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - *17 - *19 responses: @@ -72316,7 +72860,7 @@ paths: application/json: schema: type: array - items: &470 + items: &465 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +73004,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -72480,9 +73024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 requestBody: required: true content: @@ -72557,9 +73101,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: &471 + default: &466 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +73159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - name: status_id in: path required: true @@ -72628,9 +73172,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: *471 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +73199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72713,8 +73257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -72732,7 +73276,7 @@ paths: - 5 environments: type: array - items: &473 + items: &468 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +73338,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &470 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73380,11 @@ paths: items: type: object properties: - type: *472 + type: *467 reviewer: anyOf: - *4 - - *161 + - *168 required: - id - node_id @@ -72863,7 +73407,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &471 type: - object - 'null' @@ -72980,9 +73524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *309 + - *310 + - &469 name: environment_name in: path required: true @@ -72995,9 +73539,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: &477 + default: &472 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: false content: @@ -73093,7 +73637,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *470 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73656,14 @@ paths: items: type: object properties: - type: *472 + type: *467 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *471 additionalProperties: false examples: default: @@ -73139,9 +73683,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: *477 + default: *472 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '204': description: Default response @@ -73192,9 +73736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73213,7 +73757,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &473 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -73324,9 +73868,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - example-wildcard: &479 + example-wildcard: &474 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73912,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - &480 + - *309 + - *310 + - *469 + - &475 name: branch_policy_id in: path required: true @@ -73383,9 +73927,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73948,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 requestBody: required: true content: @@ -73436,9 +73980,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +74001,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 responses: '204': description: Response @@ -73485,9 +74029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 responses: '200': description: List of deployment protection rules @@ -73504,7 +74048,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &476 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +74070,7 @@ paths: for the environment. examples: - true - app: &482 + app: &477 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +74173,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: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 requestBody: content: application/json: @@ -73652,9 +74196,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *476 examples: - default: &483 + default: &478 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +74233,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: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 - *19 - *17 responses: @@ -73711,7 +74255,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *477 examples: default: value: @@ -73746,10 +74290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *314 - - *315 - - *474 - - &484 + - *309 + - *310 + - *469 + - &479 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +74305,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *476 examples: - default: *483 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +74328,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *474 - - *315 - - *314 - - *484 + - *469 + - *310 + - *309 + - *479 responses: '204': description: Response @@ -73813,9 +74357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73833,11 +74377,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74436,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *142 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: *485 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74469,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *142 requestBody: required: true content: @@ -73959,7 +74503,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -73985,10 +74529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *142 responses: '204': description: Default response @@ -74013,10 +74557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *309 + - *310 + - *469 + - *328 - *19 responses: '200': @@ -74033,11 +74577,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -74087,7 +74631,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -74112,18 +74656,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *309 + - *310 + - *469 + - *145 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: *486 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74688,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *145 + - *469 requestBody: required: true content: @@ -74189,10 +74733,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *145 + - *469 responses: '204': description: Response @@ -74214,8 +74758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -74225,7 +74769,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74850,7 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: default: value: @@ -74419,7 +74963,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *57 + Link: *52 '400': *14 x-github: githubCloudOnly: false @@ -74443,8 +74987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -74477,9 +75021,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -74500,8 +75044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74560,8 +75104,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *103 + - *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +75130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *309 + - *310 - name: file_sha in: path required: true @@ -74687,8 +75231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74797,7 +75341,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &483 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75568,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 responses: '200': description: Response content: application/json: - schema: *488 + schema: *483 examples: default: value: @@ -75088,9 +75632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *309 + - *310 + - &484 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. @@ -75107,7 +75651,7 @@ paths: application/json: schema: type: array - items: &490 + items: &485 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75705,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -75183,17 +75727,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '200': description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: &491 + default: &486 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75252,9 +75796,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 requestBody: required: true content: @@ -75311,9 +75855,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 '422': *15 '409': *45 x-github: @@ -75331,9 +75875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '204': description: Response @@ -75388,8 +75932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75456,7 +76000,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &488 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +76056,7 @@ paths: - sha - type - url - verification: *492 + verification: *487 required: - sha - url @@ -75522,7 +76066,7 @@ paths: - tag - message examples: - default: &494 + default: &489 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +76139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *309 + - *310 - name: tag_sha in: path required: true @@ -75607,9 +76151,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *488 examples: - default: *494 + default: *489 '404': *6 '409': *45 x-github: @@ -75633,8 +76177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75708,7 +76252,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &490 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76378,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *490 examples: default-response: summary: Default response @@ -75893,8 +76437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -75904,7 +76448,7 @@ paths: application/json: schema: type: array - items: &496 + items: &491 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76511,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &721 title: Hook Response type: object properties: @@ -76025,7 +76569,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76098,9 +76642,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: &497 + default: &492 value: type: Repository id: 12345678 @@ -76148,17 +76692,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '200': description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -76178,9 +76722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 requestBody: required: true content: @@ -76225,9 +76769,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '422': *15 '404': *6 x-github: @@ -76248,9 +76792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '204': description: Response @@ -76274,9 +76818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '200': description: Response @@ -76303,9 +76847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 requestBody: required: false content: @@ -76349,11 +76893,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 - *17 - - *177 + - *182 responses: '200': description: Response @@ -76361,9 +76905,9 @@ paths: application/json: schema: type: array - items: *178 + items: *183 examples: - default: *179 + default: *184 '400': *14 '422': *15 x-github: @@ -76382,18 +76926,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *185 examples: - default: *181 + default: *186 '400': *14 '422': *15 x-github: @@ -76412,9 +76956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 - *16 responses: '202': *37 @@ -76437,9 +76981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '204': description: Response @@ -76464,9 +77008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *181 responses: '204': description: Response @@ -76489,8 +77033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +77082,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +77103,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +77161,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &498 + schema: &493 title: Import description: A repository import from an external source. type: object @@ -76731,7 +77275,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &496 value: vcs: subversion use_lfs: true @@ -76747,7 +77291,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': &499 + '503': &494 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +77320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -76825,7 +77369,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: default: value: @@ -76850,7 +77394,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76931,7 +77475,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: example-1: summary: Example 1 @@ -76979,7 +77523,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': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77546,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *309 + - *310 + - &661 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77593,7 @@ paths: application/json: schema: type: array - items: &500 + items: &495 title: Porter Author description: Porter Author type: object @@ -77103,7 +77647,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': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *309 + - *310 - name: author_id in: path required: true @@ -77159,7 +77703,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *495 examples: default: value: @@ -77172,7 +77716,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77238,7 +77782,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -77294,11 +77838,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: - default: *501 + default: *496 '422': *15 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77330,8 +77874,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *497 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77360,12 +77904,12 @@ paths: application/json: schema: anyOf: - - *194 + - *199 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &499 value: limit: collaborators_only origin: repository @@ -77390,13 +77934,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *503 + schema: *498 examples: default: summary: Example request body @@ -77408,9 +77952,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *199 examples: - default: *504 + default: *499 '409': description: Response x-github: @@ -77432,8 +77976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -77456,8 +78000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -77467,9 +78011,9 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: &652 + default: &654 value: - id: 1 repository: @@ -77583,7 +78127,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,9 +78144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *203 requestBody: required: false content: @@ -77631,7 +78175,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *500 examples: default: value: @@ -77762,9 +78306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *203 responses: '204': description: Response @@ -77795,8 +78339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *309 + - *310 - 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 @@ -77844,7 +78388,7 @@ paths: required: false schema: type: string - - *202 + - *207 - name: sort description: What to sort results by. in: query @@ -77857,7 +78401,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78411,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78560,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '422': *15 '404': *6 x-github: @@ -78046,8 +78590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -78137,9 +78681,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78837,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *98 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *309 + - *310 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78879,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +78889,9 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: &511 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78922,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '404': *6 x-github: @@ -78405,17 +78949,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: &507 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +79013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78493,9 +79037,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +79057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -78535,9 +79079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - 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 comment. @@ -78563,11 +79107,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +79130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78620,16 +79164,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +79195,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -78674,8 +79218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -78685,7 +79229,7 @@ paths: application/json: schema: type: array - items: &508 + items: &503 title: Issue Event description: Issue Event type: object @@ -78732,7 +79276,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +79309,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *168 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79376,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79550,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *309 + - *310 - name: event_id in: path required: true @@ -79036,7 +79580,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *503 examples: default: value: @@ -79229,7 +79773,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *315 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *309 + - *310 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79821,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79428,15 +79972,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '422': *15 - '503': *73 + '503': *98 '403': *27 - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79482,9 +80026,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +80044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: content: application/json: @@ -79527,9 +80071,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +80095,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: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: assignee in: path required: true @@ -79593,10 +80137,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *309 + - *310 + - *505 + - *72 - *17 - *19 responses: @@ -79606,13 +80150,13 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: *511 + default: *506 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +80185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79665,16 +80209,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79702,9 +80246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79714,14 +80258,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +80293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79773,17 +80317,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *318 '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79814,9 +80358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80372,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79874,14 +80418,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79914,7 +80458,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &509 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80507,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &510 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80635,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &511 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &512 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &513 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &514 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80805,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *168 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80818,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &515 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80847,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *168 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &516 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80916,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &517 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80961,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &518 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +81022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &519 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +81083,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &520 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +81144,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &521 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +81236,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +81254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -80722,9 +81266,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &508 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +81285,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +81305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80822,12 +81366,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80906,12 +81450,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81472,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: name in: path required: true @@ -80970,7 +81514,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81525,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -81034,7 +81578,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *315 '404': *6 '422': *15 x-github: @@ -81052,9 +81596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response @@ -81084,20 +81628,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - 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. @@ -81142,13 +81686,13 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81200,16 +81744,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81775,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 + - *309 - *310 + - *505 + - *305 responses: '204': description: Response @@ -81263,9 +81807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81287,9 +81831,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81334,13 +81878,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81397,16 +81941,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -81426,9 +81970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81459,13 +82003,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *98 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +82027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81500,6 +82044,11 @@ paths: description: Timeline Event type: object anyOf: + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 @@ -81508,11 +82057,6 @@ paths: - *519 - *520 - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +82104,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - event - actor @@ -81596,7 +82140,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82362,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82385,7 @@ paths: type: string comments: type: array - items: &545 + items: &540 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82490,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -82041,7 +82585,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82623,7 @@ paths: type: string comments: type: array - items: *442 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82896,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82382,7 +82926,7 @@ paths: application/json: schema: type: array - items: &527 + items: &522 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82978,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82487,9 +83031,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: &528 + default: &523 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +83067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *309 + - *310 + - &524 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +83081,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +83101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *309 + - *310 + - *524 responses: '204': description: Response @@ -82579,8 +83123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82590,11 +83134,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +83157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82650,9 +83194,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &525 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +83228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82696,9 +83240,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +83259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82755,7 +83299,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +83325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82808,8 +83352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -82848,9 +83392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *309 + - *310 + - *415 responses: '200': description: Response @@ -82916,7 +83460,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83063,8 +83607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83098,9 +83642,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *438 examples: - default: *531 + default: *526 '204': description: Response when already merged '404': @@ -83125,8 +83669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83167,7 +83711,7 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: default: value: @@ -83206,7 +83750,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -83223,8 +83767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83264,9 +83808,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: - default: &532 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83325,9 +83869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *309 + - *310 + - &528 name: milestone_number description: The number that identifies the milestone. in: path @@ -83339,9 +83883,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: - default: *532 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 requestBody: required: false content: @@ -83398,9 +83942,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 responses: '204': description: Response @@ -83439,9 +83983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 - *17 - *19 responses: @@ -83451,11 +83995,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +84016,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *314 - - *315 - - *534 - - *535 - - *75 - - *536 + - *309 + - *310 + - *529 + - *530 + - *72 + - *531 - *17 - *19 responses: @@ -83487,11 +84031,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *532 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +84057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -83572,14 +84116,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &538 + schema: &533 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +84267,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &534 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +84308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83820,9 +84364,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *533 examples: - default: *539 + default: *534 '422': *15 '409': *45 x-github: @@ -83845,8 +84389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83946,8 +84490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -83973,8 +84517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -83984,7 +84528,7 @@ paths: application/json: schema: type: array - items: &540 + items: &535 title: Page Build description: Page Build type: object @@ -84057,7 +84601,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84076,8 +84620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response @@ -84124,16 +84668,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: &541 + default: &536 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 - name: build_id in: path required: true @@ -84193,9 +84737,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: *541 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84324,9 +84868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *314 - - *315 - - &542 + - *309 + - *310 + - &537 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +84928,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *309 + - *310 + - *537 responses: - '204': *156 + '204': *164 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +84957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84682,7 +85226,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -84709,8 +85253,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: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +85291,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +85313,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *164 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +85337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Indicates the state of the projects to return. in: query @@ -84815,7 +85359,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -84851,11 +85395,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84905,13 +85449,13 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: - default: *319 + default: *314 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84943,7 +85487,7 @@ paths: application/json: schema: type: array - items: *249 + items: *254 examples: default: value: @@ -84974,8 +85518,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84987,7 +85531,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *249 + items: *254 required: - properties examples: @@ -85037,8 +85581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85642,11 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: *543 + default: *538 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -85200,7 +85744,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &542 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85329,7 +85873,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *243 active_lock_reason: type: - string @@ -85384,7 +85928,7 @@ paths: type: - array - 'null' - items: *214 + items: *219 head: type: object properties: @@ -85392,7 +85936,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +85953,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85422,14 +85966,14 @@ paths: _links: type: object properties: - comments: *239 - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + comments: *244 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -85439,8 +85983,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *539 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +86086,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: sort in: query required: false @@ -86089,7 +86633,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86643,9 @@ paths: application/json: schema: type: array - items: *545 + items: *540 examples: - default: &550 + default: &545 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86697,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *540 examples: - default: &546 + default: &541 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86287,9 +86831,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *540 examples: - default: *546 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -86328,9 +86872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - 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 pull request review comment. @@ -86356,11 +86900,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86413,16 +86957,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -86490,9 +87034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *309 + - *310 + - &544 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +87049,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *542 examples: - default: *548 + default: *543 '304': *35 '404': *6 '406': @@ -86515,8 +87059,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +87086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -86586,9 +87130,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *542 examples: - default: *548 + default: *543 '422': *15 '403': *27 x-github: @@ -86610,9 +87154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: true content: @@ -86673,21 +87217,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +87257,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *314 - - *315 - - *549 - - *92 + - *309 + - *310 + - *544 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +87270,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +87280,11 @@ paths: application/json: schema: type: array - items: *545 + items: *540 examples: - default: *550 + default: *545 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +87315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: true content: @@ -86879,7 +87423,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *540 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87511,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *314 - - *315 - - *549 - - *84 + - *309 + - *310 + - *544 + - *81 requestBody: required: true content: @@ -86992,7 +87536,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *540 examples: default: value: @@ -87078,9 +87622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 - *17 - *19 responses: @@ -87090,11 +87634,11 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: *551 + default: *546 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 - *17 - *19 responses: @@ -87134,7 +87678,7 @@ paths: application/json: schema: type: array - items: *454 + items: *449 examples: default: value: @@ -87150,10 +87694,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -87311,9 +87855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 responses: '200': description: Response @@ -87329,7 +87873,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *168 required: - users - teams @@ -87370,7 +87914,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87388,9 +87932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -87427,7 +87971,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -87963,9 +88507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: true content: @@ -87999,7 +88543,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -88504,9 +89048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 - *17 - *19 responses: @@ -88516,7 +89060,7 @@ paths: application/json: schema: type: array - items: &552 + items: &547 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +89134,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +89183,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +89216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -88764,9 +89308,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: &554 + default: &549 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89373,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - &553 + - *309 + - *310 + - *544 + - &548 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89388,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: &555 + default: &550 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89449,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 requestBody: required: true content: @@ -88931,7 +89475,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: default: value: @@ -88993,18 +89537,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 responses: '200': description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: *554 + default: *549 '422': *7 '404': *6 x-github: @@ -89031,10 +89575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 - *17 - *19 responses: @@ -89128,13 +89672,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: - self: *239 - html: *239 - pull_request: *239 + self: *244 + html: *244 + pull_request: *244 required: - self - html @@ -89143,7 +89687,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89807,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89292,10 +89836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 requestBody: required: true content: @@ -89324,7 +89868,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: default: value: @@ -89387,10 +89931,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *544 + - *548 requestBody: required: true content: @@ -89425,9 +89969,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *547 examples: - default: *555 + default: *550 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *544 requestBody: required: false content: @@ -89515,8 +90059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +90073,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *551 examples: - default: &557 + default: &552 value: type: file encoding: base64 @@ -89573,8 +90117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +90138,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *551 examples: - default: *557 + default: *552 '404': *6 '422': *15 x-github: @@ -89618,8 +90162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -89629,7 +90173,7 @@ paths: application/json: schema: type: array - items: *558 + items: *553 examples: default: value: @@ -89703,7 +90247,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +90267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -89800,9 +90344,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: &562 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89907,9 +90451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *309 + - *310 + - &555 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90465,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *554 examples: - default: &561 + default: &556 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 @@ -89958,7 +90502,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *555 requestBody: required: false content: @@ -90005,9 +90549,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *554 examples: - default: *561 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *555 responses: '204': description: Response @@ -90049,8 +90593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -90136,16 +90680,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: *562 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *309 + - *310 - name: tag description: tag parameter in: path @@ -90176,9 +90720,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: *562 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *309 + - *310 + - &558 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90760,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: *558 + schema: *553 examples: - default: *562 + default: *557 '401': description: Unauthorized x-github: @@ -90236,9 +90780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 requestBody: required: false content: @@ -90302,9 +90846,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *553 examples: - default: *562 + default: *557 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 responses: '204': description: Response @@ -90347,9 +90891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 - *17 - *19 responses: @@ -90359,7 +90903,7 @@ paths: application/json: schema: type: array - items: *559 + items: *554 examples: default: value: @@ -90396,7 +90940,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90984,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: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 - name: name in: query required: true @@ -90468,7 +91012,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *554 examples: response-for-successful-upload: value: @@ -90523,9 +91067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 - 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. @@ -90549,11 +91093,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +91116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *558 requestBody: required: true content: @@ -90604,16 +91148,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +91179,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 + - *309 - *310 + - *558 + - *305 responses: '204': description: Response @@ -90662,9 +91206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 - *17 - *19 responses: @@ -90680,8 +91224,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *256 - - &564 + - *261 + - &559 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90700,69 +91244,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *257 - - *564 - - allOf: - - *258 - - *564 - - allOf: - - *259 - - *564 - - allOf: - - *565 - - *564 - - allOf: - - *260 - - *564 - - allOf: - - *261 - - *564 - allOf: - *262 - - *564 + - *559 - allOf: - *263 - - *564 + - *559 - allOf: - *264 - - *564 + - *559 + - allOf: + - *560 + - *559 - allOf: - *265 - - *564 + - *559 - allOf: - *266 - - *564 + - *559 - allOf: - *267 - - *564 + - *559 - allOf: - *268 - - *564 + - *559 - allOf: - *269 - - *564 + - *559 - allOf: - *270 - - *564 + - *559 - allOf: - *271 - - *564 + - *559 - allOf: - *272 - - *564 + - *559 - allOf: - *273 - - *564 + - *559 - allOf: - *274 - - *564 + - *559 - allOf: - *275 - - *564 + - *559 + - allOf: + - *276 + - *559 + - allOf: + - *277 + - *559 - allOf: - - *566 - - *564 + - *278 + - *559 + - allOf: + - *279 + - *559 + - allOf: + - *280 + - *559 + - allOf: + - *561 + - *559 examples: default: value: @@ -90801,8 +91345,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90813,7 +91357,7 @@ paths: schema: type: boolean default: true - - *567 + - *562 responses: '200': description: Response @@ -90821,7 +91365,7 @@ paths: application/json: schema: type: array - items: *276 + items: *281 examples: default: value: @@ -90852,7 +91396,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91412,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 requestBody: description: Request body required: true @@ -90889,16 +91433,16 @@ paths: - tag - push default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *563 required: - name - enforcement @@ -90929,9 +91473,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &578 + default: &573 value: id: 42 name: super cool ruleset @@ -90964,7 +91508,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91522,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 - - *569 - - *570 - - *571 - - *572 + - *309 + - *310 + - *564 + - *565 + - *566 + - *567 - *17 - *19 responses: @@ -90991,11 +91535,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *568 examples: - default: *574 + default: *569 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91558,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *309 + - *310 + - *570 responses: '200': description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: *577 + default: *572 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91596,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91073,11 +91617,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *573 '404': *6 - '500': *100 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91637,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91119,16 +91663,16 @@ paths: - branch - tag - push - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *563 examples: default: value: @@ -91156,11 +91700,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *573 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91720,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91732,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -91217,11 +91761,11 @@ paths: application/json: schema: type: array - items: *279 + items: *284 examples: - default: *579 + default: *574 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91801,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *575 examples: default: value: @@ -91290,7 +91834,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91856,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *280 - - *281 - - *282 - - *283 + - *309 + - *310 + - *576 + - *577 + - *578 + - *579 - *46 - *19 - *17 + - *580 - *581 - *582 - - *284 - - *285 - - *286 - - *287 + - *583 + - *584 + - *585 responses: '200': description: Response @@ -91334,24 +91878,24 @@ paths: application/json: schema: type: array - items: &586 + items: &589 type: object properties: - number: *52 - created_at: *53 + number: *150 + created_at: *151 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *152 + url: *153 + html_url: *154 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *586 + resolution: *587 resolved_at: type: - string @@ -91445,7 +91989,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *588 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +92112,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +92134,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 - - *287 + - *309 + - *310 + - *409 + - *585 responses: '200': description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -91630,7 +92174,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +92195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -91661,8 +92205,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *586 + resolution: *587 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +92225,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -91734,7 +92278,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +92300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 responses: @@ -91769,7 +92313,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &741 type: object properties: type: @@ -91796,9 +92340,6 @@ paths: - commit details: oneOf: - - *587 - - *588 - - *589 - *590 - *591 - *592 @@ -91809,6 +92350,9 @@ paths: - *597 - *598 - *599 + - *600 + - *601 + - *602 examples: default: value: @@ -91868,11 +92412,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -91903,14 +92447,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &604 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *603 required: - reason - placeholder_id @@ -91927,7 +92471,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *604 expire_at: type: - string @@ -91951,7 +92495,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92507,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -91971,13 +92518,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *98 '200': description: Response content: @@ -91987,7 +92534,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &605 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92562,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *605 backfill_scans: type: array - items: *602 + items: *605 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *605 - type: object properties: pattern_name: @@ -92093,8 +92640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *309 + - *310 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92685,9 @@ paths: application/json: schema: type: array - items: *603 + items: *606 examples: - default: *604 + default: *607 '400': *14 '404': *6 x-github: @@ -92163,8 +92710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92244,7 +92791,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -92334,9 +92881,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: &606 + default: &609 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +93116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92683,7 +93230,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: default: value: @@ -92830,17 +93377,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 responses: '200': description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *606 + default: *609 '403': *27 '404': *6 x-github: @@ -92864,9 +93411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 requestBody: required: true content: @@ -92946,7 +93493,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -93037,17 +93584,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *606 - add_credit: *606 + default: *609 + add_credit: *609 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *103 examples: invalid_state_transition: value: @@ -93078,9 +93625,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: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 responses: '202': *37 '400': *14 @@ -93107,17 +93654,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *608 responses: '202': description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93218,7 +93765,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93797,7 @@ paths: application/json: schema: type: array - items: &607 + items: &610 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93810,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *164 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93335,7 +93882,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +93909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93435,7 +93982,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +94004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +94159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +94170,7 @@ paths: application/json: schema: type: array - items: *607 + items: *610 examples: default: value: @@ -93636,7 +94183,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +94203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *309 + - *310 - name: sha in: path required: true @@ -93713,7 +94260,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: default: value: @@ -93767,8 +94314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93780,9 +94327,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94347,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &612 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -93907,7 +94454,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: default: value: @@ -93934,8 +94481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -93955,8 +94502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94015,7 +94562,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94038,8 +94585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94047,7 +94594,7 @@ paths: application/json: schema: type: array - items: &610 + items: &613 title: Tag protection description: Tag protection type: object @@ -94104,8 +94651,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: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94128,7 +94675,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: default: value: @@ -94159,8 +94706,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: - - *314 - - *315 + - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94744,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -94234,8 +94781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94245,11 +94792,11 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - default: *215 + default: *220 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 responses: @@ -94276,7 +94823,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &614 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94835,7 @@ paths: required: - names examples: - default: &612 + default: &615 value: names: - octocat @@ -94311,8 +94858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94343,9 +94890,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *614 examples: - default: *612 + default: *615 '404': *6 '422': *7 x-github: @@ -94366,9 +94913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *309 + - *310 + - &616 name: per description: The time frame to display results for. in: query @@ -94399,7 +94946,7 @@ paths: - 128 clones: type: array - items: &614 + items: &617 title: Traffic type: object properties: @@ -94486,8 +95033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94581,8 +95128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94645,9 +95192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *309 + - *310 + - *616 responses: '200': description: Response @@ -94668,7 +95215,7 @@ paths: - 3782 views: type: array - items: *614 + items: *617 required: - uniques - count @@ -94745,8 +95292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94782,7 +95329,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *134 examples: default: value: @@ -95020,8 +95567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95067,8 +95614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95094,8 +95641,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -95187,9 +95734,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95777,7 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: default: value: @@ -95419,7 +95966,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *134 score: type: number file_size: @@ -95438,7 +95985,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &618 title: Search Result Text Matches type: array items: @@ -95553,7 +96100,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *98 '422': *15 '403': *27 x-github: @@ -95601,7 +96148,7 @@ paths: enum: - author-date - committer-date - - &616 + - &619 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 @@ -95670,7 +96217,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 comment_count: type: integer message: @@ -95689,7 +96236,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *487 required: - author - committer @@ -95704,7 +96251,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 parents: type: array items: @@ -95716,12 +96263,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *134 score: type: number node_id: type: string - text_matches: *615 + text_matches: *618 required: - sha - node_id @@ -95913,7 +96460,7 @@ paths: - interactions - created - updated - - *616 + - *619 - *17 - *19 - name: advanced_search @@ -96010,11 +96557,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: type: string state_reason: @@ -96028,7 +96575,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *243 comments: type: integer created_at: @@ -96042,7 +96589,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *618 pull_request: type: object properties: @@ -96080,10 +96627,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *67 draft: type: boolean - repository: *66 + repository: *64 body_html: type: string body_text: @@ -96091,12 +96638,12 @@ paths: timeline_url: type: string format: uri - type: *199 + type: *204 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96759,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *98 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96812,7 @@ paths: enum: - created - updated - - *616 + - *619 - *17 - *19 responses: @@ -96310,7 +96857,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *618 required: - id - node_id @@ -96395,7 +96942,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *619 - *17 - *19 responses: @@ -96614,7 +97161,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +97179,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *618 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97382,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *98 '422': *15 '304': *35 x-github: @@ -96940,7 +97487,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *618 related: type: - array @@ -97133,7 +97680,7 @@ paths: - followers - repositories - joined - - *616 + - *619 - *17 - *19 responses: @@ -97243,7 +97790,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *618 blog: type: - string @@ -97305,7 +97852,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *98 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &623 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97884,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *623 requestBody: required: true content: @@ -97430,16 +97977,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -97467,7 +98014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *623 responses: '204': description: Response @@ -97498,7 +98045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *623 - *46 - *17 - *19 @@ -97509,11 +98056,11 @@ paths: application/json: schema: type: array - items: *301 + items: *296 examples: - default: *621 + default: *624 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +98087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *623 requestBody: required: true content: @@ -97574,9 +98121,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +98150,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 responses: '200': description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +98184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 requestBody: required: false content: @@ -97661,9 +98208,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *622 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +98235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 responses: '204': description: Response @@ -97718,8 +98265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *623 + - *298 - *46 - *17 - *19 @@ -97730,11 +98277,11 @@ paths: application/json: schema: type: array - items: *304 + items: *299 examples: - default: *623 + default: *626 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +98308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *623 + - *298 requestBody: required: true content: @@ -97784,9 +98331,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98360,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 responses: '200': description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 requestBody: required: true content: @@ -97872,9 +98419,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 responses: '204': description: Response @@ -97930,9 +98477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 - 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. @@ -97958,11 +98505,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *623 + - *298 + - *301 requestBody: required: true content: @@ -98023,9 +98570,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 - 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. @@ -98078,11 +98625,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *623 + - *298 requestBody: required: true content: @@ -98142,9 +98689,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98178,11 +98725,11 @@ paths: application/json: schema: type: array - items: *196 + items: *201 examples: - default: *197 + default: *202 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *623 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98776,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: Response @@ -98334,8 +98881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: Response @@ -98371,16 +98918,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *628 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *623 + - *57 requestBody: required: false content: @@ -98439,9 +98986,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *629 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +99022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *623 + - *57 responses: '204': description: Response @@ -98504,7 +99051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98514,11 +99061,11 @@ paths: application/json: schema: type: array - items: *312 + items: *307 examples: - default: *627 + default: *630 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +99089,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *623 + - *308 responses: '200': description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: *628 + default: *631 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +99122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *623 + - *308 requestBody: required: false content: @@ -98643,8 +99190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *623 + - *308 responses: '204': description: Response @@ -98671,7 +99218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98681,11 +99228,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +99260,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *620 - - *314 - - *315 + - *623 + - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *632 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *620 - - *314 - - *315 + - *623 + - *309 + - *310 requestBody: required: false content: @@ -98924,9 +99471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *620 - - *314 - - *315 + - *623 + - *309 + - *310 responses: '204': description: Response @@ -98951,7 +99498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *623 - *17 - *19 responses: @@ -98961,11 +99508,11 @@ paths: application/json: schema: type: array - items: *161 + items: *168 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *633 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99543,7 @@ paths: application/json: schema: oneOf: - - &632 + - &635 title: Private User description: Private User type: object @@ -99246,7 +99793,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *634 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99953,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -99485,7 +100032,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +100055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: If the user is blocked @@ -99536,7 +100083,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99560,7 +100107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99609,11 +100156,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *209 examples: - default: *205 + default: *210 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -99750,21 +100297,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100351,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &636 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100393,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100465,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *142 responses: '200': description: Response content: application/json: - schema: *633 + schema: *636 examples: default: value: @@ -99954,7 +100501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *139 + - *142 requestBody: required: true content: @@ -99999,7 +100546,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -100027,7 +100574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *142 responses: '204': description: Response @@ -100052,7 +100599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *142 responses: '200': description: Response @@ -100068,13 +100615,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *134 examples: - default: *634 + default: *637 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *142 requestBody: required: true content: @@ -100127,7 +100674,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *142 - name: repository_id in: path required: true @@ -100161,7 +100708,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *142 - name: repository_id in: path required: true @@ -100194,7 +100741,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100214,17 +100761,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100248,7 +100795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 requestBody: required: false content: @@ -100278,9 +100825,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 @@ -100302,11 +100849,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100331,13 +100878,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '202': description: Response content: application/json: - schema: &635 + schema: &638 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100937,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &639 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100945,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100422,7 +100969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *206 + - *211 - name: export_id in: path required: true @@ -100435,9 +100982,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: - default: *636 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -100458,7 +101005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *206 + - *211 responses: '200': description: Response @@ -100474,11 +101021,11 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: *637 + default: *640 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100505,7 +101052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *206 + - *211 requestBody: required: true content: @@ -100561,11 +101108,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *317 machine: anyOf: - type: 'null' - - *435 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101362,17 +101909,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *97 '400': *14 '401': *23 '402': @@ -101402,16 +101949,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *206 + - *211 responses: '200': description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *434 - '500': *100 + default: *429 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -101440,9 +101987,9 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: &649 + default: &651 value: - id: 197 name: hello_docker @@ -101543,7 +102090,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 title: Email description: Email type: object @@ -101613,16 +102160,16 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: - default: &651 + default: &653 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +102239,7 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: default: value: @@ -101804,9 +102351,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102384,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: if the person is followed by the authenticated user @@ -101889,7 +102436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101914,7 +102461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101950,7 +102497,7 @@ paths: application/json: schema: type: array - items: &639 + items: &642 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102642,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &667 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102674,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102727,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: &640 + default: &643 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &641 + - &644 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102798,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *641 + - *644 responses: '204': description: Response @@ -102419,7 +102966,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +103012,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *126 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +103039,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *123 responses: '204': description: Response @@ -102518,7 +103065,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *123 responses: '204': description: Response @@ -102552,12 +103099,12 @@ paths: application/json: schema: anyOf: - - *194 + - *199 - type: object properties: {} additionalProperties: false examples: - default: *195 + default: *200 '204': description: Response when there are no restrictions x-github: @@ -102581,7 +103128,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *498 examples: default: value: @@ -102592,7 +103139,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *199 examples: default: value: @@ -102673,7 +103220,7 @@ paths: - closed - all default: open - - *202 + - *207 - name: sort description: What to sort results by. in: query @@ -102686,7 +103233,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +103243,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *208 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +103278,7 @@ paths: application/json: schema: type: array - items: &642 + items: &645 title: Key description: Key type: object @@ -102783,7 +103330,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103381,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: &643 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103416,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '200': description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *643 + default: *646 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '204': description: Response @@ -102933,7 +103480,7 @@ paths: application/json: schema: type: array - items: &644 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103548,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103559,7 @@ paths: - account - plan examples: - default: &645 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103592,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103621,11 @@ paths: application/json: schema: type: array - items: *644 + items: *647 examples: - default: *645 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103116,7 +103663,7 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: default: value: @@ -103193,7 +103740,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,13 +103765,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *208 + schema: *213 examples: default: value: @@ -103282,7 +103829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 requestBody: required: true content: @@ -103307,7 +103854,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *213 examples: default: value: @@ -103375,7 +103922,7 @@ paths: application/json: schema: type: array - items: *210 + items: *215 examples: default: value: @@ -103528,7 +104075,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103637,7 +104184,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -103817,7 +104364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *216 - name: exclude in: query required: false @@ -103830,7 +104377,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -104024,7 +104571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *216 responses: '302': description: Response @@ -104050,7 +104597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *216 responses: '204': description: Response @@ -104079,8 +104626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *646 + - *216 + - *649 responses: '204': description: Response @@ -104104,7 +104651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *216 - *17 - *19 responses: @@ -104114,11 +104661,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104698,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104742,7 @@ paths: - docker - nuget - container - - *648 + - *650 - *19 - *17 responses: @@ -104205,10 +104752,10 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *649 - '400': *650 + default: *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104228,16 +104775,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *216 + schema: *221 examples: - default: &666 + default: &668 value: id: 40201 name: octo-name @@ -104350,8 +104897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *223 + - *224 responses: '204': description: Response @@ -104381,8 +104928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *223 + - *224 - name: token description: package token schema: @@ -104414,8 +104961,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: - - *218 - - *219 + - *223 + - *224 - *19 - *17 - name: state @@ -104435,7 +104982,7 @@ paths: application/json: schema: type: array - items: *220 + items: *225 examples: default: value: @@ -104484,15 +105031,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *223 + - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: default: value: @@ -104528,9 +105075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *223 + - *224 + - *226 responses: '204': description: Response @@ -104560,9 +105107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *223 + - *224 + - *226 responses: '204': description: Response @@ -104620,7 +105167,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -104692,11 +105239,11 @@ paths: application/json: schema: type: array - items: *638 + items: *641 examples: - default: *651 + default: *653 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105352,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &660 summary: Default response value: - id: 1296269 @@ -104928,7 +105475,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105672,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105712,11 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: *652 + default: *654 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105190,7 +105737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *198 + - *203 responses: '204': description: Response @@ -105213,7 +105760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *198 + - *203 responses: '204': description: Response @@ -105246,7 +105793,7 @@ paths: application/json: schema: type: array - items: &653 + items: &655 title: Social account description: Social media account type: object @@ -105263,12 +105810,12 @@ paths: - provider - url examples: - default: &654 + default: &656 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105873,9 @@ paths: application/json: schema: type: array - items: *653 + items: *655 examples: - default: *654 + default: *656 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105963,7 @@ paths: application/json: schema: type: array - items: &655 + items: &657 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105983,7 @@ paths: - title - created_at examples: - default: &680 + default: &682 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105996,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105503,9 +106050,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *657 examples: - default: &656 + default: &658 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +106083,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: - - &657 + - &659 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +106095,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *657 examples: - default: *656 + default: *658 '404': *6 '304': *35 '403': *27 @@ -105573,7 +106120,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: - - *657 + - *659 responses: '204': description: Response @@ -105602,7 +106149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &683 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 @@ -105625,13 +106172,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *660 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &684 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +106186,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +106314,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +106334,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: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105841,8 +106388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105875,11 +106422,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106461,7 @@ paths: application/json: schema: type: array - items: *299 + items: *294 examples: default: value: @@ -105965,7 +106512,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *85 responses: '200': description: Response @@ -106000,10 +106547,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *635 + - *634 examples: - default-response: &660 + default-response: &662 summary: Default response value: login: octocat @@ -106038,7 +106585,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &661 + response-with-git-hub-plan-information: &663 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *661 - *17 responses: '200': @@ -106109,7 +106656,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106147,11 +106694,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *635 + - *634 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *662 + response-with-git-hub-plan-information: *663 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106724,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106747,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *664 + withPredicateType: *665 responses: '200': description: Response @@ -106255,7 +106802,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *62 + - *57 requestBody: required: true content: @@ -106338,7 +106885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106369,7 +106916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *62 + - *57 - name: attestation_id description: Attestation ID in: path @@ -106407,7 +106954,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +107006,12 @@ paths: initiator: type: string examples: - default: *378 + default: *373 '201': description: Response content: application/json: - schema: *140 + schema: *143 examples: default: value: @@ -106490,7 +107037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106498,9 +107045,9 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *649 + default: *651 '403': *27 '401': *23 x-github: @@ -106523,7 +107070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106533,7 +107080,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +107142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *62 - - *99 + - *57 + - *61 - *17 - *19 responses: @@ -106606,7 +107153,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +107230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106693,7 +107240,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +107298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106763,9 +107310,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +107329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106794,9 +107341,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *62 + - *57 - name: target_user in: path required: true @@ -106840,8 +107387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *72 - *17 - *19 responses: @@ -106851,11 +107398,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +107421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106884,11 +107431,11 @@ paths: application/json: schema: type: array - items: *639 + items: *642 examples: - default: *665 + default: *667 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *62 + - *57 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106982,7 +107529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *62 + - *57 responses: '200': description: Response @@ -106990,7 +107537,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107044,7 +107591,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107074,11 +107621,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107662,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *650 + - *57 - *19 - *17 responses: @@ -107126,12 +107673,12 @@ paths: application/json: schema: type: array - items: *216 + items: *221 examples: - default: *649 + default: *651 '403': *27 '401': *23 - '400': *650 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107151,17 +107698,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 responses: '200': description: Response content: application/json: - schema: *216 + schema: *221 examples: - default: *666 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107182,9 +107729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 responses: '204': description: Response @@ -107216,9 +107763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 - name: token description: package token schema: @@ -107250,9 +107797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *218 - - *219 - - *62 + - *223 + - *224 + - *57 responses: '200': description: Response @@ -107260,7 +107807,7 @@ paths: application/json: schema: type: array - items: *220 + items: *225 examples: default: value: @@ -107318,16 +107865,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *218 - - *219 - - *221 - - *62 + - *223 + - *224 + - *226 + - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: default: value: @@ -107362,10 +107909,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *223 + - *224 + - *57 + - *226 responses: '204': description: Response @@ -107397,10 +107944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *223 + - *224 + - *57 + - *226 responses: '204': description: Response @@ -107426,7 +107973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107447,7 +107994,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -107483,7 +108030,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -107505,7 +108052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107522,11 +108069,11 @@ paths: application/json: schema: type: array - items: *233 + items: *238 examples: - default: *234 + default: *239 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107546,18 +108093,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *235 - - *62 + - *240 + - *57 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *234 + default: *239 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107577,8 +108124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *235 - - *62 + - *240 + - *57 - *17 - *38 - *39 @@ -107589,11 +108136,11 @@ paths: application/json: schema: type: array - items: *236 + items: *241 examples: - default: *237 + default: *242 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107613,19 +108160,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *235 - - *667 - - *62 + - *240 + - *669 + - *57 responses: '200': description: Response content: application/json: - schema: *236 + schema: *241 examples: - default: *237 + default: *242 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107646,8 +108193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *235 - - *62 + - *240 + - *57 - *38 - *39 - *17 @@ -107659,17 +108206,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -107677,11 +108226,11 @@ paths: application/json: schema: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,8 +108249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 - - *235 + - *57 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -107738,10 +108287,10 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: - issue: *241 - pull_request: *241 + issue: *246 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -107761,31 +108310,33 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *235 - - *62 - - *244 + - *240 + - *57 + - *249 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *243 + default: *248 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107804,9 +108355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *240 + - *57 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107879,13 +108430,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *247 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -107905,9 +108456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *240 + - *57 + - *249 responses: '204': description: Response @@ -107934,7 +108485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107944,7 +108495,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108019,7 +108570,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *62 + - *57 - name: type description: Limit results to repositories of the specified type. in: query @@ -108125,11 +108676,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108702,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108732,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *671 + schema: *673 examples: - default: *672 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108749,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -108206,12 +108760,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 - - *101 - - *673 - - *102 - - *674 + - *57 + - *99 - *675 + - *100 + - *676 + - *677 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108818,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -108318,8 +108872,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108895,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108923,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 - - *101 - - *678 - - *102 - - *679 + - *57 + - *99 + - *680 + - *100 + - *681 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108997,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +109016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108472,11 +109026,11 @@ paths: application/json: schema: type: array - items: *653 + items: *655 examples: - default: *654 + default: *656 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +109048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108504,11 +109058,11 @@ paths: application/json: schema: type: array - items: *655 + items: *657 examples: - default: *680 + default: *682 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +109084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *683 - *46 - *17 - *19 @@ -108543,13 +109097,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *684 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *660 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +109120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108576,11 +109130,11 @@ paths: application/json: schema: type: array - items: *131 + items: *134 examples: - default: *222 + default: *227 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +109261,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &685 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +109330,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &686 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109351,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &687 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109424,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &688 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109453,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +110337,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -109862,11 +110416,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + rule: &689 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) @@ -110089,11 +110643,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + rule: *689 sender: *4 required: - action @@ -110281,11 +110835,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + rule: *689 sender: *4 required: - action @@ -110369,7 +110923,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &691 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110988,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *134 status: type: string enum: @@ -110479,7 +111033,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *690 details_url: type: string examples: @@ -110539,7 +111093,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +111131,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 sender: *4 required: - check_run @@ -110973,11 +111527,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *691 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 sender: *4 required: - check_run @@ -111373,11 +111927,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *691 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 requested_action: description: The action requested by the user. type: object @@ -111782,11 +112336,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *691 + installation: *686 + enterprise: *685 + organization: *687 + repository: *688 sender: *4 required: - check_run @@ -112778,10 +113332,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -113466,10 +114020,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -114148,10 +114702,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -114320,7 +114874,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +115026,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &692 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: *683 - installation: *684 - organization: *685 - ref: &691 + enterprise: *685 + installation: *686 + organization: *687 + ref: &693 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: *686 + repository: *688 sender: *4 required: - action @@ -114652,7 +115206,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115447,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -114996,7 +115550,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115181,12 +115735,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -115355,7 +115909,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +116086,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -115640,7 +116194,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115820,9 +116374,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115830,7 +116384,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *688 sender: *4 required: - action @@ -115929,7 +116483,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116076,12 +116630,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *692 + enterprise: *685 + installation: *686 + organization: *687 + ref: *693 + repository: *688 sender: *4 required: - action @@ -116343,10 +116897,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -116427,18 +116981,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *687 + pusher_type: &694 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &695 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +117002,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *688 sender: *4 required: - ref @@ -116530,10 +117084,10 @@ webhooks: type: string enum: - created - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *250 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116618,9 +117172,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116697,10 +117251,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *250 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116777,10 +117331,10 @@ webhooks: type: string enum: - updated - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *250 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -116857,19 +117411,19 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *685 + installation: *686 + repository: *688 + organization: *687 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *249 + items: *254 old_property_values: type: array description: The old custom property values for the repository. - items: *249 + items: *254 required: - action - repository @@ -116945,18 +117499,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *685 + installation: *686 + organization: *687 + pusher_type: *694 + ref: *695 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *688 sender: *4 required: - ref @@ -117040,11 +117594,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117128,11 +117682,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117216,11 +117770,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117302,11 +117856,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117388,11 +117942,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117475,11 +118029,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117561,11 +118115,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *686 + organization: *687 + enterprise: *685 + repository: *688 sender: *4 required: - action @@ -117642,9 +118196,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *685 + installation: *686 + key: &696 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +118236,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -117760,11 +118314,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + key: *696 + organization: *687 + repository: *688 sender: *4 required: - action @@ -118336,12 +118890,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: &698 + workflow: &700 title: Workflow type: - object @@ -119079,13 +119633,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *462 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *542 + repository: *688 + organization: *687 + installation: *686 sender: *4 responses: '200': @@ -119156,7 +119710,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &697 type: object properties: avatar_url: @@ -119199,11 +119753,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + reviewers: &698 type: array items: type: object @@ -119284,7 +119838,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &699 type: object properties: conclusion: @@ -120030,18 +120584,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *697 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + reviewers: *698 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *699 workflow_job_runs: type: array items: @@ -120758,13 +121312,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *685 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *686 + organization: *687 + repository: *688 + requestor: &705 title: User type: - object @@ -122707,12 +123261,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123957,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &703 type: object properties: author_association: @@ -123563,11 +124117,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -123694,11 +124248,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -123781,11 +124335,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -123867,7 +124421,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &702 type: object properties: author_association: @@ -124027,11 +124581,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124114,12 +124668,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *702 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124214,12 +124768,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *702 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124303,11 +124857,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124389,11 +124943,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124493,11 +125047,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124579,10 +125133,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *701 + enterprise: *685 + installation: *686 + label: &704 title: Label type: object properties: @@ -124615,8 +125169,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124699,11 +125253,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124785,11 +125339,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124871,11 +125425,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -124960,16 +125514,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *701 + new_repository: *688 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125052,10 +125606,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *701 + old_answer: *703 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125137,12 +125691,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125225,11 +125779,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125311,11 +125865,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *701 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -125388,7 +125942,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *685 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126620,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - forkee @@ -126214,9 +126768,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pages: description: The pages that were updated. type: array @@ -126254,7 +126808,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *688 sender: *4 required: - pages @@ -126330,10 +126884,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: &704 + organization: *687 + repositories: &706 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126913,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *688 + requester: *705 sender: *4 required: - action @@ -126435,11 +126989,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -126516,11 +127070,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -126597,10 +127151,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories_added: &705 + organization: *687 + repositories_added: &707 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +127200,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *688 + repository_selection: &708 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *705 sender: *4 required: - action @@ -126733,10 +127287,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories_added: *705 + organization: *687 + repositories_added: *707 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +127317,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *688 + repository_selection: *708 + requester: *705 sender: *4 required: - action @@ -126844,11 +127398,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -127030,10 +127584,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 target_type: type: string @@ -127112,11 +127666,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *685 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *687 + repositories: *706 + repository: *688 requester: type: - 'null' @@ -127364,8 +127918,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128736,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128200,7 +128754,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -128544,8 +129098,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -128625,7 +129179,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &709 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +129346,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +130160,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129624,7 +130178,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -129970,8 +130524,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -130051,7 +130605,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &733 description: The changes to the comment. type: object properties: @@ -130063,9 +130617,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *709 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131435,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130899,7 +131453,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -131243,8 +131797,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131328,15 +131882,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131424,15 +131978,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131519,15 +132073,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131615,15 +132169,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -131708,10 +132262,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *705 + enterprise: *685 + installation: *686 + issue: &712 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +133077,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132544,7 +133098,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -132647,8 +133201,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -132728,8 +133282,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +134100,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133567,7 +134121,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -133813,8 +134367,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -133893,8 +134447,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +135256,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134723,7 +135277,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -134825,8 +135379,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -134905,8 +135459,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +136291,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135758,7 +136312,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -135839,7 +136393,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &710 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136536,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -136082,8 +136636,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137449,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136913,7 +137467,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *204 title: description: Title of the issue type: string @@ -137019,9 +137573,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -137101,8 +137655,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138467,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137931,7 +138485,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *204 title: description: Title of the issue type: string @@ -138037,9 +138591,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -138119,8 +138673,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139510,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138974,7 +139528,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *204 title: description: Title of the issue type: string @@ -139057,8 +139611,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -139137,8 +139691,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140522,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139989,7 +140543,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -140069,9 +140623,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -140963,11 +141517,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141617,7 @@ webhooks: required: - login - id - type: *199 + type: *204 required: - id - number @@ -141544,8 +142098,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142911,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142378,7 +142932,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -142480,8 +143034,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -142561,9 +143115,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *685 + installation: *686 + issue: &711 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143923,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143390,7 +143944,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -143492,8 +144046,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -143572,8 +144126,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144961,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144508,9 +145062,9 @@ webhooks: format: uri user_view_type: type: string - type: *199 - organization: *685 - repository: *686 + type: *204 + organization: *687 + repository: *688 sender: *4 required: - action @@ -145399,11 +145953,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145420,7 +145974,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -146002,11 +146556,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *711 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146086,12 +146640,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + type: *204 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146172,7 +146726,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &736 title: User type: - object @@ -146244,11 +146798,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146327,12 +146881,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -146412,8 +146966,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147801,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *620 + issue_dependencies_summary: *621 issue_field_values: type: array - items: *619 + items: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147268,7 +147822,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *204 updated_at: type: string format: date-time @@ -147348,8 +147902,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147429,11 +147983,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *711 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147512,12 +148066,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + issue: *712 + type: *204 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147597,11 +148151,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147679,11 +148233,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147793,11 +148347,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + label: *704 + organization: *687 + repository: *688 sender: *4 required: - action @@ -147879,9 +148433,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *685 + installation: *686 + marketplace_purchase: &713 title: Marketplace Purchase type: object required: @@ -147969,8 +148523,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *687 + previous_marketplace_purchase: &714 title: Marketplace Purchase type: object properties: @@ -148054,7 +148608,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *688 sender: *4 required: - action @@ -148134,10 +148688,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *685 + installation: *686 + marketplace_purchase: *713 + organization: *687 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148779,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *688 sender: *4 required: - action @@ -148307,10 +148861,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *685 + installation: *686 + marketplace_purchase: *713 + organization: *687 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148950,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *688 sender: *4 required: - action @@ -148477,8 +149031,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +149118,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *687 + previous_marketplace_purchase: *714 + repository: *688 sender: *4 required: - action @@ -148646,12 +149200,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *685 + installation: *686 + marketplace_purchase: *713 + organization: *687 + previous_marketplace_purchase: *714 + repository: *688 sender: *4 required: - action @@ -148753,11 +149307,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 sender: *4 required: - action @@ -148859,11 +149413,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 sender: *4 required: - action @@ -148942,11 +149496,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149024,11 +149578,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149660,7 @@ webhooks: required: - login - id - team: &713 + team: &715 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149890,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + member: *705 + organization: *687 + repository: *688 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149973,7 @@ webhooks: required: - login - id - team: *713 + team: *715 required: - action - scope @@ -149501,8 +150055,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *686 + merge_group: &716 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +150075,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149615,10 +150169,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *686 + merge_group: *716 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149691,7 +150245,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *685 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150354,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *686 + organization: *687 repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -149885,11 +150439,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -149968,9 +150522,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *685 + installation: *686 + milestone: &717 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150666,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150192,11 +150746,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150306,11 +150860,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *710 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150390,11 +150944,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + milestone: *717 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150473,11 +151027,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *705 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150556,11 +151110,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *705 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150639,9 +151193,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *685 + installation: *686 + membership: &718 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +151305,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150830,11 +151384,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + membership: *718 + organization: *687 + repository: *688 sender: *4 required: - action @@ -150913,8 +151467,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151590,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 - user: *703 + user: *705 required: - action - invitation @@ -151117,11 +151671,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + membership: *718 + organization: *687 + repository: *688 sender: *4 required: - action @@ -151208,11 +151762,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + membership: *718 + organization: *687 + repository: *688 sender: *4 required: - action @@ -151288,9 +151842,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 package: description: Information about the package. type: object @@ -151813,7 +152367,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &719 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152464,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -151986,9 +152540,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 package: description: Information about the package. type: object @@ -152350,7 +152904,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *719 source_url: type: string format: uri @@ -152421,7 +152975,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -152602,12 +153156,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *685 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - id @@ -152684,7 +153238,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &720 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153388,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *685 + organization: *687 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -152914,11 +153468,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *720 + enterprise: *685 + organization: *687 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -152994,11 +153548,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *720 + enterprise: *685 + organization: *687 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -153073,11 +153627,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *720 + organization: *687 + enterprise: *685 sender: *4 - installation: *684 + installation: *686 required: - action - personal_access_token_request @@ -153182,7 +153736,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *721 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153768,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +154014,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *685 + installation: *686 + organization: *687 + project_card: &722 title: Project Card type: object properties: @@ -153586,7 +154140,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *688 sender: *4 required: - action @@ -153667,11 +154221,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_card: *722 + repository: *688 sender: *4 required: - action @@ -153751,9 +154305,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 project_card: title: Project Card type: object @@ -153883,7 +154437,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -153977,11 +154531,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_card: *722 + repository: *688 sender: *4 required: - action @@ -154075,9 +154629,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 project_card: allOf: - title: Project Card @@ -154274,7 +154828,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *688 sender: *4 required: - action @@ -154354,10 +154908,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *685 + installation: *686 + organization: *687 + project: &724 title: Project type: object properties: @@ -154484,7 +155038,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *688 sender: *4 required: - action @@ -154564,10 +155118,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *685 + installation: *686 + organization: *687 + project_column: &723 title: Project Column type: object properties: @@ -154607,7 +155161,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *688 sender: *4 required: - action @@ -154686,14 +155240,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *685 + installation: *686 + organization: *687 + project_column: *723 repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -154782,11 +155336,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_column: *723 + repository: *688 sender: *4 required: - action @@ -154866,11 +155420,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project_column: *723 + repository: *688 sender: *4 required: - action @@ -154950,11 +155504,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 + repository: *688 sender: *4 required: - action @@ -155034,14 +155588,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 repository: anyOf: - type: 'null' - - *686 + - *688 sender: *4 required: - action @@ -155142,11 +155696,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 + repository: *688 sender: *4 required: - action @@ -155225,11 +155779,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + project: *724 + repository: *688 sender: *4 required: - action @@ -155310,9 +155864,9 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155393,9 +155947,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155476,9 +156030,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155599,9 +156153,9 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -155684,7 +156238,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &728 type: object properties: archived_at: @@ -155700,9 +156254,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *686 + organization: *687 + projects_v2_item: &725 title: Projects v2 Item description: An item belonging to a project type: object @@ -155720,7 +156274,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *240 + content_type: *245 creator: *4 created_at: type: string @@ -155842,9 +156396,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -155926,9 +156480,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156009,9 +156563,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156116,7 +156670,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &726 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156694,7 @@ webhooks: required: - id - name - - &725 + - &727 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156734,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *726 + - *727 type: - 'null' - string @@ -156204,9 +156758,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156303,9 +156857,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156388,10 +156942,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *728 + installation: *686 + organization: *687 + projects_v2_item: *725 sender: *4 required: - action @@ -156473,9 +157027,9 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 - projects_v2: *233 + installation: *686 + organization: *687 + projects_v2: *238 sender: *4 required: - action @@ -156556,9 +157110,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *686 + organization: *687 + projects_v2_status_update: *729 sender: *4 required: - action @@ -156639,9 +157193,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *686 + organization: *687 + projects_v2_status_update: *729 sender: *4 required: - action @@ -156787,9 +157341,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *686 + organization: *687 + projects_v2_status_update: *729 sender: *4 required: - action @@ -156860,10 +157414,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - repository @@ -156940,13 +157494,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *705 + enterprise: *685 + installation: *686 + number: &730 description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -159295,7 +159849,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -159377,11 +159931,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -161723,7 +162277,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *688 sender: *4 required: - action @@ -161805,11 +162359,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -164151,7 +164705,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *688 sender: *4 required: - action @@ -164233,13 +164787,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: &731 allOf: - - *547 + - *542 - type: object properties: allow_auto_merge: @@ -164301,7 +164855,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *688 sender: *4 required: - action @@ -164382,12 +164936,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -164467,11 +165021,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + enterprise: *685 + milestone: *243 + number: *730 + organization: *687 + pull_request: &732 title: Pull Request type: object properties: @@ -166798,7 +167352,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -166877,11 +167431,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -169227,7 +169781,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *688 sender: *4 required: - action @@ -169351,12 +169905,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -169436,11 +169990,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -171771,7 +172325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -171851,11 +172405,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + label: *704 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -174203,7 +174757,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -174284,10 +174838,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -176633,7 +177187,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -176713,12 +177267,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + enterprise: *685 + milestone: *243 + number: *730 + organization: *687 + pull_request: *732 + repository: *688 sender: *4 required: - action @@ -176797,12 +177351,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -176883,12 +177437,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -176968,12 +177522,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 + pull_request: *731 + repository: *688 sender: *4 required: - action @@ -177348,9 +177902,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: type: object properties: @@ -179580,7 +180134,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *688 sender: *4 required: - action @@ -179660,7 +180214,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &734 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179953,9 +180507,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: type: object properties: @@ -182173,7 +182727,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *688 sender: *4 required: - action @@ -182253,11 +182807,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *733 + comment: *734 + enterprise: *685 + installation: *686 + organization: *687 pull_request: type: object properties: @@ -184478,7 +185032,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *688 sender: *4 required: - action @@ -184559,9 +185113,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -186794,7 +187348,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *688 review: description: The review that was affected. type: object @@ -187045,9 +187599,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189715,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *688 + review: &735 description: The review that was affected. type: object properties: @@ -189400,12 +189954,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -191752,7 +192306,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_reviewer: title: User type: @@ -191838,12 +192392,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -194197,7 +194751,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194946,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -196746,7 +197300,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_reviewer: title: User type: @@ -196833,12 +197387,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *685 + installation: *686 number: description: The pull request number. type: integer - organization: *685 + organization: *687 pull_request: title: Pull Request type: object @@ -199178,7 +199732,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199916,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -201600,8 +202154,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *688 + review: *735 sender: *4 required: - action @@ -201681,9 +202235,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204368,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *688 sender: *4 thread: type: object @@ -204211,9 +204765,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206881,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *688 sender: *4 thread: type: object @@ -206726,10 +207280,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -209064,7 +209618,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -209146,11 +209700,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *736 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -211500,7 +212054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -211579,11 +212133,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + label: *704 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -213922,7 +214476,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -214003,10 +214557,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *685 + installation: *686 + number: *730 + organization: *687 pull_request: title: Pull Request type: object @@ -216335,7 +216889,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *688 sender: *4 required: - action @@ -216538,7 +217092,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *685 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +217187,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *686 + organization: *687 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217776,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 registry_package: type: object properties: @@ -217701,7 +218255,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *719 summary: type: string tag_name: @@ -217757,7 +218311,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -217835,9 +218389,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 registry_package: type: object properties: @@ -218149,7 +218703,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *719 summary: type: string tag_name: @@ -218199,7 +218753,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *688 sender: *4 required: - action @@ -218276,10 +218830,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *685 + installation: *686 + organization: *687 + release: &737 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +219164,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *688 sender: *4 required: - action @@ -218687,11 +219241,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *737 + repository: *688 sender: *4 required: - action @@ -218808,11 +219362,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *737 + repository: *688 sender: *4 required: - action @@ -218890,9 +219444,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219782,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *688 sender: *4 required: - action @@ -219304,10 +219858,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *685 + installation: *686 + organization: *687 + release: &738 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +220194,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *688 sender: *4 required: - action @@ -219716,11 +220270,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *737 + repository: *688 sender: *4 required: - action @@ -219796,11 +220350,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + release: *738 + repository: *688 sender: *4 required: - action @@ -219876,11 +220430,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_advisory: *606 sender: *4 required: - action @@ -219956,11 +220510,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_advisory: *606 sender: *4 required: - action @@ -220036,10 +220590,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220116,10 +220670,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220197,10 +220751,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220285,10 +220839,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220403,10 +220957,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220478,10 +221032,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 status: type: string @@ -220562,10 +221116,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220642,10 +221196,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220739,10 +221293,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -220822,11 +221376,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_ruleset: *281 sender: *4 required: - action @@ -220904,11 +221458,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_ruleset: *281 sender: *4 required: - action @@ -220986,11 +221540,11 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + repository_ruleset: *281 changes: type: object properties: @@ -221009,16 +221563,16 @@ webhooks: properties: added: type: array - items: *251 + items: *256 deleted: type: array - items: *251 + items: *256 updated: type: array items: type: object properties: - condition: *251 + condition: *256 changes: type: object properties: @@ -221051,16 +221605,16 @@ webhooks: properties: added: type: array - items: *568 + items: *563 deleted: type: array - items: *568 + items: *563 updated: type: array items: type: object properties: - rule: *568 + rule: *563 changes: type: object properties: @@ -221297,10 +221851,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221378,10 +221932,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221459,7 +222013,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &739 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +222137,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221796,10 +222350,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -221877,11 +222431,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *739 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222083,10 +222637,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222164,17 +222718,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &740 type: object properties: - number: *52 - created_at: *53 + number: *150 + created_at: *151 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *152 + url: *153 + html_url: *154 locations_url: type: string format: uri @@ -222278,10 +222832,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222362,11 +222916,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *740 + installation: *686 + location: *741 + organization: *687 + repository: *688 sender: *4 required: - location @@ -222604,11 +223158,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222686,11 +223240,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222768,11 +223322,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222850,11 +223404,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -222984,10 +223538,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *688 + enterprise: *685 + installation: *686 + organization: *687 sender: *4 required: - action @@ -223065,11 +223619,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + security_advisory: &742 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223809,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 + security_advisory: *742 sender: *4 required: - action @@ -223332,10 +223886,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223521,11 +224075,11 @@ webhooks: from: type: object properties: - security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + security_and_analysis: *255 + enterprise: *685 + installation: *686 + organization: *687 + repository: *317 sender: *4 required: - changes @@ -223603,12 +224157,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: &741 + sponsorship: &743 type: object properties: created_at: @@ -223913,12 +224467,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - sponsorship @@ -224006,12 +224560,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - changes @@ -224088,17 +224642,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &744 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: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - sponsorship @@ -224172,7 +224726,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &745 type: object properties: tier: @@ -224216,13 +224770,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *744 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - changes @@ -224299,13 +224853,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *745 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - sponsorship: *741 + sponsorship: *743 required: - action - changes @@ -224379,10 +224933,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +225020,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225457,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *685 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *686 name: type: string - organization: *685 - repository: *686 + organization: *687 + repository: *688 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225575,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225113,15 +225667,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225205,15 +225759,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225297,15 +225851,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -225382,12 +225936,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - team: &744 + team: &746 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +226171,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -226089,7 +226643,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -226165,9 +226719,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -226637,7 +227191,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -226714,9 +227268,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -227186,7 +227740,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -227330,9 +227884,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -227802,7 +228356,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - changes @@ -227880,9 +228434,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *685 + installation: *686 + organization: *687 repository: title: Repository description: A git repository @@ -228352,7 +228906,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *746 required: - action - team @@ -228428,10 +228982,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 required: - action @@ -228504,17 +229058,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *685 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *686 + organization: *687 ref: type: string - repository: *686 + repository: *688 sender: *4 workflow: type: string @@ -228596,10 +229150,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: allOf: @@ -228855,7 +229409,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *462 required: - action - repository @@ -228934,10 +229488,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: allOf: @@ -229219,7 +229773,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *462 required: - action - repository @@ -229298,10 +229852,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: type: object @@ -229447,7 +230001,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229526,10 +230080,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 workflow_job: type: object @@ -229676,7 +230230,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229756,12 +230310,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Workflow Run type: object @@ -230780,12 +231334,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Workflow Run type: object @@ -231789,12 +232343,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *685 + installation: *686 + organization: *687 + repository: *688 sender: *4 - workflow: *698 + workflow: *700 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 8d97d0fbd..f8a5dffb3 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -19279,6 +19283,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -19409,6 +19420,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -19549,6 +19564,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -19569,6 +19591,11 @@ "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean", "default": false + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -19665,6 +19692,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -19795,6 +19829,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -19850,17 +19888,17 @@ } } }, - "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": { "get": { - "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", - "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-github-owned-images-for-enterprise", + "summary": "List custom images for an enterprise", + "description": "List custom images for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], + "operationId": "actions/list-custom-images-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise" }, "parameters": [ { @@ -19891,15 +19929,15 @@ "images": { "type": "array", "items": { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", "type": "object", "properties": { "id": { "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", + "type": "integer", "examples": [ - "ubuntu-20.04" + 1 ] }, "platform": { @@ -19909,36 +19947,58 @@ "linux-x64" ] }, - "size_gb": { - "description": "Image size in GB.", + "total_versions_size": { + "description": "Total size of all the image versions in GB.", "type": "integer", "examples": [ - 86 + 200 ] }, - "display_name": { + "name": { "description": "Display name for this image.", "type": "string", "examples": [ - 20.04 + "CustomImage" ] }, "source": { "description": "The image provider.", "type": "string", - "enum": [ - "github", - "partner", + "examples": [ "custom" ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] } }, "required": [ "id", "platform", - "size_gb", - "display_name", - "source" + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" ] } } @@ -19947,11 +20007,157 @@ "examples": { "default": { "value": { - "id": "ubuntu-20.04", + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get an enterprise custom image definition for GitHub Actions Hosted Runners", + "description": "Get an enterprise custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, "platform": "linux-x64", - "size_gb": 86, - "display_name": "20.04", - "source": "github" + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" } } } @@ -19965,21 +20171,73 @@ "category": "actions", "subcategory": "hosted-runners" } + }, + "delete": { + "summary": "Delete a custom image from the enterprise", + "description": "Delete a custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } } }, - "/enterprises/{enterprise}/actions/hosted-runners/images/partner": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { "get": { - "summary": "Get partner images for GitHub-hosted runners in an enterprise", - "description": "Get the list of partner images available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-partner-images-for-enterprise", + "summary": "List image versions of a custom image for an enterprise", + "description": "List image versions of a custom image for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], + "operationId": "actions/list-custom-image-versions-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise" }, "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "enterprise", "description": "The slug version of the enterprise name.", @@ -19999,63 +20257,61 @@ "type": "object", "required": [ "total_count", - "images" + "image_versions" ], "properties": { "total_count": { "type": "integer" }, - "images": { + "image_versions": { "type": "array", "items": { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", "type": "object", "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "version": { + "description": "The version of image.", "type": "string", "examples": [ - "ubuntu-20.04" + "1.0.0" ] }, - "platform": { - "description": "The operating system of the image.", + "state": { + "description": "The state of image version.", "type": "string", "examples": [ - "linux-x64" + "Ready" ] }, "size_gb": { - "description": "Image size in GB.", + "description": "Image version size in GB.", "type": "integer", "examples": [ - 86 + 30 ] }, - "display_name": { - "description": "Display name for this image.", + "created_on": { + "description": "The creation date time of the image version.", "type": "string", "examples": [ - 20.04 + "2024-11-09T23:39:01Z" ] }, - "source": { - "description": "The image provider.", + "state_details": { + "description": "The image version status details.", "type": "string", - "enum": [ - "github", - "partner", - "custom" + "examples": [ + "None" ] } }, "required": [ - "id", - "platform", + "version", + "state", "size_gb", - "display_name", - "source" + "created_on", + "state_details" ] } } @@ -20064,11 +20320,21 @@ "examples": { "default": { "value": { - "id": "ubuntu-20.04", - "platform": "linux-x64", - "size_gb": 86, - "display_name": "20.04", - "source": "github" + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] } } } @@ -20084,17 +20350,17 @@ } } }, - "/enterprises/{enterprise}/actions/hosted-runners/limits": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { "get": { - "summary": "Get limits on GitHub-hosted runners for an enterprise", - "description": "Get the GitHub-hosted runners limits for an enterprise.", + "summary": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], - "operationId": "actions/get-hosted-runners-limits-for-enterprise", + "operationId": "actions/get-custom-image-version-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners" }, "parameters": [ { @@ -20105,6 +20371,25 @@ "schema": { "type": "string" } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } } ], "responses": { @@ -20113,45 +20398,61 @@ "content": { "application/json": { "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", "type": "object", "properties": { - "public_ips": { - "title": "Static public IP Limits for GitHub-hosted Hosted Runners.", - "description": "Provides details of static public IP limits for GitHub-hosted Hosted Runners", - "type": "object", - "properties": { - "maximum": { - "type": "integer", - "description": "The maximum number of static public IP addresses that can be used for Hosted Runners.", - "examples": [ - 50 - ] - }, - "current_usage": { - "type": "integer", - "description": "The current number of static public IP addresses in use by Hosted Runners.", - "examples": [ - 17 - ] - } - }, - "required": [ - "maximum", - "current_usage" + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" ] } }, "required": [ - "public_ips" + "version", + "state", + "size_gb", + "created_on", + "state_details" ] }, "examples": { "default": { "value": { - "public_ips": { - "current_usage": 17, - "maximum": 50 - } + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" } } } @@ -20165,19 +20466,389 @@ "category": "actions", "subcategory": "hosted-runners" } + }, + "delete": { + "summary": "Delete an image version of custom image from the enterprise", + "description": "Delete an image version of custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } } }, - "/enterprises/{enterprise}/actions/hosted-runners/machine-sizes": { + "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { "get": { - "summary": "Get GitHub-hosted runners machine specs for an enterprise", - "description": "Get the list of machine specs available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-machine-specs-for-enterprise", + "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", + "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-github-owned-images-for-enterprise", "tags": [ "actions" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + } + }, + "required": [ + "id", + "platform", + "size_gb", + "display_name", + "source" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "id": "ubuntu-20.04", + "platform": "linux-x64", + "size_gb": 86, + "display_name": "20.04", + "source": "github" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/partner": { + "get": { + "summary": "Get partner images for GitHub-hosted runners in an enterprise", + "description": "Get the list of partner images available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-partner-images-for-enterprise", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + } + }, + "required": [ + "id", + "platform", + "size_gb", + "display_name", + "source" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "id": "ubuntu-20.04", + "platform": "linux-x64", + "size_gb": 86, + "display_name": "20.04", + "source": "github" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/limits": { + "get": { + "summary": "Get limits on GitHub-hosted runners for an enterprise", + "description": "Get the GitHub-hosted runners limits for an enterprise.", + "tags": [ + "actions" + ], + "operationId": "actions/get-hosted-runners-limits-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "public_ips": { + "title": "Static public IP Limits for GitHub-hosted Hosted Runners.", + "description": "Provides details of static public IP limits for GitHub-hosted Hosted Runners", + "type": "object", + "properties": { + "maximum": { + "type": "integer", + "description": "The maximum number of static public IP addresses that can be used for Hosted Runners.", + "examples": [ + 50 + ] + }, + "current_usage": { + "type": "integer", + "description": "The current number of static public IP addresses in use by Hosted Runners.", + "examples": [ + 17 + ] + } + }, + "required": [ + "maximum", + "current_usage" + ] + } + }, + "required": [ + "public_ips" + ] + }, + "examples": { + "default": { + "value": { + "public_ips": { + "current_usage": 17, + "maximum": 50 + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/machine-sizes": { + "get": { + "summary": "Get GitHub-hosted runners machine specs for an enterprise", + "description": "Get the list of machine specs available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-machine-specs-for-enterprise", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" }, "parameters": [ { @@ -20444,6 +21115,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -20574,6 +21252,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -20689,6 +21371,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -20775,6 +21464,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -20905,6 +21601,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -21060,6 +21760,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -21190,6 +21897,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -45110,6 +45821,658 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -45251,29 +46614,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -59938,7 +61278,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +62308,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -62886,7 +64239,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -63069,7 +64422,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -63077,7 +64430,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -63085,7 +64438,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -64617,6 +65970,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -65871,8 +67234,803 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -65881,36 +68039,23 @@ } ], "responses": { - "201": { - "description": "Successfully added team member", + "200": { + "description": "The team is assigned to the organization", "content": { "application/json": { "schema": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, "login": { "type": "string", "examples": [ - "octocat" + "github" ] }, "id": { "type": "integer", - "format": "int64", "examples": [ 1 ] @@ -65918,162 +68063,276 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEyOk9yZ2FuaXphdGlvbjE=" ] }, - "avatar_url": { + "url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://api.github.com/orgs/github" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "repos_url": { + "type": "string", + "format": "uri", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "https://api.github.com/orgs/github/repos" ] }, - "url": { + "events_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/orgs/github/events" ] }, - "html_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "https://api.github.com/orgs/github/hooks" ] }, - "followers_url": { + "issues_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "https://api.github.com/orgs/github/issues" ] }, - "following_url": { + "members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "https://api.github.com/orgs/github/members{/member}" ] }, - "gists_url": { + "public_members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "starred_url": { + "avatar_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "https://github.com/images/error/octocat_happy.gif" ] }, - "subscriptions_url": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "github" ] }, - "organizations_url": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "https://api.github.com/orgs/github" ] }, "repos_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "https://api.github.com/orgs/github/repos" ] }, "events_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/orgs/github/events" ] }, - "received_events_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "https://api.github.com/orgs/github/hooks" ] }, - "type": { + "issues_url": { "type": "string", "examples": [ - "User" + "https://api.github.com/orgs/github/issues" ] }, - "site_admin": { - "type": "boolean" + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] }, - "starred_at": { + "public_members_url": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "user_view_type": { + "avatar_url": { "type": "string", "examples": [ - "public" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" ] } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", + "login", + "url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" ] }, "examples": { - "exampleKey1": { + "default": { "value": { - "login": "octocat", + "login": "github", "id": 1, - "node_id": "MDQ6VXNlcjE=", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "description": "A great organization" } } } @@ -66085,19 +68344,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } }, "delete": { - "summary": "Remove team membership", - "description": "Remove membership of a specific user from a particular team in an enterprise.", + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", "tags": [ - "enterprise-team-memberships" + "enterprise-team-organizations" ], - "operationId": "enterprise-team-memberships/remove", + "operationId": "enterprise-team-organizations/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" }, "parameters": [ { @@ -66119,8 +68378,8 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -66130,40 +68389,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "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" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -66413,6 +68646,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114540,7 +116783,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +116927,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -114692,7 +116935,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -114700,7 +116943,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -117275,6 +119518,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -117405,6 +119655,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -117545,6 +119799,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -117563,6 +119824,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -117660,6 +119926,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -117790,6 +120063,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -117845,6 +120122,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -118439,6 +121349,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -118569,6 +121486,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -118684,6 +121605,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -118770,6 +121698,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -118900,291 +122131,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -125175,6 +128125,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -125305,6 +128262,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -135677,6 +138638,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "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": "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +161228,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -217689,17 +220731,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -226675,17 +229721,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -405202,16 +408252,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -405239,29 +408279,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -631363,7 +634380,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -805632,17 +808649,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -814591,17 +817612,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -843270,7 +846295,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -843401,7 +846426,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -843409,7 +846434,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -843417,7 +846442,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f0616924a..9956be8a3 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -446,7 +448,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &97 + - &102 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 results before this cursor. For @@ -455,7 +457,7 @@ paths: required: false schema: type: string - - &98 + - &103 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 results after this cursor. For @@ -464,7 +466,7 @@ paths: required: false schema: type: string - - &99 + - &104 name: direction description: The direction to sort the results by. in: query @@ -703,7 +705,7 @@ paths: required: - vector_string - score - cvss_severities: &111 + cvss_severities: &121 type: - object - 'null' @@ -750,7 +752,7 @@ paths: required: - vector_string - score - epss: &112 + epss: &122 type: - object - 'null' @@ -913,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &397 + type: &409 type: string description: The type of credit the user is receiving. enum: @@ -1046,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &224 + schema: &236 title: Validation Error Simple description: Validation Error Simple type: object @@ -1079,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &713 + - &725 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &309 + - &321 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 @@ -1680,7 +1682,7 @@ paths: application/json: schema: type: array - items: &310 + items: &322 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &311 + default: &323 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &723 + schema: &735 title: Scim Error description: Scim Error type: object @@ -1839,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &223 + schema: &235 title: Validation Error description: Validation Error type: object @@ -1911,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &324 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2048,7 @@ paths: - request - response examples: - default: &313 + default: &325 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &200 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) @@ -2858,7 +2860,7 @@ paths: application/json: schema: *20 examples: - default: &77 + default: &82 value: id: 1 account: @@ -3009,7 +3011,7 @@ paths: - selected repositories: type: array - items: &67 + items: &72 title: Repository description: A repository on GitHub. type: object @@ -3036,7 +3038,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &197 title: License Simple description: License Simple type: object @@ -7785,7 +7787,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &237 type: object properties: total_active_caches_count: @@ -7800,7 +7802,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &238 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7895,12 +7897,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &45 + machine_size_details: &50 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7996,6 +8004,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -8005,7 +8017,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &239 value: total_count: 2 runners: @@ -8094,6 +8106,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -8113,6 +8131,11 @@ paths: `GET actions/hosted-runners/limits` type: boolean default: false + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -8135,7 +8158,7 @@ paths: application/json: schema: *42 examples: - default: &46 + default: &51 value: id: 5 name: My hosted ubuntu runner @@ -8162,6 +8185,322 @@ paths: githubCloudOnly: true category: actions subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an enterprise + description: |- + List custom images for an enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &43 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &45 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get an enterprise custom image definition for GitHub Actions Hosted + Runners + description: |- + Get an enterprise custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *39 + - &44 + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *43 + examples: + default: &240 + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the enterprise + description: |- + Delete a custom image from the enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise + parameters: + - *39 + - *44 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an enterprise + description: |- + List image versions of a custom image for an enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise + parameters: + - *44 + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &46 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *45 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of an enterprise custom image for GitHub Actions + Hosted Runners + description: |- + Get an image version of an enterprise custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners + parameters: + - *39 + - *44 + - &47 + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" + responses: + '200': + description: Response + content: + application/json: + schema: *46 + examples: + default: &241 + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the enterprise + description: |- + Delete an image version of custom image from the enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise + parameters: + - *39 + - *44 + - *47 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an enterprise @@ -8190,7 +8529,7 @@ paths: type: integer images: type: array - items: &43 + items: &48 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8230,7 +8569,7 @@ paths: - display_name - source examples: - default: &44 + default: &49 value: id: ubuntu-20.04 platform: linux-x64 @@ -8270,9 +8609,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8295,7 +8634,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &242 type: object properties: public_ips: @@ -8322,7 +8661,7 @@ paths: required: - public_ips examples: - default: &229 + default: &243 value: public_ips: current_usage: 17 @@ -8360,9 +8699,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *50 examples: - default: &230 + default: &244 value: id: 4-core cpu_cores: 4 @@ -8430,7 +8769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - &47 + - &52 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8444,7 +8783,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 headers: Link: *41 x-github: @@ -8465,7 +8804,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *47 + - *52 requestBody: required: true content: @@ -8491,6 +8830,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -8505,7 +8850,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8522,7 +8867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *47 + - *52 responses: '202': description: Response @@ -8530,7 +8875,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8599,7 +8944,7 @@ paths: schema: type: object properties: - enabled_organizations: &48 + enabled_organizations: &53 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8612,7 +8957,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &49 + allowed_actions: &54 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8620,12 +8965,12 @@ paths: - all - local_only - selected - selected_actions_url: &233 + selected_actions_url: &247 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: &50 + sha_pinning_required: &55 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8667,9 +9012,9 @@ paths: schema: type: object properties: - enabled_organizations: *48 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_organizations: *53 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled_organizations examples: @@ -8700,7 +9045,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &249 type: object properties: days: @@ -8718,7 +9063,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &724 + '401': &736 description: Authorization failure '404': *6 x-github: @@ -8746,7 +9091,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &250 type: object properties: days: @@ -8781,7 +9126,7 @@ paths: description: Response content: application/json: - schema: &51 + schema: &56 type: object properties: approval_policy: @@ -8795,7 +9140,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &251 value: approval_policy: first_time_contributors '404': *6 @@ -8824,7 +9169,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -8853,7 +9198,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &252 type: object required: - run_workflows_from_fork_pull_requests @@ -8879,7 +9224,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &52 + default: &57 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8907,7 +9252,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &253 type: object required: - run_workflows_from_fork_pull_requests @@ -8930,7 +9275,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -8970,7 +9315,7 @@ paths: type: number organizations: type: array - items: &62 + items: &67 title: Organization Simple description: A GitHub organization. type: object @@ -9045,7 +9390,7 @@ paths: - total_count - organizations examples: - default: &63 + default: &68 value: total_count: 1 organizations: @@ -9124,7 +9469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - &53 + - &58 name: org_id description: The unique identifier of the organization. in: path @@ -9153,7 +9498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - *53 + - *58 responses: '204': description: Response @@ -9182,7 +9527,7 @@ paths: description: Response content: application/json: - schema: &54 + schema: &59 type: object properties: github_owned_allowed: @@ -9203,7 +9548,7 @@ paths: items: type: string examples: - default: &55 + default: &60 value: github_owned_allowed: true verified_allowed: false @@ -9236,9 +9581,9 @@ paths: required: true content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9343,17 +9688,17 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &256 type: object properties: - default_workflow_permissions: &56 + default_workflow_permissions: &61 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &57 + can_approve_pull_request_reviews: &62 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9361,7 +9706,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &58 + default: &63 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9391,13 +9736,13 @@ paths: required: true content: application/json: - schema: &243 + schema: &257 type: object properties: - default_workflow_permissions: *56 - can_approve_pull_request_reviews: *57 + default_workflow_permissions: *61 + can_approve_pull_request_reviews: *62 examples: - default: *58 + default: *63 responses: '204': description: Success response @@ -9442,7 +9787,7 @@ paths: type: number runner_groups: type: array - items: &59 + items: &64 type: object properties: id: @@ -9623,9 +9968,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: - default: &60 + default: &65 value: id: 2 name: octo-runner-group @@ -9660,7 +10005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - &61 + - &66 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9672,9 +10017,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: - default: *60 + default: *65 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9694,7 +10039,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: false content: @@ -9748,7 +10093,7 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: default: value: @@ -9784,7 +10129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - *39 - - *61 + - *66 responses: '204': description: Response @@ -9808,7 +10153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 + - *66 - *17 - *19 responses: @@ -9823,12 +10168,12 @@ paths: type: number organizations: type: array - items: *62 + items: *67 required: - total_count - organizations examples: - default: *63 + default: *68 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9848,7 +10193,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: true content: @@ -9894,8 +10239,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 - - *53 + - *66 + - *58 responses: '204': description: Response @@ -9918,8 +10263,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 - - *53 + - *66 + - *58 responses: '204': description: Response @@ -9943,7 +10288,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *61 + - *66 - *17 - *19 responses: @@ -9958,7 +10303,7 @@ paths: type: number runners: type: array - items: &65 + items: &70 title: Self hosted runners description: A self hosted runner type: object @@ -9992,7 +10337,7 @@ paths: type: boolean labels: type: array - items: &69 + items: &74 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -10025,7 +10370,7 @@ paths: - total_count - runners examples: - default: &66 + default: &71 value: total_count: 2 runners: @@ -10085,7 +10430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: true content: @@ -10130,8 +10475,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - *39 - - *61 - - &64 + - *66 + - &69 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -10160,8 +10505,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - *39 - - *61 - - *64 + - *66 + - *69 responses: '204': description: Response @@ -10204,9 +10549,9 @@ paths: type: number runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -10236,7 +10581,7 @@ paths: application/json: schema: type: array - items: &247 + items: &261 title: Runner Application description: Runner Application type: object @@ -10261,7 +10606,7 @@ paths: - download_url - filename examples: - default: &248 + default: &262 value: - os: osx architecture: x64 @@ -10345,7 +10690,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &263 description: Response content: application/json: @@ -10355,7 +10700,7 @@ paths: - runner - encoded_jit_config properties: - runner: *65 + runner: *70 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10384,7 +10729,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &107 + '409': &112 description: Conflict content: application/json: @@ -10422,7 +10767,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &73 title: Authentication Token description: Authentication Token type: object @@ -10446,7 +10791,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *72 single_file: type: - string @@ -10464,7 +10809,7 @@ paths: - token - expires_at examples: - default: &250 + default: &264 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10502,9 +10847,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: &251 + default: &265 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10528,15 +10873,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: &252 + default: &266 value: id: 23 name: MBP @@ -10576,7 +10921,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *39 - - *64 + - *69 responses: '204': description: Response @@ -10601,9 +10946,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: - '200': &70 + '200': &75 description: Response content: application/json: @@ -10617,7 +10962,7 @@ paths: type: integer labels: type: array - items: *69 + items: *74 examples: default: value: @@ -10655,7 +11000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 requestBody: required: true content: @@ -10679,7 +11024,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10702,7 +11047,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 requestBody: required: true content: @@ -10727,7 +11072,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10750,9 +11095,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: - '200': &253 + '200': &267 description: Response content: application/json: @@ -10766,7 +11111,7 @@ paths: type: integer labels: type: array - items: *69 + items: *74 examples: default: value: @@ -10807,8 +11152,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 - - &254 + - *69 + - &268 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10816,7 +11161,7 @@ paths: schema: type: string responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10841,13 +11186,13 @@ paths: description: Response content: application/json: - schema: &75 + schema: &80 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &71 + announcement: &76 type: - string - 'null' @@ -10856,7 +11201,7 @@ paths: writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." examples: - Very **important** announcement about _something_. - expires_at: &72 + expires_at: &77 type: - string - 'null' @@ -10868,7 +11213,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &73 + user_dismissible: &78 type: - boolean - 'null' @@ -10881,7 +11226,7 @@ paths: - expires_at - user_dismissible examples: - default: &74 + default: &79 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10905,18 +11250,18 @@ paths: required: true content: application/json: - schema: &261 + schema: &275 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *71 - expires_at: *72 - user_dismissible: *73 + announcement: *76 + expires_at: *77 + user_dismissible: *78 required: - announcement examples: - default: *74 + default: *79 parameters: - *39 responses: @@ -10924,9 +11269,9 @@ paths: description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11025,7 +11370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *39 - - &76 + - &81 name: org description: The organization name. The name is not case sensitive. in: path @@ -11042,7 +11387,7 @@ paths: application/json: schema: type: array - items: &78 + items: &83 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -11096,7 +11441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 - *17 - *19 responses: @@ -11195,7 +11540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 responses: '200': description: A GitHub App installation that was installed previously. @@ -11203,14 +11548,14 @@ paths: application/json: schema: *20 examples: - default: *77 + default: *82 '201': description: A GitHub App installation. content: application/json: schema: *20 examples: - default: *77 + default: *82 requestBody: required: true content: @@ -11278,7 +11623,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 - *21 responses: '204': @@ -11306,7 +11651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - *39 - - *76 + - *81 - *21 - *17 - *19 @@ -11318,7 +11663,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11347,7 +11692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - *39 - - *76 + - *81 - *21 requestBody: required: true @@ -11387,7 +11732,7 @@ paths: application/json: schema: *20 examples: - default: *77 + default: *82 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11408,7 +11753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *39 - - *76 + - *81 - *21 responses: '200': @@ -11418,7 +11763,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11469,7 +11814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *39 - - *76 + - *81 - *21 responses: '200': @@ -11479,7 +11824,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11556,7 +11901,7 @@ paths: required: false schema: type: string - - &262 + - &276 name: include description: |- The event types to include: @@ -11574,7 +11919,7 @@ paths: - web - git - all - - &263 + - &277 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. @@ -11582,7 +11927,7 @@ paths: required: false schema: type: string - - &264 + - &278 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. @@ -11590,7 +11935,7 @@ paths: required: false schema: type: string - - &265 + - &279 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11612,7 +11957,7 @@ paths: application/json: schema: type: array - items: &266 + items: &280 type: object properties: "@timestamp": @@ -11734,7 +12079,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &281 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11914,7 +12259,7 @@ paths: vendor_specific: type: object oneOf: - - &82 + - &87 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11933,7 +12278,7 @@ paths: - key_id - encrypted_sas_url - container - - &83 + - &88 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11952,7 +12297,7 @@ paths: - name - encrypted_connstring - key_id - - &84 + - &89 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11980,7 +12325,7 @@ paths: - bucket - key_id - region - - &85 + - &90 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -12014,7 +12359,7 @@ paths: - encrypted_secret_key - key_id - region - - &86 + - &91 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -12042,7 +12387,7 @@ paths: - key_id - port - ssl_verify - - &87 + - &92 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -12074,7 +12419,7 @@ paths: - key_id - port - ssl_verify - - &88 + - &93 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -12092,7 +12437,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &89 + - &94 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -12123,7 +12468,7 @@ paths: - stream_type - vendor_specific examples: - default: &90 + default: &95 value: enabled: false stream_type: Azure Event Hubs @@ -12137,7 +12482,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &79 + schema: &84 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -12169,7 +12514,7 @@ paths: - created_at - updated_at examples: - default: &80 + default: &85 value: id: 1 stream_type: Splunk @@ -12198,7 +12543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *39 - - &81 + - &86 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -12210,9 +12555,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *79 + schema: *84 examples: - default: *80 + default: *85 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -12232,7 +12577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *39 - - *81 + - *86 requestBody: required: true content: @@ -12258,28 +12603,28 @@ paths: vendor_specific: type: object oneOf: - - *82 - - *83 - - *84 - - *85 - - *86 - *87 - *88 - *89 + - *90 + - *91 + - *92 + - *93 + - *94 required: - enabled - stream_type - vendor_specific examples: - default: *90 + default: *95 responses: '200': description: Successful update content: application/json: - schema: *79 + schema: *84 examples: - default: *80 + default: *85 '422': description: Validation error content: @@ -12310,7 +12655,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *39 - - *81 + - *86 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -12337,13 +12682,13 @@ paths: subcategory: bypass-requests parameters: - *39 - - &91 + - &96 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &92 + - &97 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -12351,7 +12696,7 @@ paths: required: false schema: type: string - - &93 + - &98 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -12359,7 +12704,7 @@ paths: required: false schema: type: string - - &94 + - &99 name: time_period description: |- The time period to filter by. @@ -12375,7 +12720,7 @@ paths: - week - month default: day - - &95 + - &100 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12402,7 +12747,7 @@ paths: application/json: schema: type: array - items: &268 + items: &282 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12528,7 +12873,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &96 + items: &101 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12574,7 +12919,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &283 value: - id: 21 number: 42 @@ -12665,11 +13010,11 @@ paths: subcategory: delegated-bypass parameters: - *39 - - *91 - - *92 - - *93 - - *94 - - *95 + - *96 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -12679,7 +13024,7 @@ paths: application/json: schema: type: array - items: &271 + items: &285 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12797,7 +13142,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *96 + items: *101 url: type: string format: uri @@ -12810,7 +13155,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &286 value: - id: 21 number: 42 @@ -12895,17 +13240,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &291 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: &100 + schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &292 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 @@ -12913,23 +13258,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &101 + schema: &106 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *97 - - *98 + - *102 + - *103 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &279 + schema: &293 type: string description: State of a code scanning alert. enum: @@ -12954,42 +13299,42 @@ paths: application/json: schema: type: array - items: &280 + items: &294 type: object properties: - number: &109 + number: &119 type: integer description: The security alert number. readOnly: true - created_at: &116 + created_at: &126 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: &117 + updated_at: &127 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 - url: &114 + url: &124 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &115 + html_url: &125 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &521 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &102 + state: &107 type: - string - 'null' @@ -12999,7 +13344,7 @@ paths: - dismissed - fixed - - fixed_at: &119 + fixed_at: &129 type: - string - 'null' @@ -13011,7 +13356,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &118 + dismissed_at: &128 type: - string - 'null' @@ -13019,7 +13364,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &522 type: - string - 'null' @@ -13030,14 +13375,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &523 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &524 type: object properties: id: @@ -13098,26 +13443,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &525 type: object properties: - name: *100 + name: *105 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *101 - most_recent_instance: &514 + guid: *106 + most_recent_instance: &526 type: object properties: - ref: &507 + ref: &519 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &536 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13128,13 +13473,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &537 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: *102 + state: *107 commit_sha: type: string message: @@ -13175,7 +13520,7 @@ paths: - test - library - - repository: &108 + repository: &113 title: Simple Repository description: A GitHub repository. type: object @@ -13519,7 +13864,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &295 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13750,7 +14095,7 @@ paths: headers: Link: *41 '404': *6 - '503': &163 + '503': &173 description: Service unavailable content: application/json: @@ -13794,8 +14139,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -13803,7 +14148,7 @@ paths: application/json: schema: type: array - items: &103 + items: &108 type: object description: A code security configuration properties: @@ -14178,7 +14523,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &296 type: - object - 'null' @@ -14197,7 +14542,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &106 + code_scanning_default_setup_options: &111 type: - object - 'null' @@ -14316,9 +14661,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *103 + schema: *108 examples: - default: &104 + default: &109 value: id: 1325 target_type: enterprise @@ -14376,7 +14721,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &298 type: array description: A list of default code security configurations items: @@ -14390,9 +14735,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *103 + configuration: *108 examples: - default: &285 + default: &299 value: - default_for_new_repos: public configuration: @@ -14481,7 +14826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *39 - - &105 + - &110 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14493,9 +14838,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *104 + default: *109 '304': *35 '403': *27 '404': *6 @@ -14520,7 +14865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14599,7 +14944,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14687,13 +15032,13 @@ paths: description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *104 + default: *109 '304': *35 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14717,14 +15062,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *39 - - *105 + - *110 responses: - '204': &129 + '204': &139 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14749,7 +15094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14776,7 +15121,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14801,7 +15146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14841,12 +15186,12 @@ paths: - none - private_and_internal - public - configuration: *103 + configuration: *108 examples: default: value: default_for_new_repos: all - configuration: &283 + configuration: &297 value: id: 1325 target_type: organization @@ -14903,7 +15248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *39 - - *105 + - *110 - 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)." @@ -14912,8 +15257,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14931,7 +15276,7 @@ paths: application/json: schema: type: array - items: &286 + items: &300 type: object description: Repositories associated with a code security configuration and attachment status @@ -14949,13 +15294,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *108 + repository: *113 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &301 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15438,7 +15783,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &120 + items: &130 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15451,12 +15796,12 @@ paths: organization: anyOf: - type: 'null' - - *62 + - *67 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &287 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15533,7 +15878,7 @@ paths: parent: anyOf: - type: 'null' - - &344 + - &356 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15651,7 +15996,7 @@ paths: - slug - parent - type - - &174 + - &184 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15774,7 +16119,7 @@ paths: - created_at additionalProperties: false examples: - default: &121 + default: &131 value: total_seats: 2 seats: @@ -16226,7 +16571,7 @@ paths: application/json: schema: type: array - items: &171 + items: &181 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16541,7 +16886,7 @@ paths: - date additionalProperties: true examples: - default: &172 + default: &182 value: - date: '2024-06-24' total_active_users: 24 @@ -16643,7 +16988,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &173 + '422': &183 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16654,6 +16999,213 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *39 + - &114 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + examples: + - '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &115 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &116 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: &117 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &118 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *39 + - *114 + responses: + '200': + description: Response + content: + application/json: + schema: *115 + examples: + default: *116 + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: *117 + examples: + default: *118 + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -16673,7 +17225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &308 name: state in: query description: |- @@ -16682,7 +17234,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &309 name: severity in: query description: |- @@ -16691,7 +17243,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &310 name: ecosystem in: query description: |- @@ -16700,14 +17252,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &311 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 - - &298 + - &312 name: epss_percentage in: query description: |- @@ -16719,7 +17271,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 - - &560 + - &572 name: has in: query description: |- @@ -16733,7 +17285,7 @@ paths: type: string enum: - patch - - &299 + - &313 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +17295,7 @@ paths: enum: - development - runtime - - &300 + - &314 name: sort in: query description: |- @@ -16758,34 +17310,9 @@ paths: - updated - epss_percentage default: created - - *99 - - *97 - - *98 - - &301 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &302 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 + - *104 + - *102 + - *103 - *17 responses: '200': @@ -16794,11 +17321,11 @@ paths: application/json: schema: type: array - items: &303 + items: &315 type: object description: A Dependabot alert. properties: - number: *109 + number: *119 state: type: string description: The state of the Dependabot alert. @@ -16813,7 +17340,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &110 + package: &120 type: object description: Details for the vulnerable package. readOnly: true @@ -16861,7 +17388,7 @@ paths: - direct - transitive - - security_advisory: &561 + security_advisory: &573 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16892,13 +17419,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &113 + items: &123 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *110 + package: *120 severity: type: string description: The severity of the vulnerability. @@ -16966,8 +17493,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *111 - epss: *112 + cvss_severities: *121 + epss: *122 cwes: type: array description: Details for the advisory pertaining to Common @@ -17067,12 +17594,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *113 - url: *114 - html_url: *115 - created_at: *116 - updated_at: *117 - dismissed_at: *118 + security_vulnerability: *123 + url: *124 + html_url: *125 + created_at: *126 + updated_at: *127 + dismissed_at: *128 dismissed_by: anyOf: - type: 'null' @@ -17096,8 +17623,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: &562 + fixed_at: *129 + auto_dismissed_at: &574 type: - string - 'null' @@ -17105,7 +17632,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *108 + repository: *113 required: - number - state @@ -17124,7 +17651,7 @@ paths: - repository additionalProperties: false examples: - default: &304 + default: &316 value: - number: 2 state: dismissed @@ -17541,7 +18068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &178 + - &188 name: username description: The handle for the GitHub user account. in: path @@ -17563,9 +18090,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *120 + items: *130 examples: - default: *121 + default: *131 '500': *38 '401': *23 '403': *27 @@ -17608,7 +18135,7 @@ paths: type: integer network_configurations: type: array - items: &122 + items: &132 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17653,7 +18180,7 @@ paths: - name - created_on examples: - default: &407 + default: &419 value: total_count: 2 network_configurations: @@ -17731,9 +18258,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: &123 + default: &133 value: id: 123456789ABCDEF name: My network configuration @@ -17760,7 +18287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &124 + - &134 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17772,9 +18299,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 headers: Link: *41 x-github: @@ -17794,7 +18321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *124 + - *134 requestBody: required: true content: @@ -17833,9 +18360,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17853,7 +18380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *124 + - *134 responses: '204': description: Response @@ -17876,7 +18403,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &408 + - &420 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17888,7 +18415,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &421 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17927,7 +18454,7 @@ paths: - subnet_id - region examples: - default: &410 + default: &422 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17962,7 +18489,7 @@ paths: application/json: schema: type: array - items: &125 + items: &135 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -18038,7 +18565,7 @@ paths: - property_name - value_type examples: - default: &126 + default: &136 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18095,7 +18622,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *135 minItems: 1 maxItems: 100 required: @@ -18125,9 +18652,9 @@ paths: application/json: schema: type: array - items: *125 + items: *135 examples: - default: *126 + default: *136 '403': *27 '404': *6 x-github: @@ -18150,8 +18677,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - *76 - - &127 + - *81 + - &137 name: custom_property_name description: The custom property name in: path @@ -18163,9 +18690,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: &128 + default: &138 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18198,15 +18725,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *137 responses: '200': description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -18228,12 +18755,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *137 requestBody: required: true content: application/json: - schema: &375 + schema: &387 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18306,9 +18833,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -18330,9 +18857,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *137 responses: - '204': *129 + '204': *139 '403': *27 '404': *6 x-github: @@ -18372,7 +18899,7 @@ paths: - push - repository default: branch - enforcement: &136 + enforcement: &146 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18385,7 +18912,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &137 + items: &147 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18427,7 +18954,7 @@ paths: - pull_request - exempt default: always - conditions: &160 + conditions: &170 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18441,7 +18968,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &130 + - &140 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18467,7 +18994,7 @@ paths: type: string required: - organization_name - - &133 + - &143 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18496,7 +19023,7 @@ paths: is prevented. required: - repository_name - - &132 + - &142 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18524,8 +19051,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *130 - - &135 + - *140 + - &145 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18538,7 +19065,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &131 + items: &141 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18569,16 +19096,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *131 + items: *141 required: - repository_property - - *132 + - *142 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &134 + - &144 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18595,25 +19122,25 @@ paths: type: integer required: - organization_id - - *133 - - *132 + - *143 + - *142 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *134 - - *135 - - *132 + - *144 + - *145 + - *142 rules: type: array description: An array of rules within the ruleset. - items: &161 + items: &171 title: Repository Rule type: object description: A repository rule. oneOf: - - &138 + - &148 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18625,7 +19152,7 @@ paths: type: string enum: - creation - - &139 + - &149 title: update description: Only allow users with bypass permission to update matching refs. @@ -18646,7 +19173,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &140 + - &150 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18658,7 +19185,7 @@ paths: type: string enum: - deletion - - &141 + - &151 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18670,7 +19197,7 @@ paths: type: string enum: - required_linear_history - - &142 + - &152 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18694,7 +19221,7 @@ paths: type: string required: - required_deployment_environments - - &143 + - &153 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18706,7 +19233,7 @@ paths: type: string enum: - required_signatures - - &144 + - &154 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -18766,7 +19293,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &145 + - &155 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18813,7 +19340,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &146 + - &156 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18825,7 +19352,7 @@ paths: type: string enum: - non_fast_forward - - &147 + - &157 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18861,7 +19388,7 @@ paths: required: - operator - pattern - - &148 + - &158 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18897,7 +19424,7 @@ paths: required: - operator - pattern - - &149 + - &159 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18933,7 +19460,7 @@ paths: required: - operator - pattern - - &150 + - &160 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18969,7 +19496,7 @@ paths: required: - operator - pattern - - &151 + - &161 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -19005,7 +19532,7 @@ paths: required: - operator - pattern - - &152 + - &162 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -19029,7 +19556,7 @@ paths: type: string required: - restricted_file_paths - - &153 + - &163 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -19053,7 +19580,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &154 + - &164 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -19076,7 +19603,7 @@ paths: type: string required: - restricted_file_extensions - - &155 + - &165 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -19100,7 +19627,7 @@ paths: maximum: 100 required: - max_file_size - - &156 + - &166 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19149,7 +19676,7 @@ paths: - repository_id required: - workflows - - &157 + - &167 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19235,7 +19762,7 @@ paths: description: Response content: application/json: - schema: &158 + schema: &168 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19270,11 +19797,11 @@ paths: source: type: string description: The name of the source - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 + items: *147 current_user_can_bypass: type: string description: |- @@ -19306,8 +19833,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *132 - - &380 + - *142 + - &392 title: Organization ruleset conditions type: object description: |- @@ -19321,14 +19848,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *132 - - *133 + - *142 + - *143 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *132 + - *142 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19350,23 +19877,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *132 - - *135 + - *142 + - *145 type: - 'null' - object rules: type: array - items: &679 + items: &691 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - &676 + - *148 + - *149 + - *150 + - *151 + - &688 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19444,23 +19971,23 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - *152 - *153 - *154 - *155 - *156 - *157 - - &677 + - *158 + - *159 + - *160 + - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - &689 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19490,7 +20017,7 @@ paths: type: string format: date-time examples: - default: &159 + default: &169 value: id: 21 name: super cool ruleset @@ -19549,9 +20076,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *159 + default: *169 '404': *6 '500': *38 x-github: @@ -19595,16 +20122,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *160 + items: *147 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *161 + items: *171 examples: default: value: @@ -19628,9 +20155,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *159 + default: *169 '404': *6 '500': *38 x-github: @@ -19692,7 +20219,7 @@ paths: application/json: schema: type: array - items: &162 + items: &172 title: Ruleset version type: object description: The historical version of a ruleset @@ -19716,7 +20243,7 @@ paths: type: string format: date-time examples: - default: &383 + default: &395 value: - version_id: 3 actor: @@ -19769,9 +20296,9 @@ paths: description: Response content: application/json: - schema: &384 + schema: &396 allOf: - - *162 + - *172 - type: object required: - state @@ -19824,7 +20351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &385 + - &397 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19835,7 +20362,7 @@ paths: enum: - open - resolved - - &386 + - &398 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19845,7 +20372,7 @@ paths: required: false schema: type: string - - &387 + - &399 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19854,7 +20381,7 @@ paths: required: false schema: type: string - - &388 + - &400 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. @@ -19866,11 +20393,11 @@ paths: - created - updated default: created - - *99 + - *104 - *17 - - *97 - - *98 - - &389 + - *102 + - *103 + - &401 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19879,7 +20406,7 @@ paths: required: false schema: type: string - - &390 + - &402 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19888,7 +20415,7 @@ paths: schema: type: boolean default: false - - &391 + - &403 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19897,7 +20424,7 @@ paths: schema: type: boolean default: false - - &392 + - &404 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19913,30 +20440,30 @@ paths: application/json: schema: type: array - items: &393 + items: &405 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &691 + state: &703 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: &692 + resolution: &704 type: - string - 'null' @@ -19970,7 +20497,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *108 + repository: *113 push_protection_bypassed: type: - boolean @@ -20043,14 +20570,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &693 + - &705 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &695 + - &707 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -20107,7 +20634,7 @@ paths: - blob_url - commit_sha - commit_url - - &696 + - &708 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. @@ -20168,7 +20695,7 @@ paths: - page_url - commit_sha - commit_url - - &697 + - &709 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20183,7 +20710,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &698 + - &710 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20198,7 +20725,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &699 + - &711 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20213,7 +20740,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &700 + - &712 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20228,7 +20755,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &701 + - &713 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20243,7 +20770,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &702 + - &714 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20258,7 +20785,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &703 + - &715 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. @@ -20273,7 +20800,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &704 + - &716 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. @@ -20288,7 +20815,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &705 + - &717 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. @@ -20303,7 +20830,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &706 + - &718 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. @@ -20318,7 +20845,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &707 + - &719 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 @@ -20343,7 +20870,7 @@ paths: - type: 'null' - *4 examples: - default: &394 + default: &406 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20521,9 +21048,9 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20552,13 +21079,13 @@ paths: description: Response content: application/json: - schema: &395 + schema: &407 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &165 + pattern_config_version: &175 type: - string - 'null' @@ -20568,7 +21095,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &164 + items: &174 type: object properties: token_type: @@ -20637,9 +21164,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *164 + items: *174 examples: - default: &396 + default: &408 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20694,7 +21221,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *175 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20720,7 +21247,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *175 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20756,7 +21283,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20783,7 +21310,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &410 type: object properties: total_minutes_used: @@ -20853,7 +21380,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &399 + default: &411 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20884,7 +21411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &400 + - &412 name: advanced_security_product in: query description: | @@ -20904,7 +21431,7 @@ paths: description: Success content: application/json: - schema: &401 + schema: &413 type: object properties: total_advanced_security_committers: @@ -20967,7 +21494,7 @@ paths: required: - repositories examples: - default: &402 + default: &414 value: total_advanced_security_committers: 2 total_count: 2 @@ -21006,6 +21533,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *39 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -21078,7 +21615,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21208,7 +21745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &168 + - &178 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21220,7 +21757,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &166 + schema: &176 type: object properties: id: @@ -21260,7 +21797,7 @@ paths: - name - resources examples: - default: &167 + default: &177 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21274,7 +21811,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21324,15 +21861,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *166 + schema: *176 examples: - default: *167 + default: *177 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21350,7 +21887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *168 + - *178 responses: '200': description: Response when deleting a cost center @@ -21389,7 +21926,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21410,7 +21947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *168 + - *178 requestBody: required: true content: @@ -21481,9 +22018,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *107 + '409': *112 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21503,7 +22040,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *168 + - *178 requestBody: required: true content: @@ -21550,7 +22087,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21581,7 +22118,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &415 type: object properties: total_gigabytes_bandwidth_used: @@ -21599,7 +22136,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &404 + default: &416 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21612,8 +22149,10 @@ paths: "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise - description: Gets a report of premium request usage for an enterprise. To use - this endpoint, you must be an administrator or billing manager of the enterprise. + description: |- + Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-ghe @@ -21622,7 +22161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - &169 + - &179 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, @@ -21631,7 +22170,7 @@ paths: required: false schema: type: integer - - &213 + - &225 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 @@ -21640,7 +22179,7 @@ paths: required: false schema: type: integer - - &170 + - &180 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 @@ -21656,21 +22195,21 @@ paths: required: false schema: type: string - - &214 + - &226 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &227 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &228 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +22293,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -21809,7 +22348,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21840,7 +22379,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &417 type: object properties: days_left_in_billing_cycle: @@ -21858,7 +22397,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &406 + default: &418 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21883,8 +22422,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *169 - - &217 + - *179 + - &229 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 @@ -21893,8 +22432,8 @@ paths: required: false schema: type: integer - - *170 - - &218 + - *180 + - &230 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 @@ -21915,7 +22454,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &231 type: object properties: usageItems: @@ -21968,7 +22507,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &232 value: usageItems: - date: '2023-08-01' @@ -21985,7 +22524,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22056,13 +22595,13 @@ paths: application/json: schema: type: array - items: *171 + items: *181 examples: - default: *172 + default: *182 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *183 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22089,9 +22628,9 @@ paths: application/json: schema: type: array - items: *174 + items: *184 examples: - default: &175 + default: &185 value: - id: 1 name: Justice League @@ -22148,6 +22687,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22167,9 +22718,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *184 examples: - default: *175 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22187,7 +22738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &176 + - &186 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -22206,7 +22757,7 @@ paths: type: array items: *4 examples: - default: &177 + default: &187 value: - login: octocat id: 1 @@ -22245,7 +22796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *176 + - *186 requestBody: required: true content: @@ -22276,7 +22827,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22294,7 +22845,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *176 + - *186 requestBody: required: true content: @@ -22325,7 +22876,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22343,8 +22894,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *176 - - *178 + - *186 + - *188 responses: '200': description: User is a member of the enterprise team. @@ -22352,7 +22903,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &179 + exampleKey1: &189 value: login: octocat id: 1 @@ -22388,8 +22939,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *176 - - *178 + - *186 + - *188 responses: '201': description: Successfully added team member @@ -22397,7 +22948,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *179 + exampleKey1: *189 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22415,8 +22966,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *176 - - *178 + - *186 + - *188 responses: '204': description: Response @@ -22426,6 +22977,227 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *39 + - *186 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *67 + examples: + default: &190 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *39 + - *186 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *67 + examples: + default: &224 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *39 + - *186 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *39 + - *186 + - *81 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *67 + examples: + default: *190 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *39 + - *186 + - *81 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *67 + examples: + default: *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *39 + - *186 + - *81 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -22441,7 +23213,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &191 name: team_slug description: The slug of the team name. in: path @@ -22453,9 +23225,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *184 examples: - default: *175 + default: *185 headers: Link: *41 '403': *27 @@ -22475,7 +23247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *191 requestBody: required: true content: @@ -22503,6 +23275,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22521,9 +23305,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *184 examples: - default: *175 + default: *185 headers: Link: *41 '403': *27 @@ -22546,7 +23330,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *191 responses: '204': description: Response @@ -22645,7 +23429,7 @@ paths: application/json: schema: type: array - items: &208 + items: &219 title: Event description: Event type: object @@ -22656,7 +23440,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &192 title: Actor description: Actor type: object @@ -22697,7 +23481,7 @@ paths: - id - name - url - org: *181 + org: *192 payload: oneOf: - title: CreateEvent @@ -22744,7 +23528,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &840 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +23825,7 @@ paths: - id labels: type: array - items: &182 + items: &193 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +23908,7 @@ paths: properties: action: type: string - issue: &183 + issue: &194 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23247,7 +24031,7 @@ paths: milestone: anyOf: - type: 'null' - - &368 + - &380 title: Milestone description: A collection of related issues and pull requests. @@ -23419,7 +24203,7 @@ paths: timeline_url: type: string format: uri - type: &331 + type: &343 title: Issue Type description: The type of issue. type: @@ -23473,12 +24257,12 @@ paths: - node_id - name - description - repository: *67 + repository: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &195 title: author_association type: string description: How the author is associated with the @@ -23494,7 +24278,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &196 title: Reaction Rollup type: object properties: @@ -23530,7 +24314,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &751 + sub_issues_summary: &763 title: Sub-issues Summary type: object properties: @@ -23551,7 +24335,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &752 + issue_dependencies_summary: &764 title: Issue Dependencies Summary type: object properties: @@ -23570,7 +24354,7 @@ paths: - total_blocking issue_field_values: type: array - items: &753 + items: &765 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23670,10 +24454,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *193 labels: type: array - items: *182 + items: *193 required: - action - issue @@ -23682,8 +24466,8 @@ paths: properties: action: type: string - issue: *183 - comment: &617 + issue: *194 + comment: &629 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23733,12 +24517,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *195 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *196 required: - id - node_id @@ -23917,7 +24701,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 allow_forking: type: boolean is_template: @@ -24008,7 +24792,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &198 title: Pull Request Minimal type: object properties: @@ -24079,10 +24863,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *193 labels: type: array - items: *182 + items: *193 required: - action - number @@ -24092,7 +24876,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *198 comment: type: object properties: @@ -24346,7 +25130,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *198 required: - action - review @@ -24395,7 +25179,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *196 required: - action - comment @@ -24406,7 +25190,7 @@ paths: type: string release: allOf: - - &669 + - &681 title: Release description: A release. type: object @@ -24488,7 +25272,7 @@ paths: author: *4 assets: type: array - items: &670 + items: &682 title: Release Asset description: Data related to a release. type: object @@ -24563,7 +25347,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *196 required: - assets_url - upload_url @@ -24656,7 +25440,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24746,7 +25530,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &199 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +25542,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *199 + security_advisories: *199 + current_user: *199 + current_user_public: *199 + current_user_actor: *199 + current_user_organization: *199 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *199 + repository_discussions: *199 + repository_discussions_category: *199 required: - timeline - user @@ -24830,7 +25614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *200 - *17 - *19 responses: @@ -24840,7 +25624,7 @@ paths: application/json: schema: type: array - items: &190 + items: &201 title: Base Gist description: Base Gist type: object @@ -24937,7 +25721,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &202 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +25845,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &203 title: Gist Simple description: Gist Simple type: object @@ -25079,7 +25863,7 @@ paths: url: type: string format: uri - user: &765 + user: &777 title: Public User description: Public User type: object @@ -25453,7 +26237,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &204 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +26341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *200 - *17 - *19 responses: @@ -25567,9 +26351,9 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: - default: *191 + default: *202 headers: Link: *41 '422': *15 @@ -25591,7 +26375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *200 - *17 - *19 responses: @@ -25601,9 +26385,9 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: - default: *191 + default: *202 headers: Link: *41 '401': *23 @@ -25631,7 +26415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &205 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +26427,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *203 examples: - default: *193 - '403': &197 + default: *204 + '403': &208 description: Forbidden Gist content: application/json: @@ -25695,7 +26479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *205 requestBody: required: true content: @@ -25759,9 +26543,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *203 examples: - updateGist: *193 + updateGist: *204 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +26703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *205 responses: '204': description: Response @@ -25948,7 +26732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *205 - *17 - *19 responses: @@ -25958,7 +26742,7 @@ paths: application/json: schema: type: array - items: &195 + items: &206 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +26780,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *195 required: - url - id @@ -26061,7 +26845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *205 requestBody: required: true content: @@ -26087,9 +26871,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *206 examples: - default: &196 + default: &207 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +26931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *205 + - &209 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +26945,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *206 examples: - default: *196 + default: *207 '304': *35 '404': *6 - '403': *197 + '403': *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +26972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *205 + - *209 requestBody: required: true content: @@ -26215,9 +26999,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *206 examples: - default: *196 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +27018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *205 + - *209 responses: '204': description: Response @@ -26258,7 +27042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *205 - *17 - *19 responses: @@ -26359,7 +27143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *205 - *17 - *19 responses: @@ -26369,7 +27153,7 @@ paths: application/json: schema: type: array - items: *192 + items: *203 examples: default: value: @@ -26434,13 +27218,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *205 responses: '201': description: Response content: application/json: - schema: *190 + schema: *201 examples: default: value: @@ -26511,7 +27295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *205 responses: '204': description: Response if gist is starred @@ -26541,7 +27325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *205 responses: '204': description: Response @@ -26563,7 +27347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *205 responses: '204': description: Response @@ -26592,7 +27376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *205 - name: sha in: path required: true @@ -26603,9 +27387,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *203 examples: - default: *193 + default: *204 '422': *15 '404': *6 '403': *27 @@ -26766,7 +27550,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *72 repository_selection: type: string examples: @@ -26974,7 +27758,7 @@ paths: - closed - all default: open - - &334 + - &346 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26992,8 +27776,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - name: collab in: query required: false @@ -27023,9 +27807,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: &335 + default: &347 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27305,7 +28089,7 @@ paths: application/json: schema: type: array - items: *186 + items: *197 examples: default: value: @@ -27603,7 +28387,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &210 example: 0.17.4 schema: type: string @@ -27658,7 +28442,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *210 content: text/html: schema: @@ -27687,7 +28471,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: - - &202 + - &213 name: account_id description: account_id parameter in: path @@ -27699,7 +28483,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &212 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +28517,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &211 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +28620,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *211 required: - url - id @@ -27844,7 +28628,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &214 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +28713,9 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: - default: &204 + default: &215 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +28755,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &216 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &217 name: sort description: The property to sort the results by. in: query @@ -28008,9 +28792,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: &207 + default: &218 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +28868,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: - - *202 + - *213 responses: '200': description: Response content: application/json: - schema: *201 + schema: *212 examples: - default: *203 + default: *214 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +28908,9 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: - default: *204 + default: *215 headers: Link: *41 '401': *23 @@ -28149,8 +28933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *205 - - *206 + - *216 + - *217 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +28954,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *207 + default: *218 headers: Link: *41 '401': *23 @@ -28437,14 +29221,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: - - &430 + - &442 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &431 + - &443 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28461,7 +29245,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -28506,7 +29290,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &456 description: Moved permanently content: application/json: @@ -28528,7 +29312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &645 + - &657 name: all description: If `true`, show notifications marked as read. in: query @@ -28536,7 +29320,7 @@ paths: schema: type: boolean default: false - - &646 + - &658 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28545,8 +29329,8 @@ paths: schema: type: boolean default: false - - *189 - - &647 + - *200 + - &659 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: @@ -28571,14 +29355,14 @@ paths: application/json: schema: type: array - items: &209 + items: &220 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &260 title: Minimal Repository description: Minimal Repository type: object @@ -28917,7 +29701,7 @@ paths: type: boolean examples: - false - security_and_analysis: &377 + security_and_analysis: &389 type: - object - 'null' @@ -29090,7 +29874,7 @@ paths: - url - subscription_url examples: - default: &648 + default: &660 value: - id: '1' repository: @@ -29256,7 +30040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &221 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 @@ -29270,7 +30054,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *220 examples: default: value: @@ -29373,7 +30157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *221 responses: '205': description: Reset Content @@ -29396,7 +30180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *221 responses: '204': description: No content @@ -29419,13 +30203,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: - - *210 + - *221 responses: '200': description: Response content: application/json: - schema: &211 + schema: &222 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +30253,7 @@ paths: - url - subscribed examples: - default: &212 + default: &223 value: subscribed: true ignored: false @@ -29500,7 +30284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *221 requestBody: required: false content: @@ -29521,9 +30305,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *222 examples: - default: *212 + default: *223 '304': *35 '403': *27 '401': *23 @@ -29546,7 +30330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *221 responses: '204': description: Response @@ -29641,22 +30425,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: &781 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *224 headers: Link: example: ; rel="next" @@ -29708,7 +30479,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &303 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +30528,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &304 value: id: 8030 name: Security Engineer @@ -29804,7 +30575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *76 + - *81 - name: page in: query description: The page number of results to fetch. @@ -29850,7 +30621,7 @@ paths: items: anyOf: - type: 'null' - - *108 + - *113 additionalProperties: false examples: default: @@ -29955,7 +30726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -30021,7 +30792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *76 + - *81 requestBody: required: true content: @@ -30058,9 +30829,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -30068,13 +30840,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *76 - - *169 - - *213 - - *170 - - *214 - - *215 - - *216 + - *81 + - *179 + - *225 + - *180 + - *226 + - *227 + - *228 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +30902,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -30185,7 +30957,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30205,23 +30977,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *76 - - *169 - - *217 - - *170 - - *218 + - *81 + - *179 + - *229 + - *180 + - *230 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *231 examples: - default: *220 + default: *232 '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30247,13 +31019,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &221 + schema: &233 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30663,7 +31435,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &234 value: login: github id: 1 @@ -30765,7 +31537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *76 + - *81 requestBody: required: false content: @@ -30989,18 +31761,18 @@ paths: description: Response content: application/json: - schema: *221 + schema: *233 examples: - default: *222 + default: *234 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 - '409': *107 + - *235 + - *236 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31023,7 +31795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *81 responses: '202': *37 '404': *6 @@ -31048,15 +31820,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *225 + schema: *237 examples: - default: *226 + default: *238 headers: Link: *41 x-github: @@ -31079,7 +31851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31097,7 +31869,7 @@ paths: type: integer repository_cache_usages: type: array - items: &449 + items: &461 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31155,7 +31927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31175,7 +31947,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *239 headers: Link: *41 x-github: @@ -31195,7 +31967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -31224,6 +31996,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -31241,6 +32019,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -31264,12 +32047,195 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: *43 + examples: + default: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *81 + - *44 + responses: + '200': + description: Response + content: + application/json: + schema: *43 + examples: + default: *240 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - *81 + - *44 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - *44 + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: *46 + examples: + default: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *81 + - *44 + - *47 + responses: + '200': + description: Response + content: + application/json: + schema: *46 + examples: + default: *241 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - *81 + - *44 + - *47 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -31282,7 +32248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31298,9 +32264,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31318,7 +32284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31334,9 +32300,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31353,15 +32319,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *228 + schema: *242 examples: - default: *229 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31379,7 +32345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31395,9 +32361,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *50 examples: - default: *230 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31415,7 +32381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31459,8 +32425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 responses: '200': description: Response @@ -31468,7 +32434,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 headers: Link: *41 x-github: @@ -31488,8 +32454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 requestBody: required: true content: @@ -31515,6 +32481,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -31529,7 +32501,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31545,8 +32517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 responses: '202': description: Response @@ -31554,7 +32526,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31574,13 +32546,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *81 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &245 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +32566,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &246 value: include_claim_keys: - repo @@ -31616,20 +32588,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *231 + schema: *245 examples: - default: *232 + default: *246 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &271 title: Empty Object description: An object without any properties. type: object @@ -31659,7 +32631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31668,7 +32640,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &248 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31681,9 +32653,9 @@ 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: *49 - selected_actions_url: *233 - sha_pinning_required: *50 + allowed_actions: *54 + selected_actions_url: *247 + sha_pinning_required: *55 required: - enabled_repositories examples: @@ -31713,7 +32685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -31724,9 +32696,9 @@ paths: schema: type: object properties: - enabled_repositories: *234 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_repositories: *248 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled_repositories examples: @@ -31754,13 +32726,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *235 + schema: *249 examples: response: summary: Example response @@ -31786,12 +32758,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *236 + schema: *250 examples: application/json: value: @@ -31801,7 +32773,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -31821,15 +32793,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *51 + schema: *56 examples: - default: *237 + default: *251 '404': *6 x-github: enabledForGitHubApps: true @@ -31848,7 +32820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -31858,7 +32830,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -31880,15 +32852,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *238 + schema: *252 examples: - default: *52 + default: *57 '403': *27 '404': *6 x-github: @@ -31906,14 +32878,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *239 + schema: *253 examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -31943,7 +32915,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31961,9 +32933,9 @@ paths: type: number repositories: type: array - items: *67 + items: *72 examples: - default: &241 + default: &255 value: total_count: 1 repositories: @@ -32103,7 +33075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -32147,8 +33119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - &240 + - *81 + - &254 name: repository_id description: The unique identifier of the repository. in: path @@ -32176,8 +33148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - *240 + - *81 + - *254 responses: '204': description: Response @@ -32200,15 +33172,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *54 + schema: *59 examples: - default: *55 + default: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32231,7 +33203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -32239,9 +33211,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32261,7 +33233,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -32309,7 +33281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32336,7 +33308,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32356,7 +33328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -32371,9 +33343,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *72 examples: - default: *241 + default: *255 '403': *27 '404': *6 x-github: @@ -32393,7 +33365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32441,14 +33413,14 @@ paths: description: API method documentation 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: - - *76 - - *240 + - *81 + - *254 responses: '204': description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32468,14 +33440,14 @@ paths: description: API method documentation 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: - - *76 - - *240 + - *81 + - *254 responses: '204': description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32497,15 +33469,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *242 + schema: *256 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32526,7 +33498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Success response @@ -32537,9 +33509,9 @@ paths: required: false content: application/json: - schema: *243 + schema: *257 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32559,7 +33531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *76 + - *81 - *17 - *19 - name: visible_to_repository @@ -32584,7 +33556,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &258 type: object properties: id: @@ -32701,7 +33673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32774,9 +33746,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *258 examples: - default: &245 + default: &259 value: id: 2 name: octo-runner-group @@ -32811,14 +33783,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 responses: '200': description: Response content: application/json: - schema: *244 + schema: *258 examples: default: value: @@ -32854,8 +33826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -32911,9 +33883,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *258 examples: - default: *245 + default: *259 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32932,8 +33904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *76 - - *61 + - *81 + - *66 responses: '204': description: Response @@ -32956,8 +33928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *17 - *19 responses: @@ -32977,7 +33949,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *239 headers: Link: *41 x-github: @@ -32999,8 +33971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *19 - *17 responses: @@ -33018,9 +33990,9 @@ paths: type: number repositories: type: array - items: *246 + items: *260 examples: - default: &768 + default: &780 value: total_count: 1 repositories: @@ -33272,8 +34244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -33317,9 +34289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 - - *240 + - *81 + - *66 + - *254 responses: '204': description: Response @@ -33341,9 +34313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 - - *240 + - *81 + - *66 + - *254 responses: '204': description: Response @@ -33366,8 +34338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *17 - *19 responses: @@ -33385,9 +34357,9 @@ paths: type: number runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -33408,8 +34380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -33453,9 +34425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *76 - - *61 - - *64 + - *81 + - *66 + - *69 responses: '204': description: Response @@ -33477,9 +34449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *76 - - *61 - - *64 + - *81 + - *66 + - *69 responses: '204': description: Response @@ -33509,7 +34481,7 @@ paths: in: query schema: type: string - - *76 + - *81 - *17 - *19 responses: @@ -33527,9 +34499,9 @@ paths: type: integer runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -33553,7 +34525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -33561,9 +34533,9 @@ paths: application/json: schema: type: array - items: *247 + items: *261 examples: - default: *248 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33585,7 +34557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -33628,10 +34600,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *263 '404': *6 '422': *7 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33659,15 +34631,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *76 + - *81 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *250 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33695,15 +34667,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *76 + - *81 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *251 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33725,16 +34697,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: *252 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33755,8 +34727,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-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: '204': description: Response @@ -33782,10 +34754,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: - '200': *70 + '200': *75 '404': *6 x-github: githubCloudOnly: false @@ -33807,8 +34779,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-an-organization parameters: - - *76 - - *64 + - *81 + - *69 requestBody: required: true content: @@ -33832,7 +34804,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33856,8 +34828,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-an-organization parameters: - - *76 - - *64 + - *81 + - *69 requestBody: required: true content: @@ -33882,7 +34854,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33906,10 +34878,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: - '200': *253 + '200': *267 '404': *6 x-github: githubCloudOnly: false @@ -33936,11 +34908,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 - - *254 + - *81 + - *69 + - *268 responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33965,7 +34937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -33983,7 +34955,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &269 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34058,13 +35030,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &469 + schema: &481 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34099,7 +35071,7 @@ paths: - key_id - key examples: - default: &470 + default: &482 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34124,8 +35096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &256 + - *81 + - &270 name: secret_name description: The name of the secret. in: path @@ -34137,7 +35109,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *269 examples: default: value: @@ -34167,8 +35139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -34225,7 +35197,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -34251,8 +35223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -34278,8 +35250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - *19 - *17 responses: @@ -34297,9 +35269,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: &260 + default: &274 value: total_count: 1 repositories: @@ -34391,8 +35363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -34444,8 +35416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -34478,8 +35450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -34511,8 +35483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *76 - - &454 + - *81 + - &466 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)." @@ -34536,7 +35508,7 @@ paths: type: integer variables: type: array - items: &258 + items: &272 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34626,7 +35598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *81 requestBody: required: true content: @@ -34674,7 +35646,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -34699,8 +35671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &259 + - *81 + - &273 name: name description: The name of the variable. in: path @@ -34712,7 +35684,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *272 examples: default: value: @@ -34742,8 +35714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 requestBody: required: true content: @@ -34805,8 +35777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 responses: '204': description: Response @@ -34832,8 +35804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 - *19 - *17 responses: @@ -34851,9 +35823,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34879,8 +35851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 requestBody: required: true content: @@ -34929,8 +35901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 - name: repository_id in: path required: true @@ -34964,8 +35936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 - name: repository_id in: path required: true @@ -34996,15 +35968,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35023,19 +35995,19 @@ paths: required: true content: application/json: - schema: *261 + schema: *275 examples: - default: *74 + default: *79 parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35051,7 +36023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -35074,7 +36046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *81 requestBody: required: true content: @@ -35216,7 +36188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *81 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -35300,9 +36272,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *97 - - *98 - - *76 + - *102 + - *103 + - *81 requestBody: required: true content: @@ -35325,12 +36297,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &807 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &808 value: subject_digests: - sha256:abc123 @@ -35389,7 +36361,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &809 value: attestations_subject_digests: - sha256:abc: @@ -35498,7 +36470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *81 requestBody: required: true content: @@ -35563,7 +36535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *81 - name: subject_digest description: Subject Digest in: path @@ -35582,6 +36554,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *102 + - *103 + - *81 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -35594,7 +36617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *81 - name: attestation_id description: Attestation ID in: path @@ -35630,9 +36653,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - - *97 - - *98 - - *76 + - *102 + - *103 + - *81 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -35685,7 +36708,7 @@ paths: initiator: type: string examples: - default: &483 + default: &495 value: attestations: - bundle: @@ -35803,7 +36826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *76 + - *81 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -35811,10 +36834,10 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 - - *265 + - *276 + - *277 + - *278 + - *279 - *17 responses: '200': @@ -35823,9 +36846,9 @@ paths: application/json: schema: type: array - items: *266 + items: *280 examples: - default: *267 + default: *281 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35842,7 +36865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -35854,7 +36877,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35873,8 +36896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: If the user is blocked @@ -35899,8 +36922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -35920,8 +36943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -35947,17 +36970,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *76 - - &270 + - *81 + - &284 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *92 - - *93 - - *94 - - *95 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -35967,9 +36990,9 @@ paths: application/json: schema: type: array - items: *268 + items: *282 examples: - default: *269 + default: *283 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35992,12 +37015,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *76 - - *270 - - *92 - - *93 - - *94 - - *95 + - *81 + - *284 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -36007,9 +37030,9 @@ paths: application/json: schema: type: array - items: *271 + items: *285 examples: - default: *272 + default: *286 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36028,15 +37051,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *81 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &288 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +37085,7 @@ paths: application/json: schema: type: array - items: &275 + items: &289 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +37116,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *287 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +37135,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *288 contact_link: description: The contact link of the campaign. type: @@ -36210,7 +37233,7 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36234,7 +37257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -36329,9 +37352,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *289 examples: - default: &276 + default: &290 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36380,7 +37403,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36402,7 +37425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36414,16 +37437,16 @@ paths: description: Response content: application/json: - schema: *275 + schema: *289 examples: - default: *276 + default: *290 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36444,7 +37467,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36494,7 +37517,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *288 examples: default: value: @@ -36504,9 +37527,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *289 examples: - default: *276 + default: *290 '400': description: Bad Request content: @@ -36518,7 +37541,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36539,7 +37562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36550,7 +37573,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36572,20 +37595,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *76 - - *277 - - *278 - - *97 - - *98 + - *81 + - *291 + - *292 + - *102 + - *103 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *279 + schema: *293 - name: sort description: The property by which to sort the results. in: query @@ -36601,7 +37624,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &520 type: string description: Severity of a code scanning alert. enum: @@ -36619,13 +37642,13 @@ paths: application/json: schema: type: array - items: *280 + items: *294 examples: - default: *281 + default: *295 headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36647,7 +37670,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *76 + - *81 - name: target_type in: query description: The target type of the code security configuration @@ -36666,8 +37689,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -36675,7 +37698,7 @@ paths: application/json: schema: type: array - items: *103 + items: *108 examples: default: value: @@ -36758,7 +37781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *81 requestBody: required: true content: @@ -36836,7 +37859,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *296 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36845,7 +37868,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36977,9 +38000,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *103 + schema: *108 examples: - default: *283 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37001,15 +38024,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: *285 + default: *299 '304': *35 '403': *27 '404': *6 @@ -37035,7 +38058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *81 requestBody: required: true content: @@ -37061,11 +38084,11 @@ paths: - 32 - 91 responses: - '204': *129 + '204': *139 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37087,16 +38110,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 responses: '200': description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *283 + default: *297 '304': *35 '403': *27 '404': *6 @@ -37120,8 +38143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37200,7 +38223,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -37318,7 +38341,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *103 + schema: *108 examples: default: value: @@ -37377,14 +38400,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 responses: - '204': *129 + '204': *139 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37408,8 +38431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37472,8 +38495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37513,12 +38536,12 @@ paths: - none - private_and_internal - public - configuration: *103 + configuration: *108 examples: default: value: default_for_new_repos: all - configuration: *283 + configuration: *297 '403': *27 '404': *6 x-github: @@ -37542,8 +38565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 - 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)." @@ -37552,8 +38575,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -37571,13 +38594,13 @@ paths: application/json: schema: type: array - items: *286 + items: *300 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *301 '403': *27 '404': *6 x-github: @@ -37601,7 +38624,7 @@ paths: parameters: - *17 - *19 - - *76 + - *81 responses: '200': description: Response @@ -37617,7 +38640,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &348 type: object title: Codespace description: A codespace. @@ -37648,11 +38671,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *260 machine: anyOf: - type: 'null' - - &537 + - &549 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -37939,7 +38962,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &349 value: total_count: 3 codespaces: @@ -38371,7 +39394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *81 deprecated: true requestBody: required: true @@ -38438,7 +39461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *76 + - *81 deprecated: true requestBody: required: true @@ -38493,7 +39516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *81 requestBody: required: true content: @@ -38545,7 +39568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -38563,7 +39586,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &302 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38604,7 +39627,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &550 value: total_count: 2 secrets: @@ -38636,13 +39659,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &539 + schema: &551 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38677,7 +39700,7 @@ paths: - key_id - key examples: - default: &540 + default: &552 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38700,16 +39723,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '200': description: Response content: application/json: - schema: *288 + schema: *302 examples: - default: &542 + default: &554 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38736,8 +39759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -38792,7 +39815,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -38818,8 +39841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -38844,8 +39867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - *19 - *17 responses: @@ -38863,9 +39886,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 '404': *6 x-github: githubCloudOnly: false @@ -38887,8 +39910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -38938,8 +39961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -38972,8 +39995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -39012,7 +40035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: OK @@ -39153,7 +40176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *76 + - *81 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -39176,9 +40199,9 @@ paths: currently being billed. seats: type: array - items: *120 + items: *130 examples: - default: *121 + default: *131 headers: Link: *41 '500': *38 @@ -39214,7 +40237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39292,7 +40315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39372,7 +40395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39449,7 +40472,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39530,7 +40553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *76 + - *81 - 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`). @@ -39562,13 +40585,13 @@ paths: application/json: schema: type: array - items: *171 + items: *181 examples: - default: *172 + default: *182 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39590,7 +40613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -39749,7 +40772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *76 + - *81 - name: credential_id in: path required: true @@ -39780,7 +40803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response - list of custom role names @@ -39796,7 +40819,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *303 examples: default: value: @@ -39883,12 +40906,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: &292 + schema: &306 type: object properties: name: @@ -39930,9 +40953,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -39956,8 +40979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *76 - - &291 + - *81 + - &305 name: role_id description: The unique identifier of the role. in: path @@ -39969,9 +40992,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '404': *6 x-github: githubCloudOnly: true @@ -39993,13 +41016,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *76 - - *291 + - *81 + - *305 requestBody: required: true content: application/json: - schema: &293 + schema: &307 type: object properties: name: @@ -40038,9 +41061,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -40064,8 +41087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '204': description: Response @@ -40093,12 +41116,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *292 + schema: *306 examples: default: value: @@ -40112,9 +41135,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -40144,16 +41167,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '200': description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '404': *6 x-github: githubCloudOnly: true @@ -40181,13 +41204,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *76 - - *291 + - *81 + - *305 requestBody: required: true content: application/json: - schema: *293 + schema: *307 examples: default: value: @@ -40202,9 +41225,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -40234,8 +41257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '204': description: Response @@ -40263,12 +41286,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *294 - - *295 - - *296 - - *297 - - *298 + - *81 + - *308 + - *309 + - *310 + - *311 + - *312 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +41329,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 - - *99 - - *97 - - *98 - - *301 - - *302 + - *313 + - *314 + - *104 + - *102 + - *103 - *17 responses: '200': @@ -40321,9 +41342,9 @@ paths: application/json: schema: type: array - items: *303 + items: *315 examples: - default: *304 + default: *316 '304': *35 '400': *14 '403': *27 @@ -40349,7 +41370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -40367,7 +41388,7 @@ paths: type: integer secrets: type: array - items: &305 + items: &317 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40440,13 +41461,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &565 + schema: &577 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40465,7 +41486,7 @@ paths: - key_id - key examples: - default: &566 + default: &578 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40488,14 +41509,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '200': description: Response content: application/json: - schema: *305 + schema: *317 examples: default: value: @@ -40523,8 +41544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -40583,7 +41604,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -40607,8 +41628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -40632,8 +41653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - *19 - *17 responses: @@ -40651,9 +41672,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40674,8 +41695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -40725,8 +41746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -40757,8 +41778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -40794,8 +41815,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - &574 + - *81 + - &586 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40803,7 +41824,7 @@ paths: required: false schema: type: string - - &575 + - &587 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40811,7 +41832,7 @@ paths: required: false schema: type: string - - &576 + - &588 name: time_period description: |- The time period to filter by. @@ -40827,7 +41848,7 @@ paths: - week - month default: month - - &577 + - &589 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40842,7 +41863,7 @@ paths: - denied - all default: all - - *270 + - *284 - *17 - *19 responses: @@ -40852,7 +41873,7 @@ paths: application/json: schema: type: array - items: &578 + items: &590 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41015,7 +42036,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &579 + default: &591 value: - id: 21 number: 42 @@ -41101,12 +42122,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - *270 - - *92 - - *93 - - *94 - - &580 + - *81 + - *284 + - *97 + - *98 + - *99 + - &592 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41132,7 +42153,7 @@ paths: application/json: schema: type: array - items: &581 + items: &593 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41246,7 +42267,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *96 + items: *101 url: type: string format: uri @@ -41259,7 +42280,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &582 + default: &594 value: - id: 21 number: 42 @@ -41339,7 +42360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -41347,7 +42368,7 @@ paths: application/json: schema: type: array - items: &346 + items: &358 title: Package description: A software package type: object @@ -41400,7 +42421,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *260 created_at: type: string format: date-time @@ -41418,7 +42439,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &359 value: - id: 197 name: hello_docker @@ -41496,7 +42517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *76 + - *81 - *17 - *19 responses: @@ -41506,7 +42527,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: 200-response: value: @@ -41579,7 +42600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *76 + - *81 - name: group_id description: The unique identifier of the group. in: path @@ -41605,7 +42626,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &437 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41695,7 +42716,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &426 + default: &438 value: group_id: '123' group_name: Octocat admins @@ -41733,7 +42754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-available-to-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -41750,7 +42771,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &435 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41790,7 +42811,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &424 + default: &436 value: groups: - group_id: '123' @@ -41824,7 +42845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *81 - *17 - *19 responses: @@ -41834,7 +42855,7 @@ paths: application/json: schema: type: array - items: &328 + items: &340 title: Organization Invitation description: Organization Invitation type: object @@ -41888,7 +42909,7 @@ paths: - invitation_teams_url - node_id examples: - default: &329 + default: &341 value: - id: 1 login: monalisa @@ -41947,7 +42968,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -41955,7 +42976,7 @@ paths: application/json: schema: type: array - items: &378 + items: &390 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41969,7 +42990,7 @@ paths: - name - description examples: - default: &379 + default: &391 value: - name: add_assignee description: Assign or remove a user @@ -42000,7 +43021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *81 - *17 - *19 responses: @@ -42010,7 +43031,7 @@ paths: application/json: schema: type: array - items: &306 + items: &318 title: Org Hook description: Org Hook type: object @@ -42131,7 +43152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *81 requestBody: required: true content: @@ -42193,9 +43214,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *318 examples: - default: &307 + default: &319 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42239,8 +43260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &308 + - *81 + - &320 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. @@ -42253,9 +43274,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *318 examples: - default: *307 + default: *319 '404': *6 x-github: githubCloudOnly: false @@ -42276,8 +43297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 requestBody: required: false content: @@ -42323,7 +43344,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *318 examples: default: value: @@ -42362,8 +43383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 responses: '204': description: Response @@ -42388,8 +43409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *76 - - *308 + - *81 + - *320 responses: '200': description: Response @@ -42417,8 +43438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *76 - - *308 + - *81 + - *320 requestBody: required: false content: @@ -42466,10 +43487,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 - *17 - - *309 + - *321 responses: '200': description: Response @@ -42477,9 +43498,9 @@ paths: application/json: schema: type: array - items: *310 + items: *322 examples: - default: *311 + default: *323 '400': *14 '422': *15 x-github: @@ -42502,17 +43523,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *324 examples: - default: *313 + default: *325 '400': *14 '422': *15 x-github: @@ -42535,8 +43556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 - *16 responses: '202': *37 @@ -42562,8 +43583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 responses: '204': description: Response @@ -42585,8 +43606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &318 + - *81 + - &330 name: actor_type in: path description: The type of the actor @@ -42599,14 +43620,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &319 + - &331 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &314 + - &326 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`.' @@ -42614,7 +43635,7 @@ paths: required: true schema: type: string - - &315 + - &327 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) @@ -42625,7 +43646,7 @@ paths: type: string - *19 - *17 - - *99 + - *104 - name: sort description: The property to sort the results by. in: query @@ -42708,13 +43729,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *314 - - *315 + - *81 + - *326 + - *327 - *19 - *17 - - *99 - - &324 + - *104 + - &336 name: sort description: The property to sort the results by. in: query @@ -42793,15 +43814,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *314 - - *315 + - *81 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &316 + schema: &328 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42817,7 +43838,7 @@ paths: type: integer format: int64 examples: - default: &317 + default: &329 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42837,24 +43858,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &320 + - *81 + - &332 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *314 - - *315 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *316 + schema: *328 examples: - default: *317 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -42872,19 +43893,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *314 - - *315 - - *318 - - *319 + - *81 + - *326 + - *327 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *316 + schema: *328 examples: - default: *317 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -42901,10 +43922,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *314 - - *315 - - &321 + - *81 + - *326 + - *327 + - &333 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42917,7 +43938,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &334 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42933,7 +43954,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &335 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42969,19 +43990,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *320 - - *314 - - *315 - - *321 + - *81 + - *332 + - *326 + - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *322 + schema: *334 examples: - default: *323 + default: *335 x-github: enabledForGitHubApps: true category: orgs @@ -42998,20 +44019,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *318 - - *319 - - *314 - - *315 - - *321 + - *81 + - *330 + - *331 + - *326 + - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *322 + schema: *334 examples: - default: *323 + default: *335 x-github: enabledForGitHubApps: true category: orgs @@ -43028,14 +44049,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *320 - - *314 - - *315 + - *81 + - *332 + - *326 + - *327 - *19 - *17 - - *99 - - *324 + - *104 + - *336 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43111,7 +44132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *76 + - *81 responses: '200': description: Response @@ -43119,7 +44140,7 @@ paths: application/json: schema: *20 examples: - default: &613 + default: &625 value: id: 1 account: @@ -43188,7 +44209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -43277,7 +44298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -43285,12 +44306,12 @@ paths: application/json: schema: anyOf: - - &326 + - &338 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &325 + limit: &337 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43318,7 +44339,7 @@ paths: properties: {} additionalProperties: false examples: - default: &327 + default: &339 value: limit: collaborators_only origin: organization @@ -43342,18 +44363,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: &614 + schema: &626 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *325 + limit: *337 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43378,9 +44399,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *338 examples: - default: *327 + default: *339 '422': *15 x-github: githubCloudOnly: false @@ -43398,7 +44419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -43424,7 +44445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *81 - *17 - *19 - name: role @@ -43458,9 +44479,9 @@ paths: application/json: schema: type: array - items: *328 + items: *340 examples: - default: *329 + default: *341 headers: Link: *41 '404': *6 @@ -43484,7 +44505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *81 requestBody: required: false content: @@ -43538,7 +44559,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *340 examples: default: value: @@ -43594,8 +44615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &330 + - *81 + - &342 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43628,8 +44649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *330 + - *81 + - *342 - *17 - *19 responses: @@ -43639,9 +44660,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: &345 + default: &357 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43676,7 +44697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -43684,7 +44705,7 @@ paths: application/json: schema: type: array - items: *331 + items: *343 examples: default: value: @@ -43722,7 +44743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -43772,9 +44793,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *343 examples: - default: &332 + default: &344 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43806,8 +44827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *76 - - &333 + - *81 + - &345 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43863,9 +44884,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *343 examples: - default: *332 + default: *344 '404': *6 '422': *7 x-github: @@ -43889,8 +44910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *76 - - *333 + - *81 + - *345 responses: '204': description: Response @@ -43923,7 +44944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *76 + - *81 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -43953,7 +44974,7 @@ paths: - closed - all default: open - - *334 + - *346 - name: type description: Can be the name of an issue type. in: query @@ -43971,8 +44992,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - *17 - *19 responses: @@ -43982,9 +45003,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *335 + default: *347 headers: Link: *41 '404': *6 @@ -44006,7 +45027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *76 + - *81 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44044,7 +45065,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '422': *15 @@ -44064,8 +45085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response if requester is an organization member and user is @@ -44099,8 +45120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -44126,8 +45147,8 @@ paths: parameters: - *17 - *19 - - *76 - - *178 + - *81 + - *188 responses: '200': description: Response @@ -44143,9 +45164,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *348 examples: - default: *337 + default: *349 '304': *35 '500': *38 '401': *23 @@ -44170,9 +45191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *178 - - &338 + - *81 + - *188 + - &350 name: codespace_name in: path required: true @@ -44205,17 +45226,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *76 - - *178 - - *338 + - *81 + - *188 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: &536 + default: &548 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44388,14 +45409,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *120 + schema: *130 examples: default: value: @@ -44464,14 +45485,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '200': description: Response content: application/json: - schema: &339 + schema: &351 title: Org Membership description: Org Membership type: object @@ -44520,7 +45541,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *62 + organization: *67 user: anyOf: - type: 'null' @@ -44540,7 +45561,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &340 + response-if-user-has-an-active-admin-membership-with-organization: &352 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44608,8 +45629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 requestBody: required: false content: @@ -44637,9 +45658,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *351 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *352 '422': *15 '403': *27 x-github: @@ -44663,8 +45684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -44689,7 +45710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *81 - *17 - *19 - name: exclude @@ -44711,7 +45732,7 @@ paths: application/json: schema: type: array - items: &341 + items: &353 title: Migration description: A migration. type: object @@ -44753,7 +45774,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *72 url: type: string format: uri @@ -44968,7 +45989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *81 requestBody: required: true content: @@ -45049,7 +46070,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -45227,8 +46248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &342 + - *81 + - &354 name: migration_id description: The unique identifier of the migration. in: path @@ -45256,7 +46277,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -45425,8 +46446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *342 + - *81 + - *354 responses: '302': description: Response @@ -45447,8 +46468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *342 + - *81 + - *354 responses: '204': description: Response @@ -45471,9 +46492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *342 - - &780 + - *81 + - *354 + - &792 name: repo_name description: repo_name parameter in: path @@ -45500,8 +46521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *342 + - *81 + - *354 - *17 - *19 responses: @@ -45511,9 +46532,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: &352 + default: &364 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45652,7 +46673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -45706,7 +46727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response - list of organization roles @@ -45722,7 +46743,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &355 title: Organization Role description: Organization roles type: object @@ -45884,7 +46905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *76 + - *81 requestBody: required: true content: @@ -45931,7 +46952,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *355 examples: default: value: @@ -45960,7 +46981,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45982,8 +47003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -46008,9 +47029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *76 - - *180 - - *291 + - *81 + - *191 + - *305 responses: '204': description: Response @@ -46039,9 +47060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *76 - - *180 - - *291 + - *81 + - *191 + - *305 responses: '204': description: Response @@ -46066,8 +47087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -46092,9 +47113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *76 - - *178 - - *291 + - *81 + - *188 + - *305 responses: '204': description: Response @@ -46124,9 +47145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *76 - - *178 - - *291 + - *81 + - *188 + - *305 responses: '204': description: Response @@ -46154,14 +47175,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '200': description: Response content: application/json: - schema: *343 + schema: *355 examples: default: value: @@ -46218,8 +47239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *76 - - *291 + - *81 + - *305 requestBody: required: true content: @@ -46258,7 +47279,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *355 examples: default: value: @@ -46286,7 +47307,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *107 + '409': *112 '404': *6 x-github: githubCloudOnly: true @@ -46311,8 +47332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '204': description: Response @@ -46337,8 +47358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *76 - - *291 + - *81 + - *305 - *17 - *19 responses: @@ -46417,7 +47438,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *356 type: description: The ownership type of the team type: string @@ -46450,7 +47471,7 @@ paths: - type - parent examples: - default: *345 + default: *357 headers: Link: *41 '404': @@ -46479,8 +47500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *76 - - *291 + - *81 + - *305 - *17 - *19 responses: @@ -46509,7 +47530,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *344 + items: *356 name: type: - string @@ -46626,7 +47647,7 @@ paths: - type - url examples: - default: *177 + default: *187 headers: Link: *41 '404': @@ -46650,7 +47671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *76 + - *81 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -46677,7 +47698,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -46702,8 +47723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *76 - - *178 + - *81 + - *188 requestBody: required: false content: @@ -46760,8 +47781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -46818,8 +47839,8 @@ paths: - docker - nuget - container - - *76 - - &782 + - *81 + - &793 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46855,12 +47876,12 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *347 + default: *359 '403': *27 '401': *23 - '400': &784 + '400': &795 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46882,7 +47903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &348 + - &360 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 @@ -46900,20 +47921,20 @@ paths: - docker - nuget - container - - &349 + - &361 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *346 + schema: *358 examples: default: value: @@ -46965,9 +47986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *348 - - *349 - - *76 + - *360 + - *361 + - *81 responses: '204': description: Response @@ -46999,9 +48020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *348 - - *349 - - *76 + - *360 + - *361 + - *81 - name: token description: package token schema: @@ -47033,9 +48054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *348 - - *349 - - *76 + - *360 + - *361 + - *81 - *19 - *17 - name: state @@ -47055,7 +48076,7 @@ paths: application/json: schema: type: array - items: &350 + items: &362 title: Package Version description: A version of a software package type: object @@ -47190,10 +48211,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: - - *348 - - *349 - - *76 - - &351 + - *360 + - *361 + - *81 + - &363 name: package_version_id description: Unique identifier of the package version. in: path @@ -47205,7 +48226,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -47241,10 +48262,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - *351 + - *360 + - *361 + - *81 + - *363 responses: '204': description: Response @@ -47276,10 +48297,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - *351 + - *360 + - *361 + - *81 + - *363 responses: '204': description: Response @@ -47306,10 +48327,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *81 - *17 - *19 - - &353 + - &365 name: sort description: The property by which to sort the results. in: query @@ -47319,8 +48340,8 @@ paths: enum: - created_at default: created_at - - *99 - - &354 + - *104 + - &366 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47332,7 +48353,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &355 + - &367 name: repository description: The name of the repository to use to filter the results. in: query @@ -47341,7 +48362,7 @@ paths: type: string examples: - Hello-World - - &356 + - &368 name: permission description: The permission to use to filter the results. in: query @@ -47350,7 +48371,7 @@ paths: type: string examples: - issues_read - - &357 + - &369 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) @@ -47360,7 +48381,7 @@ paths: schema: type: string format: date-time - - &358 + - &370 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) @@ -47370,7 +48391,7 @@ paths: schema: type: string format: date-time - - &359 + - &371 name: token_id description: The ID of the token in: query @@ -47538,7 +48559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *81 requestBody: required: true content: @@ -47605,7 +48626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *76 + - *81 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -47646,7 +48667,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47667,7 +48688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *76 + - *81 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -47687,9 +48708,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -47712,17 +48733,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *76 + - *81 - *17 - *19 - - *353 - - *99 - - *354 - - *355 - - *356 - - *357 - - *358 - - *359 + - *365 + - *104 + - *366 + - *367 + - *368 + - *369 + - *370 + - *371 responses: '500': *38 '422': *15 @@ -47873,7 +48894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *76 + - *81 requestBody: required: true content: @@ -47933,7 +48954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *76 + - *81 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -47963,7 +48984,7 @@ paths: responses: '500': *38 '404': *6 - '204': *129 + '204': *139 '403': *27 '422': *15 x-github: @@ -47985,7 +49006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *76 + - *81 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -48004,9 +49025,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -48030,7 +49051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -48048,7 +49069,7 @@ paths: type: integer configurations: type: array - items: &360 + items: &372 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48139,7 +49160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -48307,7 +49328,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &361 + org-private-registry-with-selected-visibility: &373 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48348,7 +49369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -48398,16 +49419,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *270 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *360 + schema: *372 examples: - default: *361 + default: *373 '404': *6 x-github: githubCloudOnly: false @@ -48428,8 +49449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -48525,8 +49546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -48551,7 +49572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *76 + - *81 - name: state description: Indicates the state of the projects to return. in: query @@ -48572,7 +49593,7 @@ paths: application/json: schema: type: array - items: &362 + items: &374 title: Project description: Projects are a way to organize columns and cards of work. @@ -48728,7 +49749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *76 + - *81 requestBody: required: true content: @@ -48754,7 +49775,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -48792,7 +49813,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &441 + '410': &453 description: Gone content: application/json: @@ -48818,15 +49839,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *81 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *97 - - *98 + - *102 + - *103 - *17 responses: '200': @@ -48835,7 +49856,7 @@ paths: application/json: schema: type: array - items: &363 + items: &375 title: Projects v2 Project description: A projects v2 project type: object @@ -48909,7 +49930,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &868 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48994,7 +50015,7 @@ paths: - deleted_at - deleted_by examples: - default: &364 + default: &376 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49097,22 +50118,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &365 + - &377 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *363 + schema: *375 examples: - default: *364 + default: *376 headers: Link: *41 '304': *35 @@ -49134,11 +50155,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *365 - - *76 + - *377 + - *81 - *17 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -49146,7 +50167,7 @@ paths: application/json: schema: type: array - items: &366 + items: &378 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49296,7 +50317,7 @@ paths: - updated_at - project_url examples: - default: &367 + default: &379 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49339,23 +50360,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *365 - - &801 + - *377 + - &812 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *366 + schema: *378 examples: - default: *367 + default: *379 headers: Link: *41 '304': *35 @@ -49378,8 +50399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *365 - - *76 + - *377 + - *81 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -49388,19 +50409,21 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - - *97 - - *98 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *102 + - *103 - *17 responses: '200': @@ -49409,7 +50432,7 @@ paths: application/json: schema: type: array - items: &372 + items: &384 title: Projects v2 Item description: An item belonging to a project type: object @@ -49426,7 +50449,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &370 + content_type: &382 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49483,7 +50506,7 @@ paths: - updated_at - archived_at examples: - default: &373 + default: &385 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50177,8 +51200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *365 + - *81 + - *377 requestBody: required: true description: Details of the item to add to the project. @@ -50215,7 +51238,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &813 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,8 +51251,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 - - &549 + - *194 + - &561 title: Pull Request Simple description: Pull Request Simple type: object @@ -50349,7 +51372,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *380 active_lock_reason: type: - string @@ -50404,7 +51427,7 @@ paths: type: - array - 'null' - items: *273 + items: *287 head: type: object properties: @@ -50412,7 +51435,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: @@ -50432,7 +51455,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: @@ -50448,7 +51471,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &381 title: Link description: Hypermedia Link type: object @@ -50457,13 +51480,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -50473,8 +51496,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: &655 + author_association: *195 + auto_merge: &667 title: Auto merge description: The status of auto merging a pull request. type: @@ -50576,7 +51599,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *382 creator: *4 created_at: type: string @@ -50613,7 +51636,7 @@ paths: - updated_at - archived_at examples: - issue: &371 + issue: &383 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50668,7 +51691,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: *371 + pull_request: *383 '304': *35 '403': *27 '401': *23 @@ -50688,9 +51711,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: - - *365 - - *76 - - &374 + - *377 + - *81 + - &386 name: item_id description: The unique identifier of the project item. in: path @@ -50698,25 +51721,27 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *372 + schema: *384 examples: - default: *373 + default: *385 headers: Link: *41 '304': *35 @@ -50737,9 +51762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *365 - - *76 - - *374 + - *377 + - *81 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50812,13 +51837,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *384 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *23 '403': *27 '404': *6 @@ -50838,9 +51863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *365 - - *76 - - *374 + - *377 + - *81 + - *386 responses: '204': description: Response @@ -50864,7 +51889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -50872,9 +51897,9 @@ paths: application/json: schema: type: array - items: *125 + items: *135 examples: - default: *126 + default: *136 '403': *27 '404': *6 x-github: @@ -50901,7 +51926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -50912,7 +51937,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *135 minItems: 1 maxItems: 100 required: @@ -50942,9 +51967,9 @@ paths: application/json: schema: type: array - items: *125 + items: *135 examples: - default: *126 + default: *136 '403': *27 '404': *6 x-github: @@ -50965,16 +51990,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *137 responses: '200': description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -50997,13 +52022,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *137 requestBody: required: true content: application/json: - schema: *375 + schema: *387 examples: default: value: @@ -51019,9 +52044,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -51044,10 +52069,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *137 responses: - '204': *129 + '204': *139 '403': *27 '404': *6 x-github: @@ -51068,7 +52093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *76 + - *81 - *17 - *19 - name: repository_query @@ -51109,7 +52134,7 @@ paths: - octocat/Hello-World properties: type: array - items: &376 + items: &388 title: Custom Property Value description: Custom property name and associated value type: object @@ -51179,7 +52204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *76 + - *81 requestBody: required: true content: @@ -51199,7 +52224,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *376 + items: *388 required: - repository_names - properties @@ -51240,7 +52265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *76 + - *81 - *17 - *19 responses: @@ -51252,7 +52277,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -51271,8 +52296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response if user is a public member @@ -51296,8 +52321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -51318,8 +52343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -51343,7 +52368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *76 + - *81 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -51390,9 +52415,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -51413,7 +52438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *81 requestBody: required: true content: @@ -51596,7 +52621,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &455 title: Full Repository description: Full Repository type: object @@ -51942,7 +52967,7 @@ paths: template_repository: anyOf: - type: 'null' - - *67 + - *72 temp_clone_token: type: - string @@ -52042,13 +53067,13 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 organization: anyOf: - type: 'null' - *4 - parent: *67 - source: *67 + parent: *72 + source: *72 forks: type: integer master_branch: @@ -52061,7 +53086,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &566 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -52091,7 +53116,7 @@ paths: - key - name - html_url - security_and_analysis: *377 + security_and_analysis: *389 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52175,7 +53200,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &457 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52693,7 +53718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -52701,9 +53726,9 @@ paths: application/json: schema: type: array - items: *378 + items: *390 examples: - default: *379 + default: *391 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52725,10 +53750,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - *17 - *19 - - &678 + - &690 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52747,7 +53772,7 @@ paths: application/json: schema: type: array - items: *158 + items: *168 examples: default: value: @@ -52794,7 +53819,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 requestBody: description: Request body required: true @@ -52815,30 +53840,20 @@ paths: - push - repository default: branch - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *147 + conditions: *392 rules: type: array description: An array of rules within the ruleset. - items: &382 + items: &394 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - *148 - *149 - *150 @@ -52849,6 +53864,16 @@ paths: - *155 - *156 - *157 + - *158 + - *159 + - *160 + - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 required: - name - enforcement @@ -52886,9 +53911,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: &381 + default: &393 value: id: 21 name: super cool ruleset @@ -52942,8 +53967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &680 + - *81 + - &692 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 @@ -52953,16 +53978,16 @@ paths: schema: type: string x-multi-segment: true - - *270 - - *94 - - &681 + - *284 + - *99 + - &693 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 - - &682 + - &694 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52982,7 +54007,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &695 title: Rule Suites description: Response type: array @@ -53038,7 +54063,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &684 + default: &696 value: - id: 21 actor_id: 12 @@ -53081,8 +54106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &685 + - *81 + - &697 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53098,7 +54123,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &698 title: Rule Suite description: Response type: object @@ -53205,7 +54230,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &687 + default: &699 value: id: 21 actor_id: 12 @@ -53266,7 +54291,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53278,9 +54303,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *381 + default: *393 '404': *6 '500': *38 put: @@ -53298,7 +54323,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53324,16 +54349,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *147 + conditions: *392 rules: description: An array of rules within the ruleset. type: array - items: *382 + items: *394 examples: default: value: @@ -53368,9 +54393,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *381 + default: *393 '404': *6 '500': *38 delete: @@ -53388,7 +54413,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53411,7 +54436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *81 - *17 - *19 - name: ruleset_id @@ -53427,9 +54452,9 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: - default: *383 + default: *395 '404': *6 '500': *38 x-github: @@ -53448,7 +54473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53466,7 +54491,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *396 examples: default: value: @@ -53528,15 +54553,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *76 - - *385 - - *386 - - *387 - - *388 - - *99 + - *81 + - *397 + - *398 + - *399 + - *400 + - *104 - *19 - *17 - - &689 + - &701 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 @@ -53546,7 +54571,7 @@ paths: required: false schema: type: string - - &690 + - &702 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 @@ -53556,10 +54581,10 @@ paths: required: false schema: type: string - - *389 - - *390 - - *391 - - *392 + - *401 + - *402 + - *403 + - *404 responses: '200': description: Response @@ -53567,13 +54592,13 @@ paths: application/json: schema: type: array - items: *393 + items: *405 examples: - default: *394 + default: *406 headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53598,15 +54623,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *395 + schema: *407 examples: - default: *396 + default: *408 '403': *27 '404': *6 patch: @@ -53627,7 +54652,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *81 requestBody: required: true content: @@ -53635,7 +54660,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *175 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53661,7 +54686,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *175 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53697,7 +54722,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 "/orgs/{org}/security-advisories": get: @@ -53715,8 +54740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *76 - - *99 + - *81 + - *104 - name: sort description: The property to sort the results by. in: query @@ -53728,8 +54753,8 @@ paths: - updated - published default: created - - *97 - - *98 + - *102 + - *103 - name: per_page description: The number of advisories to return per page. 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)." @@ -53759,7 +54784,7 @@ paths: application/json: schema: type: array - items: &711 + items: &723 description: A repository security advisory. type: object properties: @@ -53967,7 +54992,7 @@ paths: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: - array @@ -54003,7 +55028,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *409 credits_detailed: type: - array @@ -54014,7 +55039,7 @@ paths: type: object properties: user: *4 - type: *397 + type: *409 state: type: string description: The state of the user's acceptance of the @@ -54040,13 +55065,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *287 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *108 + - *113 type: - 'null' required: @@ -54078,7 +55103,7 @@ paths: - private_fork additionalProperties: false examples: - default: &712 + default: &724 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54457,7 +55482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *81 responses: '200': description: Response @@ -54465,9 +55490,9 @@ paths: application/json: schema: type: array - items: *344 + items: *356 examples: - default: *345 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54490,8 +55515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -54516,8 +55541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -54546,15 +55571,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *398 + schema: *410 examples: - default: *399 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54578,8 +55603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *76 - - *400 + - *81 + - *412 - *17 - *19 responses: @@ -54587,9 +55612,9 @@ paths: description: Success content: application/json: - schema: *401 + schema: *413 examples: - default: *402 + default: *414 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54611,15 +55636,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *403 + schema: *415 examples: - default: *404 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54641,15 +55666,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *405 + schema: *417 examples: - default: *406 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54669,7 +55694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Immutable releases settings response @@ -54719,7 +55744,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -54777,7 +55802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *81 - *19 - *17 responses: @@ -54795,9 +55820,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54816,7 +55841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *81 requestBody: required: true content: @@ -54865,8 +55890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *240 + - *81 + - *254 responses: '204': description: Response @@ -54888,8 +55913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *240 + - *81 + - *254 responses: '204': description: Response @@ -54912,7 +55937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -54930,9 +55955,9 @@ paths: type: integer network_configurations: type: array - items: *122 + items: *132 examples: - default: *407 + default: *419 headers: Link: *41 x-github: @@ -54953,7 +55978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -54995,9 +56020,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55017,16 +56042,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *124 + - *81 + - *134 responses: '200': description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 headers: Link: *41 x-github: @@ -55047,8 +56072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *124 + - *81 + - *134 requestBody: required: true content: @@ -55087,9 +56112,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55108,8 +56133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *76 - - *124 + - *81 + - *134 responses: '204': description: Response @@ -55132,16 +56157,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *76 - - *408 + - *81 + - *420 responses: '200': description: Response content: application/json: - schema: *409 + schema: *421 examples: - default: *410 + default: *422 headers: Link: *41 x-github: @@ -55160,7 +56185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -55179,7 +56204,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &444 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55231,7 +56256,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &433 + default: &445 value: groups: - group_id: '123' @@ -55276,8 +56301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *76 - - *180 + - *81 + - *191 - 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`). @@ -55309,13 +56334,13 @@ paths: application/json: schema: type: array - items: *171 + items: *181 examples: - default: *172 + default: *182 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55333,7 +56358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *76 + - *81 - *17 - *19 responses: @@ -55343,9 +56368,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 headers: Link: *41 '403': *27 @@ -55367,7 +56392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *76 + - *81 requestBody: required: true content: @@ -55439,7 +56464,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &423 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55513,7 +56538,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *356 members_count: type: integer examples: @@ -55838,7 +56863,7 @@ paths: - repos_count - organization examples: - default: &412 + default: &424 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55908,16 +56933,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *76 - - *180 + - *81 + - *191 responses: '200': description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 x-github: githubCloudOnly: false @@ -55938,8 +56963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: false content: @@ -56002,16 +57027,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '201': description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 '422': *15 '403': *27 @@ -56036,8 +57061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -56063,9 +57088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *76 - - *180 - - *99 + - *81 + - *191 + - *104 - *17 - *19 - name: pinned @@ -56081,7 +57106,7 @@ paths: application/json: schema: type: array - items: &413 + items: &425 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56172,7 +57197,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *196 required: - author - body @@ -56192,7 +57217,7 @@ paths: - updated_at - url examples: - default: &755 + default: &767 value: - author: login: octocat @@ -56266,8 +57291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: true content: @@ -56301,9 +57326,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: &414 + default: &426 value: author: login: octocat @@ -56375,9 +57400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *76 - - *180 - - &415 + - *81 + - *191 + - &427 name: discussion_number description: The number that identifies the discussion. in: path @@ -56389,9 +57414,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *414 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56413,9 +57438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 requestBody: required: false content: @@ -56438,9 +57463,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: &756 + default: &768 value: author: login: octocat @@ -56510,9 +57535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 responses: '204': description: Response @@ -56538,10 +57563,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *76 - - *180 - - *415 - - *99 + - *81 + - *191 + - *427 + - *104 - *17 - *19 responses: @@ -56551,7 +57576,7 @@ paths: application/json: schema: type: array - items: &416 + items: &428 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56616,7 +57641,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *196 required: - author - body @@ -56631,7 +57656,7 @@ paths: - updated_at - url examples: - default: &757 + default: &769 value: - author: login: octocat @@ -56699,9 +57724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 requestBody: required: true content: @@ -56723,9 +57748,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: &417 + default: &429 value: author: login: octocat @@ -56791,10 +57816,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - &418 + - *81 + - *191 + - *427 + - &430 name: comment_number description: The number that identifies the comment. in: path @@ -56806,9 +57831,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *417 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56830,10 +57855,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 requestBody: required: true content: @@ -56855,9 +57880,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: &758 + default: &770 value: author: login: octocat @@ -56921,10 +57946,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 responses: '204': description: Response @@ -56950,10 +57975,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56979,7 +58004,7 @@ paths: application/json: schema: type: array - items: &419 + items: &431 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57023,7 +58048,7 @@ paths: - content - created_at examples: - default: &421 + default: &433 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57073,10 +58098,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 requestBody: required: true content: @@ -57109,9 +58134,9 @@ paths: team discussion comment content: application/json: - schema: *419 + schema: *431 examples: - default: &420 + default: &432 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57140,9 +58165,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57165,11 +58190,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *76 - - *180 - - *415 - - *418 - - &422 + - *81 + - *191 + - *427 + - *430 + - &434 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57201,9 +58226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 - 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. @@ -57229,9 +58254,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 x-github: @@ -57257,9 +58282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 requestBody: required: true content: @@ -57291,16 +58316,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57323,10 +58348,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *76 - - *180 - - *415 - - *422 + - *81 + - *191 + - *427 + - *434 responses: '204': description: Response @@ -57349,16 +58374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '200': description: Response content: application/json: - schema: *423 + schema: *435 examples: - default: *424 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57377,8 +58402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: true content: @@ -57402,9 +58427,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *437 examples: - default: *426 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57423,8 +58448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -57448,8 +58473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -57459,9 +58484,9 @@ paths: application/json: schema: type: array - items: *328 + items: *340 examples: - default: *329 + default: *341 headers: Link: *41 x-github: @@ -57483,8 +58508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *76 - - *180 + - *81 + - *191 - name: role description: Filters members returned by their role in the team. in: query @@ -57507,7 +58532,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -57537,15 +58562,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *191 + - *188 responses: '200': description: Response content: application/json: - schema: &427 + schema: &439 title: Team Membership description: Team Membership type: object @@ -57573,7 +58598,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &759 + response-if-user-is-a-team-maintainer: &771 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57609,9 +58634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *191 + - *188 requestBody: required: false content: @@ -57636,9 +58661,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *439 examples: - response-if-users-membership-with-team-is-now-pending: &760 + response-if-users-membership-with-team-is-now-pending: &772 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57673,9 +58698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *191 + - *188 responses: '204': description: Response @@ -57700,8 +58725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -57711,7 +58736,7 @@ paths: application/json: schema: type: array - items: &428 + items: &440 title: Team Project description: A team's access to a project. type: object @@ -57780,7 +58805,7 @@ paths: - updated_at - permissions examples: - default: &761 + default: &773 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57843,9 +58868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *76 - - *180 - - &429 + - *81 + - *191 + - &441 name: project_id description: The unique identifier of the project. in: path @@ -57857,9 +58882,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *440 examples: - default: &762 + default: &774 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57921,9 +58946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *76 - - *180 - - *429 + - *81 + - *191 + - *441 requestBody: required: false content: @@ -57990,9 +59015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *76 - - *180 - - *429 + - *81 + - *191 + - *441 responses: '204': description: Response @@ -58019,8 +59044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -58030,9 +59055,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -58061,16 +59086,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *191 + - *442 + - *443 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &763 + schema: &775 title: Team Repository description: A team's access to a repository. type: object @@ -58096,7 +59121,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 forks: type: integer permissions: @@ -58711,10 +59736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *191 + - *442 + - *443 requestBody: required: false content: @@ -58759,10 +59784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *191 + - *442 + - *443 responses: '204': description: Response @@ -58788,16 +59813,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '200': description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58819,8 +59844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: true content: @@ -58863,7 +59888,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: default: value: @@ -58895,8 +59920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -58906,9 +59931,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - response-if-child-teams-exist: &764 + response-if-child-teams-exist: &776 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58961,7 +59986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *76 + - *81 - name: security_product in: path description: The security feature to enable or disable. @@ -59035,7 +60060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &434 + - &446 name: card_id description: The unique identifier of the card. in: path @@ -59047,7 +60072,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &447 title: Project Card description: Project cards represent a scope of work. type: object @@ -59122,7 +60147,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &448 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59178,7 +60203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *434 + - *446 requestBody: required: false content: @@ -59208,9 +60233,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '304': *35 '403': *27 '401': *23 @@ -59237,7 +60262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *434 + - *446 responses: '204': description: Response @@ -59281,7 +60306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *434 + - *446 requestBody: required: true content: @@ -59394,7 +60419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &437 + - &449 name: column_id description: The unique identifier of the column. in: path @@ -59406,7 +60431,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &450 title: Project Column description: Project columns contain cards of work. type: object @@ -59460,7 +60485,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &451 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59495,7 +60520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *437 + - *449 requestBody: required: true content: @@ -59520,9 +60545,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *450 examples: - default: *439 + default: *451 '304': *35 '403': *27 '401': *23 @@ -59547,7 +60572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *437 + - *449 responses: '204': description: Response @@ -59576,7 +60601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *437 + - *449 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59597,7 +60622,7 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: default: value: @@ -59656,7 +60681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *437 + - *449 requestBody: required: true content: @@ -59700,9 +60725,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '304': *35 '403': *27 '401': *23 @@ -59712,8 +60737,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *235 + - *236 '503': description: Response content: @@ -59758,7 +60783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *437 + - *449 requestBody: required: true content: @@ -59819,15 +60844,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *429 + - *441 responses: '200': description: Response content: application/json: - schema: *362 + schema: *374 examples: - default: &440 + default: &452 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59884,7 +60909,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *429 + - *441 requestBody: required: false content: @@ -59933,9 +60958,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: - default: *440 + default: *452 '404': description: Not Found if the authenticated user does not have access to the project @@ -59956,7 +60981,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *453 '422': *7 x-github: githubCloudOnly: false @@ -59979,7 +61004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *429 + - *441 responses: '204': description: Delete Success @@ -60000,7 +61025,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *453 '404': *6 x-github: githubCloudOnly: false @@ -60024,7 +61049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *429 + - *441 - 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 @@ -60051,7 +61076,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '404': *6 @@ -60081,8 +61106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *429 - - *178 + - *441 + - *188 requestBody: required: false content: @@ -60136,8 +61161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *429 - - *178 + - *441 + - *188 responses: '204': description: Response @@ -60168,8 +61193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *429 - - *178 + - *441 + - *188 responses: '200': description: Response @@ -60239,7 +61264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *429 + - *441 - *17 - *19 responses: @@ -60249,7 +61274,7 @@ paths: application/json: schema: type: array - items: *438 + items: *450 examples: default: value: @@ -60287,7 +61312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *429 + - *441 requestBody: required: true content: @@ -60311,7 +61336,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *450 examples: default: value: @@ -60376,7 +61401,7 @@ paths: resources: type: object properties: - core: &442 + core: &454 title: Rate Limit type: object properties: @@ -60393,21 +61418,21 @@ paths: - remaining - reset - used - graphql: *442 - search: *442 - code_search: *442 - source_import: *442 - integration_manifest: *442 - code_scanning_upload: *442 - actions_runner_registration: *442 - scim: *442 - dependency_snapshots: *442 - dependency_sbom: *442 - code_scanning_autofix: *442 + graphql: *454 + search: *454 + code_search: *454 + source_import: *454 + integration_manifest: *454 + code_scanning_upload: *454 + actions_runner_registration: *454 + scim: *454 + dependency_snapshots: *454 + dependency_sbom: *454 + code_scanning_autofix: *454 required: - core - search - rate: *442 + rate: *454 required: - rate - resources @@ -60512,14 +61537,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *443 + schema: *455 examples: default-response: summary: Default response @@ -61024,7 +62049,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61042,8 +62067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -61301,10 +62326,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 - '307': &446 + default: *457 + '307': &458 description: Temporary Redirect content: application/json: @@ -61333,8 +62358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -61356,9 +62381,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *446 + '307': *458 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61380,11 +62405,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - - &461 + - &473 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61407,7 +62432,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &459 title: Artifact description: An artifact type: object @@ -61502,7 +62527,7 @@ paths: - expires_at - updated_at examples: - default: &462 + default: &474 value: total_count: 2 artifacts: @@ -61563,9 +62588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *430 - - *431 - - &448 + - *442 + - *443 + - &460 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61577,7 +62602,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *459 examples: default: value: @@ -61615,9 +62640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *430 - - *431 - - *448 + - *442 + - *443 + - *460 responses: '204': description: Response @@ -61641,9 +62666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *430 - - *431 - - *448 + - *442 + - *443 + - *460 - name: archive_format in: path required: true @@ -61657,7 +62682,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': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61680,14 +62705,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *449 + schema: *461 examples: default: value: @@ -61713,11 +62738,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: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - - &450 + - &462 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 @@ -61745,13 +62770,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *99 + - *104 responses: '200': description: Response content: application/json: - schema: &451 + schema: &463 title: Repository actions caches description: Repository actions caches type: object @@ -61801,7 +62826,7 @@ paths: - total_count - actions_caches examples: - default: &452 + default: &464 value: total_count: 1 actions_caches: @@ -61833,23 +62858,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: - - *430 - - *431 + - *442 + - *443 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *450 + - *462 responses: '200': description: Response content: application/json: - schema: *451 + schema: *463 examples: - default: *452 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61869,8 +62894,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: - - *430 - - *431 + - *442 + - *443 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61901,9 +62926,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: - - *430 - - *431 - - &453 + - *442 + - *443 + - &465 name: job_id description: The unique identifier of the job. in: path @@ -61915,7 +62940,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &477 title: Job description: Information of a job execution in a workflow run type: object @@ -62262,9 +63287,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: - - *430 - - *431 - - *453 + - *442 + - *443 + - *465 responses: '302': description: Response @@ -62292,9 +63317,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: - - *430 - - *431 - - *453 + - *442 + - *443 + - *465 requestBody: required: false content: @@ -62316,7 +63341,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -62340,8 +63365,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Status response @@ -62391,8 +63416,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -62426,7 +63451,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -62455,8 +63480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -62474,7 +63499,7 @@ paths: type: integer secrets: type: array - items: &467 + items: &479 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62495,7 +63520,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &480 value: total_count: 2 secrets: @@ -62528,9 +63553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *430 - - *431 - - *454 + - *442 + - *443 + - *466 - *19 responses: '200': @@ -62547,7 +63572,7 @@ paths: type: integer variables: type: array - items: &471 + items: &483 title: Actions Variable type: object properties: @@ -62581,7 +63606,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &484 value: total_count: 2 variables: @@ -62614,8 +63639,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -62624,12 +63649,12 @@ paths: schema: type: object properties: - enabled: &455 + enabled: &467 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *49 - selected_actions_url: *233 - sha_pinning_required: *50 + allowed_actions: *54 + selected_actions_url: *247 + sha_pinning_required: *55 required: - enabled examples: @@ -62659,8 +63684,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -62671,9 +63696,9 @@ paths: schema: type: object properties: - enabled: *455 - allowed_actions: *49 - sha_pinning_required: *50 + enabled: *467 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled examples: @@ -62704,14 +63729,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: &456 + schema: &468 type: object properties: access_level: @@ -62729,7 +63754,7 @@ paths: required: - access_level examples: - default: &457 + default: &469 value: access_level: organization x-github: @@ -62754,15 +63779,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: application/json: - schema: *456 + schema: *468 examples: - default: *457 + default: *469 responses: '204': description: Response @@ -62786,14 +63811,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *235 + schema: *249 examples: default: value: @@ -62817,8 +63842,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Empty response for successful settings update @@ -62828,7 +63853,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *250 examples: default: summary: Set retention days @@ -62852,16 +63877,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *51 + schema: *56 examples: - default: *237 + default: *251 '404': *6 x-github: enabledForGitHubApps: true @@ -62880,8 +63905,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -62891,7 +63916,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -62915,16 +63940,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *238 + schema: *252 examples: - default: *52 + default: *57 '403': *27 '404': *6 x-github: @@ -62944,15 +63969,15 @@ 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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: application/json: - schema: *239 + schema: *253 examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -62976,16 +64001,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *54 + schema: *59 examples: - default: *55 + default: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63008,8 +64033,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -63017,9 +64042,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63041,16 +64066,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *242 + schema: *256 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63071,8 +64096,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Success response @@ -63083,9 +64108,9 @@ paths: required: true content: application/json: - schema: *243 + schema: *257 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63112,8 +64137,8 @@ paths: in: query schema: type: string - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -63131,9 +64156,9 @@ paths: type: integer runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -63157,8 +64182,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -63166,9 +64191,9 @@ paths: application/json: schema: type: array - items: *247 + items: *261 examples: - default: *248 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63190,8 +64215,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -63234,10 +64259,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *263 '404': *6 '422': *7 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63265,16 +64290,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *250 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63302,16 +64327,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *251 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63333,17 +64358,17 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: *252 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63364,9 +64389,9 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: '204': description: Response @@ -63392,11 +64417,11 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: - '200': *70 + '200': *75 '404': *6 x-github: githubCloudOnly: false @@ -63418,9 +64443,9 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 requestBody: required: true content: @@ -63444,7 +64469,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63468,9 +64493,9 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 requestBody: required: true content: @@ -63495,7 +64520,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63519,11 +64544,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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: - '200': *253 + '200': *267 '404': *6 x-github: githubCloudOnly: false @@ -63550,12 +64575,12 @@ 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: - - *430 - - *431 - - *64 - - *254 + - *442 + - *443 + - *69 + - *268 responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63581,9 +64606,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: - - *430 - - *431 - - &475 + - *442 + - *443 + - &487 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. @@ -63591,7 +64616,7 @@ paths: required: false schema: type: string - - &476 + - &488 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63599,7 +64624,7 @@ paths: required: false schema: type: string - - &477 + - &489 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63608,7 +64633,7 @@ paths: required: false schema: type: string - - &478 + - &490 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 @@ -63635,7 +64660,7 @@ paths: - pending - *17 - *19 - - &479 + - &491 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)." @@ -63644,7 +64669,7 @@ paths: schema: type: string format: date-time - - &458 + - &470 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63653,13 +64678,13 @@ paths: schema: type: boolean default: false - - &480 + - &492 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &481 + - &493 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63682,7 +64707,7 @@ paths: type: integer workflow_runs: type: array - items: &459 + items: &471 title: Workflow Run description: An invocation of a workflow type: object @@ -63799,7 +64824,7 @@ paths: type: - array - 'null' - items: *187 + items: *198 created_at: type: string format: date-time @@ -63860,7 +64885,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &515 title: Simple Commit description: A commit. type: object @@ -63934,8 +64959,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *260 + head_repository: *260 head_repository_id: type: integer examples: @@ -63975,7 +65000,7 @@ paths: - workflow_url - pull_requests examples: - default: &482 + default: &494 value: total_count: 1 workflow_runs: @@ -64211,24 +65236,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *430 - - *431 - - &460 + - *442 + - *443 + - &472 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *458 + - *470 responses: '200': description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: &463 + default: &475 value: id: 30433642 name: Build @@ -64469,9 +65494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '204': description: Response @@ -64494,9 +65519,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '200': description: Response @@ -64624,15 +65649,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -64659,12 +65684,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 - *17 - *19 - - *461 + - *473 responses: '200': description: Response @@ -64680,9 +65705,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *459 examples: - default: *462 + default: *474 headers: Link: *41 x-github: @@ -64706,25 +65731,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *430 - - *431 - - *460 - - &464 + - *442 + - *443 + - *472 + - &476 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *458 + - *470 responses: '200': description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *463 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,10 +65772,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: - - *430 - - *431 - - *460 - - *464 + - *442 + - *443 + - *472 + - *476 - *17 - *19 responses: @@ -64768,9 +65793,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *477 examples: - default: &466 + default: &478 value: total_count: 1 jobs: @@ -64883,10 +65908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *430 - - *431 - - *460 - - *464 + - *442 + - *443 + - *472 + - *476 responses: '302': description: Response @@ -64914,19 +65939,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '202': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64949,9 +65974,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: true content: @@ -65018,19 +66043,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '202': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65053,9 +66078,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 - 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 @@ -65085,9 +66110,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *477 examples: - default: *466 + default: *478 headers: Link: *41 x-github: @@ -65112,9 +66137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '302': description: Response @@ -65141,9 +66166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '204': description: Response @@ -65170,9 +66195,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '200': description: Response @@ -65241,7 +66266,7 @@ paths: items: type: object properties: - type: &583 + type: &595 type: string description: The type of reviewer. enum: @@ -65252,7 +66277,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *287 required: - environment - wait_timer @@ -65327,9 +66352,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: true content: @@ -65379,7 +66404,7 @@ paths: application/json: schema: type: array - items: &569 + items: &581 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65491,7 +66516,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &582 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65547,9 +66572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: false content: @@ -65571,7 +66596,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -65594,9 +66619,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: false content: @@ -65618,7 +66643,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -65651,9 +66676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '200': description: Response @@ -65790,8 +66815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -65809,9 +66834,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *479 examples: - default: *468 + default: *480 headers: Link: *41 x-github: @@ -65836,16 +66861,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *469 + schema: *481 examples: - default: *470 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65867,17 +66892,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '200': description: Response content: application/json: - schema: *467 + schema: *479 examples: - default: &596 + default: &608 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65903,9 +66928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 requestBody: required: true content: @@ -65936,7 +66961,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -65962,9 +66987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '204': description: Response @@ -65989,9 +67014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *430 - - *431 - - *454 + - *442 + - *443 + - *466 - *19 responses: '200': @@ -66008,9 +67033,9 @@ paths: type: integer variables: type: array - items: *471 + items: *483 examples: - default: *472 + default: *484 headers: Link: *41 x-github: @@ -66033,8 +67058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -66061,7 +67086,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -66086,17 +67111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *442 + - *443 + - *273 responses: '200': description: Response content: application/json: - schema: *471 + schema: *483 examples: - default: &597 + default: &609 value: name: USERNAME value: octocat @@ -66122,9 +67147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *442 + - *443 + - *273 requestBody: required: true content: @@ -66166,9 +67191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *442 + - *443 + - *273 responses: '204': description: Response @@ -66193,8 +67218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -66212,7 +67237,7 @@ paths: type: integer workflows: type: array - items: &473 + items: &485 title: Workflow description: A GitHub Actions workflow type: object @@ -66330,9 +67355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *430 - - *431 - - &474 + - *442 + - *443 + - &486 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66347,7 +67372,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *485 examples: default: value: @@ -66380,9 +67405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '204': description: Response @@ -66407,9 +67432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '204': description: Response @@ -66460,9 +67485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '204': description: Response @@ -66489,19 +67514,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: - - *430 - - *431 - - *474 - - *475 - - *476 - - *477 - - *478 + - *442 + - *443 + - *486 + - *487 + - *488 + - *489 + - *490 - *17 - *19 - - *479 - - *458 - - *480 - - *481 + - *491 + - *470 + - *492 + - *493 responses: '200': description: Response @@ -66517,9 +67542,9 @@ paths: type: integer workflow_runs: type: array - items: *459 + items: *471 examples: - default: *482 + default: *494 headers: Link: *41 x-github: @@ -66552,9 +67577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '200': description: Response @@ -66615,12 +67640,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *430 - - *431 - - *99 + - *442 + - *443 + - *104 - *17 - - *97 - - *98 + - *102 + - *103 - name: ref description: |- The Git reference for the activities you want to list. @@ -66784,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -66797,7 +67822,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '404': *6 @@ -66822,8 +67847,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: - - *430 - - *431 + - *442 + - *443 - name: assignee in: path required: true @@ -66859,8 +67884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -66972,11 +67997,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *430 - - *431 + - *442 + - *443 - *17 - - *97 - - *98 + - *102 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -67029,7 +68054,7 @@ paths: initiator: type: string examples: - default: *483 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67049,8 +68074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -67058,7 +68083,7 @@ paths: application/json: schema: type: array - items: &484 + items: &496 title: Autolink reference description: An autolink reference. type: object @@ -67117,8 +68142,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -67157,9 +68182,9 @@ paths: description: response content: application/json: - schema: *484 + schema: *496 examples: - default: &485 + default: &497 value: id: 1 key_prefix: TICKET- @@ -67190,9 +68215,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: - - *430 - - *431 - - &486 + - *442 + - *443 + - &498 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67204,9 +68229,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *496 examples: - default: *485 + default: *497 '404': *6 x-github: githubCloudOnly: false @@ -67226,9 +68251,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: - - *430 - - *431 - - *486 + - *442 + - *443 + - *498 responses: '204': description: Response @@ -67252,8 +68277,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response if Dependabot is enabled @@ -67303,8 +68328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -67325,8 +68350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -67346,8 +68371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *430 - - *431 + - *442 + - *443 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67385,7 +68410,7 @@ paths: - url protected: type: boolean - protection: &488 + protection: &500 title: Branch Protection description: Branch Protection type: object @@ -67428,7 +68453,7 @@ paths: required: - contexts - checks - enforce_admins: &491 + enforce_admins: &503 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67445,7 +68470,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &493 + required_pull_request_reviews: &505 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67467,7 +68492,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *287 apps: description: The list of apps with review dismissal access. @@ -67499,7 +68524,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *287 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67529,7 +68554,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &490 + restrictions: &502 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67592,7 +68617,7 @@ paths: type: string teams: type: array - items: *273 + items: *287 apps: type: array items: @@ -67822,9 +68847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *430 - - *431 - - &489 + - *442 + - *443 + - &501 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). @@ -67838,14 +68863,14 @@ paths: description: Response content: application/json: - schema: &499 + schema: &511 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &557 title: Commit description: Commit type: object @@ -67884,7 +68909,7 @@ paths: author: anyOf: - type: 'null' - - &487 + - &499 title: Git User description: Metaproperties for Git author/committer information. @@ -67905,7 +68930,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *499 message: type: string examples: @@ -67929,7 +68954,7 @@ paths: required: - sha - url - verification: &603 + verification: &615 title: Verification type: object properties: @@ -67965,14 +68990,14 @@ paths: author: oneOf: - *4 - - *257 + - *271 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *271 type: - 'null' - object @@ -68009,7 +69034,7 @@ paths: type: integer files: type: array - items: &556 + items: &568 title: Diff Entry description: Diff Entry type: object @@ -68105,7 +69130,7 @@ paths: - self protected: type: boolean - protection: *488 + protection: *500 protection_url: type: string format: uri @@ -68214,7 +69239,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *456 '404': *6 x-github: githubCloudOnly: false @@ -68236,15 +69261,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *488 + schema: *500 examples: default: value: @@ -68438,9 +69463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -68700,7 +69725,7 @@ paths: url: type: string format: uri - required_status_checks: &496 + required_status_checks: &508 title: Status Check Policy description: Status Check Policy type: object @@ -68781,7 +69806,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *287 apps: type: array items: *5 @@ -68799,7 +69824,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *287 apps: type: array items: *5 @@ -68859,7 +69884,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *490 + restrictions: *502 required_conversation_resolution: type: object properties: @@ -68971,9 +69996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -68998,17 +70023,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: &492 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69030,17 +70055,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: *492 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69059,9 +70084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69086,17 +70111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *493 + schema: *505 examples: - default: &494 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69192,9 +70217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69292,9 +70317,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *505 examples: - default: *494 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -69315,9 +70340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69344,17 +70369,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: &495 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69377,17 +70402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: *495 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -69407,9 +70432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69434,17 +70459,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *496 + schema: *508 examples: - default: &497 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69470,9 +70495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69524,9 +70549,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *508 examples: - default: *497 + default: *509 '404': *6 '422': *15 x-github: @@ -69548,9 +70573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69574,9 +70599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -69610,9 +70635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69679,9 +70704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69745,9 +70770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: content: application/json: @@ -69813,15 +70838,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *490 + schema: *502 examples: default: value: @@ -69912,9 +70937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69937,9 +70962,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: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -69949,7 +70974,7 @@ paths: type: array items: *5 examples: - default: &498 + default: &510 value: - id: 1 slug: octoapp @@ -70006,9 +71031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70042,7 +71067,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -70063,9 +71088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70099,7 +71124,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -70120,9 +71145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70156,7 +71181,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -70178,9 +71203,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: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -70188,9 +71213,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -70210,9 +71235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -70248,9 +71273,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '422': *15 x-github: githubCloudOnly: false @@ -70271,9 +71296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -70309,9 +71334,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '422': *15 x-github: githubCloudOnly: false @@ -70332,9 +71357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: content: application/json: @@ -70369,9 +71394,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '422': *15 x-github: githubCloudOnly: false @@ -70393,9 +71418,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: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -70405,7 +71430,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '404': *6 x-github: githubCloudOnly: false @@ -70429,9 +71454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70464,7 +71489,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -70489,9 +71514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70524,7 +71549,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -70549,9 +71574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70584,7 +71609,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -70611,9 +71636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70635,7 +71660,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *511 examples: default: value: @@ -70749,12 +71774,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *95 + - *442 + - *443 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -70764,9 +71789,9 @@ paths: application/json: schema: type: array - items: *268 + items: *282 examples: - default: *269 + default: *283 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70786,8 +71811,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_request_number in: path required: true @@ -70801,7 +71826,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *282 examples: default: value: @@ -70860,12 +71885,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *95 + - *442 + - *443 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -70875,9 +71900,9 @@ paths: application/json: schema: type: array - items: *271 + items: *285 examples: - default: *272 + default: *286 '404': *6 '403': *27 '500': *38 @@ -70901,8 +71926,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_request_number in: path required: true @@ -70914,7 +71939,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *285 examples: default: value: @@ -70972,8 +71997,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_request_number in: path required: true @@ -71044,8 +72069,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_response_id in: path required: true @@ -71078,8 +72103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -71358,7 +72383,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &512 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71493,8 +72518,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *198 + deployment: &829 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71781,9 +72806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *430 - - *431 - - &501 + - *442 + - *443 + - &513 name: check_run_id description: The unique identifier of the check run. in: path @@ -71795,9 +72820,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *512 examples: - default: &502 + default: &514 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71897,9 +72922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *430 - - *431 - - *501 + - *442 + - *443 + - *513 requestBody: required: true content: @@ -72139,9 +73164,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *512 examples: - default: *502 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +73186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *430 - - *431 - - *501 + - *442 + - *443 + - *513 - *17 - *19 responses: @@ -72273,15 +73298,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *430 - - *431 - - *501 + - *442 + - *443 + - *513 responses: '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -72319,8 +73344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -72342,7 +73367,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &516 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72424,12 +73449,12 @@ paths: type: - array - 'null' - items: *187 + items: *198 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *260 created_at: type: - string @@ -72440,7 +73465,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *515 latest_check_runs_count: type: integer check_runs_url: @@ -72468,7 +73493,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &517 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72759,9 +73784,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *516 examples: - default: *505 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72780,8 +73805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -72842,7 +73867,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *260 examples: default: value: @@ -73090,9 +74115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *430 - - *431 - - &506 + - *442 + - *443 + - &518 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73104,9 +74129,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *516 examples: - default: *505 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,17 +74154,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: - - *430 - - *431 - - *506 - - &551 + - *442 + - *443 + - *518 + - &563 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &564 name: status description: Returns check runs with the specified `status`. in: query @@ -73178,9 +74203,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *512 examples: - default: &553 + default: &565 value: total_count: 1 check_runs: @@ -73282,15 +74307,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *430 - - *431 - - *506 + - *442 + - *443 + - *518 responses: '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -73317,30 +74342,30 @@ 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: - - *430 - - *431 - - *277 - - *278 + - *442 + - *443 + - *291 + - *292 - *19 - *17 - - &522 + - &534 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: *507 - - &523 + schema: *519 + - &535 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *99 - - *97 - - *98 + - *104 + - *102 + - *103 - name: sort description: The property by which to sort the results. in: query @@ -73356,13 +74381,13 @@ paths: be returned. in: query required: false - schema: *279 + schema: *293 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *508 + schema: *520 responses: '200': description: Response @@ -73373,24 +74398,24 @@ paths: items: type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 - state: *102 - fixed_at: *119 + number: *119 + created_at: *126 + updated_at: *127 + url: *124 + html_url: *125 + instances_url: *521 + state: *107 + fixed_at: *129 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 - rule: *512 - tool: *513 - most_recent_instance: *514 + dismissed_at: *128 + dismissed_reason: *522 + dismissed_comment: *523 + rule: *524 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: anyOf: - type: 'null' @@ -73513,14 +74538,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &527 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +74565,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: - - *430 - - *431 - - &516 + - *442 + - *443 + - &528 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73550,30 +74575,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *109 + schema: *119 responses: '200': description: Response content: application/json: - schema: &517 + schema: &529 type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 - state: *102 - fixed_at: *119 + number: *119 + created_at: *126 + updated_at: *127 + url: *124 + html_url: *125 + instances_url: *521 + state: *107 + fixed_at: *129 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_at: *128 + dismissed_reason: *522 + dismissed_comment: *523 rule: type: object properties: @@ -73635,8 +74660,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: anyOf: - type: 'null' @@ -73732,9 +74757,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73752,9 +74777,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 requestBody: required: true content: @@ -73769,8 +74794,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *522 + dismissed_comment: *523 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73789,7 +74814,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *529 examples: default: value: @@ -73865,14 +74890,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &533 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73892,15 +74917,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 responses: '200': description: Response content: application/json: - schema: &518 + schema: &530 type: object properties: status: @@ -73927,13 +74952,13 @@ paths: - description - started_at examples: - default: &519 + default: &531 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &532 description: Bad Request content: application/json: @@ -73944,9 +74969,9 @@ 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': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,29 +74994,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 responses: '200': description: OK content: application/json: - schema: *518 + schema: *530 examples: - default: *519 + default: *531 '202': description: Accepted content: application/json: - schema: *518 + schema: *530 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *532 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74001,7 +75026,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74023,9 +75048,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 requestBody: required: false content: @@ -74071,12 +75096,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *532 + '403': *533 '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74096,13 +75121,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 - *19 - *17 - - *522 - - *523 + - *534 + - *535 responses: '200': description: Response @@ -74110,7 +75135,7 @@ paths: application/json: schema: type: array - items: *514 + items: *526 examples: default: value: @@ -74149,9 +75174,9 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74183,30 +75208,30 @@ 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: - - *430 - - *431 - - *277 - - *278 + - *442 + - *443 + - *291 + - *292 - *19 - *17 - - *523 + - *535 - 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: *507 + schema: *519 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &538 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *99 + - *104 - name: sort description: The property by which to sort the results. in: query @@ -74223,23 +75248,23 @@ paths: application/json: schema: type: array - items: &527 + items: &539 type: object properties: - ref: *507 - commit_sha: &535 + ref: *519 + commit_sha: &547 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: *524 + analysis_key: *536 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *537 error: type: string examples: @@ -74264,8 +75289,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *538 + tool: *525 deletable: type: boolean warning: @@ -74327,9 +75352,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74363,8 +75388,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: - - *430 - - *431 + - *442 + - *443 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74377,7 +75402,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *539 examples: response: summary: application/json response @@ -74431,14 +75456,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *527 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74518,8 +75543,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: - - *430 - - *431 + - *442 + - *443 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74575,9 +75600,9 @@ 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': *521 + '403': *533 '404': *6 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74597,8 +75622,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -74606,7 +75631,7 @@ paths: application/json: schema: type: array - items: &528 + items: &540 title: CodeQL Database description: A CodeQL database. type: object @@ -74718,9 +75743,9 @@ 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': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74747,8 +75772,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: - - *430 - - *431 + - *442 + - *443 - name: language in: path description: The language of the CodeQL database. @@ -74760,7 +75785,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *540 examples: default: value: @@ -74792,11 +75817,11 @@ 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': &558 + '302': &570 description: Found - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74816,8 +75841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *430 - - *431 + - *442 + - *443 - name: language in: path description: The language of the CodeQL database. @@ -74827,9 +75852,9 @@ paths: responses: '204': description: Response - '403': *521 + '403': *533 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +75880,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -74865,7 +75890,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &541 type: string description: The language targeted by the CodeQL query enum: @@ -74944,7 +75969,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &545 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74952,9 +75977,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *108 + controller_repo: *113 actor: *4 - query_language: *529 + query_language: *541 query_pack_url: type: string description: The download url for the query pack. @@ -75002,7 +76027,7 @@ paths: items: type: object properties: - repository: &530 + repository: &542 title: Repository Identifier description: Repository Identifier type: object @@ -75044,7 +76069,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &546 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75076,7 +76101,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &531 + access_mismatch_repos: &543 type: object properties: repository_count: @@ -75091,7 +76116,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: *530 + items: *542 required: - repository_count - repositories @@ -75114,8 +76139,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *543 + over_limit_repos: *543 required: - access_mismatch_repos - not_found_repos @@ -75131,7 +76156,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &544 summary: Default response value: id: 1 @@ -75283,17 +76308,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *544 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *544 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75314,8 +76339,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: - - *430 - - *431 + - *442 + - *443 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75327,11 +76352,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *545 examples: - default: *532 + default: *544 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,7 +76377,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: - - *430 + - *442 - name: repo in: path description: The name of the controller repository. @@ -75386,8 +76411,8 @@ paths: schema: type: object properties: - repository: *108 - analysis_status: *534 + repository: *113 + analysis_status: *546 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75491,7 +76516,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75512,8 +76537,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -75606,9 +76631,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75627,8 +76652,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -75697,7 +76722,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -75722,7 +76747,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *533 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75736,7 +76761,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,8 +76818,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -75802,7 +76827,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *547 ref: type: string description: |- @@ -75862,7 +76887,7 @@ paths: schema: type: object properties: - id: *526 + id: *538 url: type: string description: The REST API URL for checking the status of the upload. @@ -75876,11 +76901,11 @@ 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': *521 + '403': *533 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75899,8 +76924,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: - - *430 - - *431 + - *442 + - *443 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75948,10 +76973,10 @@ 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': *515 + '403': *527 '404': description: Not Found if the sarif id does not match any upload - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75973,8 +76998,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -75998,7 +77023,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *103 + configuration: *108 examples: default: value: @@ -76030,7 +77055,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': *129 + '204': *139 '304': *35 '403': *27 '404': *6 @@ -76055,8 +77080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *430 - - *431 + - *442 + - *443 - 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 @@ -76184,8 +77209,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -76201,7 +77226,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *348 examples: default: value: @@ -76499,8 +77524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -76564,22 +77589,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76603,8 +77628,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -76668,8 +77693,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: - - *430 - - *431 + - *442 + - *443 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76706,9 +77731,9 @@ paths: type: integer machines: type: array - items: *537 + items: *549 examples: - default: &771 + default: &783 value: total_count: 2 machines: @@ -76748,8 +77773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *430 - - *431 + - *442 + - *443 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76836,8 +77861,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: - - *430 - - *431 + - *442 + - *443 - 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 @@ -76885,7 +77910,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76906,8 +77931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -76925,7 +77950,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &553 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76946,7 +77971,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *550 headers: Link: *41 x-github: @@ -76969,16 +77994,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *539 + schema: *551 examples: - default: *540 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76998,17 +78023,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '200': description: Response content: application/json: - schema: *541 + schema: *553 examples: - default: *542 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +78053,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: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 requestBody: required: true content: @@ -77058,7 +78083,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -77082,9 +78107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '204': description: Response @@ -77112,8 +78137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *430 - - *431 + - *442 + - *443 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77151,7 +78176,7 @@ paths: application/json: schema: type: array - items: &543 + items: &555 title: Collaborator description: Collaborator type: object @@ -77344,9 +78369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 responses: '204': description: Response if user is a collaborator @@ -77392,9 +78417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 requestBody: required: false content: @@ -77420,7 +78445,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &616 + schema: &628 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77432,7 +78457,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *260 invitee: anyOf: - type: 'null' @@ -77608,7 +78633,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *223 + schema: *235 '403': *27 x-github: triggersNotification: true @@ -77648,9 +78673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77681,9 +78706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 responses: '200': description: if user has admin permissions @@ -77703,7 +78728,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *555 required: - permission - role_name @@ -77757,8 +78782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -77768,7 +78793,7 @@ paths: application/json: schema: type: array - items: &544 + items: &556 title: Commit Comment description: Commit Comment type: object @@ -77809,8 +78834,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *195 + reactions: *196 required: - url - html_url @@ -77826,7 +78851,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &559 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77885,17 +78910,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '200': description: Response content: application/json: - schema: *544 + schema: *556 examples: - default: &548 + default: &560 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77952,9 +78977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -77976,7 +79001,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *556 examples: default: value: @@ -78027,9 +79052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '204': description: Response @@ -78050,9 +79075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 - 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. @@ -78078,9 +79103,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -78101,9 +79126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -78135,16 +79160,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -78166,10 +79191,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *442 + - *443 + - *209 + - *434 responses: '204': description: Response @@ -78218,8 +79243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *430 - - *431 + - *442 + - *443 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78275,9 +79300,9 @@ paths: application/json: schema: type: array - items: *545 + items: *557 examples: - default: &662 + default: &674 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78351,7 +79376,7 @@ paths: '500': *38 '400': *14 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78371,9 +79396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *430 - - *431 - - &546 + - *442 + - *443 + - &558 name: commit_sha description: The SHA of the commit. in: path @@ -78420,7 +79445,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78445,9 +79470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 - *17 - *19 responses: @@ -78457,9 +79482,9 @@ paths: application/json: schema: type: array - items: *544 + items: *556 examples: - default: *547 + default: *559 headers: Link: *41 x-github: @@ -78487,9 +79512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 requestBody: required: true content: @@ -78524,9 +79549,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *556 examples: - default: *548 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78554,9 +79579,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: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 - *17 - *19 responses: @@ -78566,9 +79591,9 @@ paths: application/json: schema: type: array - items: *549 + items: *561 examples: - default: &654 + default: &666 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79048,7 +80073,7 @@ paths: draft: false headers: Link: *41 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79105,11 +80130,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *430 - - *431 + - *442 + - *443 - *19 - *17 - - &550 + - &562 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)" @@ -79124,9 +80149,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *557 examples: - default: &642 + default: &654 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79213,8 +80238,8 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *163 - '409': *107 + '503': *173 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79239,11 +80264,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: - - *430 - - *431 - - *550 - - *551 - - *552 + - *442 + - *443 + - *562 + - *563 + - *564 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79277,9 +80302,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *512 examples: - default: *553 + default: *565 headers: Link: *41 x-github: @@ -79304,9 +80329,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: - - *430 - - *431 - - *550 + - *442 + - *443 + - *562 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79314,7 +80339,7 @@ paths: schema: type: integer example: 1 - - *551 + - *563 - *17 - *19 responses: @@ -79332,7 +80357,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *516 examples: default: value: @@ -79532,9 +80557,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: - - *430 - - *431 - - *550 + - *442 + - *443 + - *562 - *17 - *19 responses: @@ -79605,7 +80630,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *260 commit_url: type: string format: uri @@ -79736,9 +80761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *430 - - *431 - - *550 + - *442 + - *443 + - *562 - *17 - *19 responses: @@ -79748,7 +80773,7 @@ paths: application/json: schema: type: array - items: &716 + items: &728 title: Status description: The status of a commit. type: object @@ -79829,7 +80854,7 @@ paths: site_admin: false headers: Link: *41 - '301': *444 + '301': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79857,8 +80882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -79891,11 +80916,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *566 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &567 title: Community Health File type: object properties: @@ -79911,23 +80936,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 contributing: anyOf: - type: 'null' - - *555 + - *567 readme: anyOf: - type: 'null' - - *555 + - *567 issue_template: anyOf: - type: 'null' - - *555 + - *567 pull_request_template: anyOf: - type: 'null' - - *555 + - *567 required: - code_of_conduct - code_of_conduct_file @@ -80056,8 +81081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *430 - - *431 + - *442 + - *443 - *19 - *17 - name: basehead @@ -80105,8 +81130,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *557 + merge_base_commit: *557 status: type: string enum: @@ -80130,10 +81155,10 @@ paths: - 6 commits: type: array - items: *545 + items: *557 files: type: array - items: *556 + items: *568 required: - url - html_url @@ -80377,7 +81402,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80419,8 +81444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *430 - - *431 + - *442 + - *443 - name: path description: path parameter in: path @@ -80573,7 +81598,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &569 summary: Response if content is a file value: type: file @@ -80710,7 +81735,7 @@ paths: - size - type - url - - &667 + - &679 title: Content File description: Content File type: object @@ -80928,7 +81953,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *569 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80997,7 +82022,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *570 '304': *35 x-github: githubCloudOnly: false @@ -81020,8 +82045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *430 - - *431 + - *442 + - *443 - name: path description: path parameter in: path @@ -81116,7 +82141,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &571 title: File Commit description: File Commit type: object @@ -81272,7 +82297,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *571 examples: example-for-creating-a-file: value: @@ -81326,7 +82351,7 @@ paths: schema: oneOf: - *3 - - &598 + - &610 description: Repository rule violation was detected type: object properties: @@ -81347,7 +82372,7 @@ paths: items: type: object properties: - placeholder_id: &708 + placeholder_id: &720 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81379,8 +82404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *430 - - *431 + - *442 + - *443 - name: path description: path parameter in: path @@ -81441,7 +82466,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *571 examples: default: value: @@ -81475,8 +82500,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *107 - '503': *163 + '409': *112 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81496,8 +82521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *430 - - *431 + - *442 + - *443 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81621,31 +82646,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *430 - - *431 - - *294 - - *295 - - *296 - - *297 + - *442 + - *443 + - *308 + - *309 + - *310 + - *311 - 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 - - *298 - - *560 - - *299 - - *300 - - *99 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 + - *312 + - *572 + - *313 + - *314 + - *104 - 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)." @@ -81654,10 +82671,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 - - *301 - - *302 + - *102 + - *103 responses: '200': description: Response @@ -81665,11 +82680,11 @@ paths: application/json: schema: type: array - items: &563 + items: &575 type: object description: A Dependabot alert. properties: - number: *109 + number: *119 state: type: string description: The state of the Dependabot alert. @@ -81684,7 +82699,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *110 + package: *120 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81715,13 +82730,13 @@ paths: - direct - transitive - - security_advisory: *561 - security_vulnerability: *113 - url: *114 - html_url: *115 - created_at: *116 - updated_at: *117 - dismissed_at: *118 + security_advisory: *573 + security_vulnerability: *123 + url: *124 + html_url: *125 + created_at: *126 + updated_at: *127 + dismissed_at: *128 dismissed_by: anyOf: - type: 'null' @@ -81745,8 +82760,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: *562 + fixed_at: *129 + auto_dismissed_at: *574 required: - number - state @@ -81976,9 +82991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *430 - - *431 - - &564 + - *442 + - *443 + - &576 name: alert_number in: path description: |- @@ -81987,13 +83002,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *109 + schema: *119 responses: '200': description: Response content: application/json: - schema: *563 + schema: *575 examples: default: value: @@ -82106,9 +83121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *430 - - *431 - - *564 + - *442 + - *443 + - *576 requestBody: required: true content: @@ -82153,7 +83168,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *575 examples: default: value: @@ -82259,7 +83274,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *7 x-github: githubCloudOnly: false @@ -82282,8 +83297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -82301,7 +83316,7 @@ paths: type: integer secrets: type: array - items: &567 + items: &579 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82355,16 +83370,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *565 + schema: *577 examples: - default: *566 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82384,15 +83399,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '200': description: Response content: application/json: - schema: *567 + schema: *579 examples: default: value: @@ -82418,9 +83433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 requestBody: required: true content: @@ -82448,7 +83463,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -82472,9 +83487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '204': description: Response @@ -82496,8 +83511,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: - - *430 - - *431 + - *442 + - *443 - 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 @@ -82671,8 +83686,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -82932,8 +83947,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -83016,7 +84031,7 @@ paths: - version - url additionalProperties: false - metadata: &568 + metadata: &580 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83055,7 +84070,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *568 + metadata: *580 resolved: type: object description: A collection of resolved package dependencies. @@ -83069,7 +84084,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *568 + metadata: *580 relationship: type: string description: A notation of whether a dependency is requested @@ -83202,8 +84217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *430 - - *431 + - *442 + - *443 - name: sha description: The SHA recorded at creation time. in: query @@ -83244,9 +84259,9 @@ paths: application/json: schema: type: array - items: *569 + items: *581 examples: - default: *570 + default: *582 headers: Link: *41 x-github: @@ -83312,8 +84327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -83395,7 +84410,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *581 examples: simple-example: summary: Simple example @@ -83468,9 +84483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *430 - - *431 - - &571 + - *442 + - *443 + - &583 name: deployment_id description: deployment_id parameter in: path @@ -83482,7 +84497,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *581 examples: default: value: @@ -83547,9 +84562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 responses: '204': description: Response @@ -83571,9 +84586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 - *17 - *19 responses: @@ -83583,7 +84598,7 @@ paths: application/json: schema: type: array - items: &572 + items: &584 title: Deployment Status description: The status of a deployment. type: object @@ -83747,9 +84762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 requestBody: required: true content: @@ -83824,9 +84839,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *584 examples: - default: &573 + default: &585 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83882,9 +84897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 - name: status_id in: path required: true @@ -83895,9 +84910,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *584 examples: - default: *573 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -83924,12 +84939,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *574 - - *575 - - *576 - - *577 + - *442 + - *443 + - *586 + - *587 + - *588 + - *589 - *17 - *19 responses: @@ -83939,9 +84954,9 @@ paths: application/json: schema: type: array - items: *578 + items: *590 examples: - default: *579 + default: *591 '404': *6 '403': *27 '500': *38 @@ -83965,8 +84980,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -83978,7 +84993,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *578 + schema: *590 examples: default: value: @@ -84034,8 +85049,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -84094,12 +85109,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *580 + - *442 + - *443 + - *97 + - *98 + - *99 + - *592 - *17 - *19 responses: @@ -84109,9 +85124,9 @@ paths: application/json: schema: type: array - items: *581 + items: *593 examples: - default: *582 + default: *594 '404': *6 '403': *27 '500': *38 @@ -84136,8 +85151,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -84149,7 +85164,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *581 + schema: *593 examples: default: value: @@ -84207,8 +85222,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -84277,8 +85292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -84335,8 +85350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -84354,7 +85369,7 @@ paths: - 5 environments: type: array - items: &584 + items: &596 title: Environment description: Details of a deployment environment type: object @@ -84416,7 +85431,7 @@ paths: type: string examples: - wait_timer - wait_timer: &586 + wait_timer: &598 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84458,11 +85473,11 @@ paths: items: type: object properties: - type: *583 + type: *595 reviewer: anyOf: - *4 - - *273 + - *287 required: - id - node_id @@ -84485,7 +85500,7 @@ paths: - id - node_id - type - deployment_branch_policy: &587 + deployment_branch_policy: &599 type: - object - 'null' @@ -84602,9 +85617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *430 - - *431 - - &585 + - *442 + - *443 + - &597 name: environment_name in: path required: true @@ -84617,9 +85632,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *596 examples: - default: &588 + default: &600 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84703,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 requestBody: required: false content: @@ -84715,7 +85730,7 @@ paths: - object - 'null' properties: - wait_timer: *586 + wait_timer: *598 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84734,14 +85749,14 @@ paths: items: type: object properties: - type: *583 + type: *595 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *587 + deployment_branch_policy: *599 additionalProperties: false examples: default: @@ -84761,9 +85776,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *596 examples: - default: *588 + default: *600 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84787,9 +85802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 responses: '204': description: Default response @@ -84814,9 +85829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 - *17 - *19 responses: @@ -84835,7 +85850,7 @@ paths: - 2 branch_policies: type: array - items: &589 + items: &601 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84896,9 +85911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 requestBody: required: true content: @@ -84946,9 +85961,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *601 examples: - example-wildcard: &590 + example-wildcard: &602 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84990,10 +86005,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - &591 + - *442 + - *443 + - *597 + - &603 name: branch_policy_id in: path required: true @@ -85005,9 +86020,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *601 examples: - default: *590 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85026,10 +86041,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - *591 + - *442 + - *443 + - *597 + - *603 requestBody: required: true content: @@ -85058,9 +86073,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *601 examples: - default: *590 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85079,10 +86094,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - *591 + - *442 + - *443 + - *597 + - *603 responses: '204': description: Response @@ -85107,9 +86122,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: - - *585 - - *431 - - *430 + - *597 + - *443 + - *442 responses: '200': description: List of deployment protection rules @@ -85126,7 +86141,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &592 + items: &604 title: Deployment protection rule description: Deployment protection rule type: object @@ -85148,7 +86163,7 @@ paths: for the environment. examples: - true - app: &593 + app: &605 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85251,9 +86266,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: - - *585 - - *431 - - *430 + - *597 + - *443 + - *442 requestBody: content: application/json: @@ -85274,9 +86289,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *592 + schema: *604 examples: - default: &594 + default: &606 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85311,9 +86326,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: - - *585 - - *431 - - *430 + - *597 + - *443 + - *442 - *19 - *17 responses: @@ -85333,7 +86348,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *593 + items: *605 examples: default: value: @@ -85368,10 +86383,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: - - *430 - - *431 - - *585 - - &595 + - *442 + - *443 + - *597 + - &607 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85383,9 +86398,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *604 examples: - default: *594 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85406,10 +86421,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: - - *585 - - *431 - - *430 - - *595 + - *597 + - *443 + - *442 + - *607 responses: '204': description: Response @@ -85435,9 +86450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 - *17 - *19 responses: @@ -85455,9 +86470,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *479 examples: - default: *468 + default: *480 headers: Link: *41 x-github: @@ -85482,17 +86497,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 responses: '200': description: Response content: application/json: - schema: *469 + schema: *481 examples: - default: *470 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85514,18 +86529,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *442 + - *443 + - *597 + - *270 responses: '200': description: Response content: application/json: - schema: *467 + schema: *479 examples: - default: *596 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85547,10 +86562,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *442 + - *443 + - *597 + - *270 requestBody: required: true content: @@ -85581,7 +86596,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -85607,10 +86622,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *442 + - *443 + - *597 + - *270 responses: '204': description: Default response @@ -85635,10 +86650,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *430 - - *431 - - *585 - - *454 + - *442 + - *443 + - *597 + - *466 - *19 responses: '200': @@ -85655,9 +86670,9 @@ paths: type: integer variables: type: array - items: *471 + items: *483 examples: - default: *472 + default: *484 headers: Link: *41 x-github: @@ -85680,9 +86695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 requestBody: required: true content: @@ -85709,7 +86724,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -85734,18 +86749,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *430 - - *431 - - *585 - - *259 + - *442 + - *443 + - *597 + - *273 responses: '200': description: Response content: application/json: - schema: *471 + schema: *483 examples: - default: *597 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85766,10 +86781,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *430 - - *431 - - *259 - - *585 + - *442 + - *443 + - *273 + - *597 requestBody: required: true content: @@ -85811,10 +86826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *430 - - *431 - - *259 - - *585 + - *442 + - *443 + - *273 + - *597 responses: '204': description: Response @@ -85836,8 +86851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -85847,7 +86862,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: 200-response: value: @@ -85905,8 +86920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *430 - - *431 + - *442 + - *443 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85928,7 +86943,7 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: default: value: @@ -86065,8 +87080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -86099,9 +87114,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 '400': *14 '422': *15 '403': *27 @@ -86122,8 +87137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -86174,7 +87189,7 @@ paths: schema: type: string '404': *6 - '409': *107 + '409': *112 '403': *27 '422': description: Validation failed @@ -86182,8 +87197,8 @@ paths: application/json: schema: oneOf: - - *223 - - *598 + - *235 + - *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86208,8 +87223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *430 - - *431 + - *442 + - *443 - name: file_sha in: path required: true @@ -86261,7 +87276,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86309,8 +87324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -86419,7 +87434,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &611 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86596,7 +87611,7 @@ paths: type: string '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86646,15 +87661,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 responses: '200': description: Response content: application/json: - schema: *599 + schema: *611 examples: default: value: @@ -86685,7 +87700,7 @@ paths: payload: verified_at: '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86710,9 +87725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *430 - - *431 - - &600 + - *442 + - *443 + - &612 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. @@ -86729,7 +87744,7 @@ paths: application/json: schema: type: array - items: &601 + items: &613 title: Git Reference description: Git references within a repository type: object @@ -86784,7 +87799,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *41 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86805,17 +87820,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *430 - - *431 - - *600 + - *442 + - *443 + - *612 responses: '200': description: Response content: application/json: - schema: *601 + schema: *613 examples: - default: &602 + default: &614 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86825,7 +87840,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86844,8 +87859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -86874,16 +87889,16 @@ paths: description: Response content: application/json: - schema: *601 + schema: *613 examples: - default: *602 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86902,9 +87917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *430 - - *431 - - *600 + - *442 + - *443 + - *612 requestBody: required: true content: @@ -86933,11 +87948,11 @@ paths: description: Response content: application/json: - schema: *601 + schema: *613 examples: - default: *602 + default: *614 '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86953,16 +87968,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *430 - - *431 - - *600 + - *442 + - *443 + - *612 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87010,8 +88025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -87078,7 +88093,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &616 title: Git Tag description: Metadata for a Git tag type: object @@ -87134,7 +88149,7 @@ paths: - sha - type - url - verification: *603 + verification: *615 required: - sha - url @@ -87144,7 +88159,7 @@ paths: - tag - message examples: - default: &605 + default: &617 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87171,7 +88186,7 @@ paths: schema: type: string '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87217,8 +88232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *430 - - *431 + - *442 + - *443 - name: tag_sha in: path required: true @@ -87229,11 +88244,11 @@ paths: description: Response content: application/json: - schema: *604 + schema: *616 examples: - default: *605 + default: *617 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87255,8 +88270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -87330,7 +88345,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &618 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87409,7 +88424,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87432,8 +88447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *430 - - *431 + - *442 + - *443 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87456,7 +88471,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *618 examples: default-response: summary: Default response @@ -87497,7 +88512,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87515,8 +88530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -87526,7 +88541,7 @@ paths: application/json: schema: type: array - items: &607 + items: &619 title: Webhook description: Webhooks for repositories. type: object @@ -87589,7 +88604,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &860 title: Hook Response type: object properties: @@ -87666,8 +88681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -87720,9 +88735,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *619 examples: - default: &608 + default: &620 value: type: Repository id: 12345678 @@ -87770,17 +88785,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '200': description: Response content: application/json: - schema: *607 + schema: *619 examples: - default: *608 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -87800,9 +88815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 requestBody: required: true content: @@ -87847,9 +88862,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *619 examples: - default: *608 + default: *620 '422': *15 '404': *6 x-github: @@ -87870,9 +88885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '204': description: Response @@ -87896,9 +88911,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '200': description: Response @@ -87925,9 +88940,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 requestBody: required: false content: @@ -87971,11 +88986,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 - *17 - - *309 + - *321 responses: '200': description: Response @@ -87983,9 +88998,9 @@ paths: application/json: schema: type: array - items: *310 + items: *322 examples: - default: *311 + default: *323 '400': *14 '422': *15 x-github: @@ -88004,18 +89019,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *324 examples: - default: *313 + default: *325 '400': *14 '422': *15 x-github: @@ -88034,9 +89049,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 - *16 responses: '202': *37 @@ -88059,9 +89074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '204': description: Response @@ -88086,9 +89101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '204': description: Response @@ -88111,8 +89126,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response if immutable releases are enabled @@ -88160,11 +89175,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 - '409': *107 + '204': *139 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88181,11 +89196,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 - '409': *107 + '204': *139 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88239,14 +89254,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: &609 + schema: &621 title: Import description: A repository import from an external source. type: object @@ -88353,7 +89368,7 @@ paths: - html_url - authors_url examples: - default: &612 + default: &624 value: vcs: subversion use_lfs: true @@ -88369,7 +89384,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': &610 + '503': &622 description: Unavailable due to service under maintenance. content: application/json: @@ -88398,8 +89413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -88447,7 +89462,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *621 examples: default: value: @@ -88472,7 +89487,7 @@ paths: type: string '422': *15 '404': *6 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88500,8 +89515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -88553,7 +89568,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *621 examples: example-1: summary: Example 1 @@ -88601,7 +89616,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': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88624,12 +89639,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,9 +89670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *430 - - *431 - - &793 + - *442 + - *443 + - &804 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88671,7 +89686,7 @@ paths: application/json: schema: type: array - items: &611 + items: &623 title: Porter Author description: Porter Author type: object @@ -88725,7 +89740,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': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88750,8 +89765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *430 - - *431 + - *442 + - *443 - name: author_id in: path required: true @@ -88781,7 +89796,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *623 examples: default: value: @@ -88794,7 +89809,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88818,8 +89833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -88860,7 +89875,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88888,8 +89903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -88916,11 +89931,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *621 examples: - default: *612 + default: *624 '422': *15 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88943,8 +89958,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -88952,8 +89967,8 @@ paths: application/json: schema: *20 examples: - default: *613 - '301': *444 + default: *625 + '301': *456 '404': *6 x-github: githubCloudOnly: false @@ -88973,8 +89988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -88982,12 +89997,12 @@ paths: application/json: schema: anyOf: - - *326 + - *338 - type: object properties: {} additionalProperties: false examples: - default: &615 + default: &627 value: limit: collaborators_only origin: repository @@ -89012,13 +90027,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: application/json: - schema: *614 + schema: *626 examples: default: summary: Example request body @@ -89030,9 +90045,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *338 examples: - default: *615 + default: *627 '409': description: Response x-github: @@ -89054,8 +90069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -89078,8 +90093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -89089,9 +90104,9 @@ paths: application/json: schema: type: array - items: *616 + items: *628 examples: - default: &786 + default: &797 value: - id: 1 repository: @@ -89222,9 +90237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *430 - - *431 - - *330 + - *442 + - *443 + - *342 requestBody: required: false content: @@ -89253,7 +90268,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *628 examples: default: value: @@ -89384,9 +90399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *430 - - *431 - - *330 + - *442 + - *443 + - *342 responses: '204': description: Response @@ -89417,8 +90432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *430 - - *431 + - *442 + - *443 - 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 @@ -89466,7 +90481,7 @@ paths: required: false schema: type: string - - *334 + - *346 - name: sort description: What to sort results by. in: query @@ -89478,8 +90493,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - *17 - *19 responses: @@ -89489,9 +90504,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: &623 + default: &635 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89639,7 +90654,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *444 + '301': *456 '422': *15 '404': *6 x-github: @@ -89668,8 +90683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -89759,9 +90774,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: &620 + default: &632 value: id: 1 node_id: MDU6SXNzdWUx @@ -89915,9 +90930,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *163 + '503': *173 '404': *6 - '410': *441 + '410': *453 x-github: triggersNotification: true githubCloudOnly: false @@ -89945,9 +90960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *430 - - *431 - - *206 + - *442 + - *443 + - *217 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +90972,7 @@ paths: enum: - asc - desc - - *189 + - *200 - *17 - *19 responses: @@ -89967,9 +90982,9 @@ paths: application/json: schema: type: array - items: *617 + items: *629 examples: - default: &622 + default: &634 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90027,17 +91042,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '200': description: Response content: application/json: - schema: *617 + schema: *629 examples: - default: &618 + default: &630 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90091,9 +91106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -90115,9 +91130,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *629 examples: - default: *618 + default: *630 '422': *15 x-github: githubCloudOnly: false @@ -90135,9 +91150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '204': description: Response @@ -90157,9 +91172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 - 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. @@ -90185,9 +91200,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -90208,9 +91223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -90242,16 +91257,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -90273,10 +91288,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *442 + - *443 + - *209 + - *434 responses: '204': description: Response @@ -90296,8 +91311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -90307,7 +91322,7 @@ paths: application/json: schema: type: array - items: &619 + items: &631 title: Issue Event description: Issue Event type: object @@ -90354,7 +91369,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *194 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +91402,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *287 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +91469,7 @@ paths: required: - from - to - author_association: *184 + author_association: *195 lock_reason: type: - string @@ -90646,8 +91661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *430 - - *431 + - *442 + - *443 - name: event_id in: path required: true @@ -90658,7 +91673,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *631 examples: default: value: @@ -90851,7 +91866,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *441 + '410': *453 '403': *27 x-github: githubCloudOnly: false @@ -90885,9 +91900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *430 - - *431 - - &621 + - *442 + - *443 + - &633 name: issue_number description: The number that identifies the issue. in: path @@ -90899,12 +91914,12 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 - '301': *444 + default: *632 + '301': *456 '404': *6 - '410': *441 + '410': *453 '304': *35 x-github: githubCloudOnly: false @@ -90929,9 +91944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -91050,15 +92065,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 '422': *15 - '503': *163 + '503': *173 '403': *27 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91076,9 +92091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -91104,9 +92119,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91122,9 +92137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: content: application/json: @@ -91149,9 +92164,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +92188,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - name: assignee in: path required: true @@ -91215,10 +92230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *430 - - *431 - - *621 - - *189 + - *442 + - *443 + - *633 + - *200 - *17 - *19 responses: @@ -91228,13 +92243,13 @@ paths: application/json: schema: type: array - items: *617 + items: *629 examples: - default: *622 + default: *634 headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,9 +92278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -91287,16 +92302,16 @@ paths: description: Response content: application/json: - schema: *617 + schema: *629 examples: - default: *618 + default: *630 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *441 + '410': *453 '422': *15 '404': *6 x-github: @@ -91324,9 +92339,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -91336,14 +92351,14 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *623 + default: *635 headers: Link: *41 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91371,9 +92386,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -91395,17 +92410,17 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *456 '403': *27 - '410': *441 + '410': *453 '422': *15 '404': *6 x-github: @@ -91436,9 +92451,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91450,15 +92465,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 - '301': *444 + default: *632 + '301': *456 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *453 x-github: triggersNotification: true githubCloudOnly: false @@ -91484,9 +92499,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -91496,14 +92511,14 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *623 + default: *635 headers: Link: *41 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91520,9 +92535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -91536,7 +92551,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &625 + - &637 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91585,7 +92600,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &638 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91713,7 +92728,7 @@ paths: - performed_via_github_app - assignee - assigner - - &627 + - &639 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91759,7 +92774,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &640 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91805,7 +92820,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &641 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91854,7 +92869,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &642 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91883,7 +92898,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *287 requested_reviewer: *4 required: - review_requester @@ -91896,7 +92911,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &643 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91925,7 +92940,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *287 requested_reviewer: *4 required: - review_requester @@ -91938,7 +92953,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &644 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91994,7 +93009,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &645 title: Locked Issue Event description: Locked Issue Event type: object @@ -92039,7 +93054,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &634 + - &646 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92100,7 +93115,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &635 + - &647 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92161,7 +93176,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &636 + - &648 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92222,7 +93237,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &637 + - &649 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92315,7 +93330,7 @@ paths: color: red headers: Link: *41 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +93347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -92344,9 +93359,9 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: &624 + default: &636 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92364,9 +93379,9 @@ paths: default: false headers: Link: *41 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92383,9 +93398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -92444,12 +93459,12 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 - '301': *444 + default: *636 + '301': *456 '404': *6 - '410': *441 + '410': *453 '422': *15 x-github: githubCloudOnly: false @@ -92466,9 +93481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -92528,12 +93543,12 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 - '301': *444 + default: *636 + '301': *456 '404': *6 - '410': *441 + '410': *453 '422': *15 x-github: githubCloudOnly: false @@ -92550,15 +93565,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 responses: '204': description: Response - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92577,9 +93592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - name: name in: path required: true @@ -92592,7 +93607,7 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: default: value: @@ -92603,9 +93618,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,9 +93640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -92656,7 +93671,7 @@ paths: '204': description: Response '403': *27 - '410': *441 + '410': *453 '404': *6 '422': *15 x-github: @@ -92674,9 +93689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 responses: '204': description: Response @@ -92706,20 +93721,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 responses: '200': description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 - '301': *444 + default: *632 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92736,9 +93751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - 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. @@ -92764,13 +93779,13 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92788,9 +93803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -92822,16 +93837,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -92853,10 +93868,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *430 - - *431 - - *621 - - *422 + - *442 + - *443 + - *633 + - *434 responses: '204': description: Response @@ -92885,9 +93900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -92909,9 +93924,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92944,9 +93959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -92956,13 +93971,13 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *623 + default: *635 headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92990,9 +94005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -93019,16 +94034,16 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *441 + '410': *453 '422': *15 '404': *6 x-github: @@ -93048,9 +94063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -93081,13 +94096,13 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 '403': *27 '404': *6 '422': *7 - '503': *163 + '503': *173 x-github: triggersNotification: true githubCloudOnly: false @@ -93105,9 +94120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -93122,19 +94137,19 @@ paths: description: Timeline Event type: object anyOf: - - *625 - - *626 - - *627 - - *628 - - *629 - - *630 - - *631 - - *632 - - *633 - - *634 - - *635 - - *636 - *637 + - *638 + - *639 + - *640 + - *641 + - *642 + - *643 + - *644 + - *645 + - *646 + - *647 + - *648 + - *649 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93182,12 +94197,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *195 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *196 required: - event - actor @@ -93218,7 +94233,7 @@ paths: properties: type: type: string - issue: *183 + issue: *194 required: - event - created_at @@ -93440,7 +94455,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *195 required: - event - id @@ -93463,7 +94478,7 @@ paths: type: string comments: type: array - items: &656 + items: &668 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93568,7 +94583,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *195 _links: type: object properties: @@ -93663,7 +94678,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *196 body_html: type: string examples: @@ -93701,7 +94716,7 @@ paths: type: string comments: type: array - items: *544 + items: *556 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93976,7 +94991,7 @@ paths: headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93993,8 +95008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -94004,7 +95019,7 @@ paths: application/json: schema: type: array - items: &638 + items: &650 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94072,8 +95087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94109,9 +95124,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: &639 + default: &651 value: id: 1 key: ssh-rsa AAA... @@ -94145,9 +95160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *430 - - *431 - - &640 + - *442 + - *443 + - &652 name: key_id description: The unique identifier of the key. in: path @@ -94159,9 +95174,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: *639 + default: *651 '404': *6 x-github: githubCloudOnly: false @@ -94179,9 +95194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *430 - - *431 - - *640 + - *442 + - *443 + - *652 responses: '204': description: Response @@ -94201,8 +95216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -94212,9 +95227,9 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 + default: *636 headers: Link: *41 '404': *6 @@ -94235,8 +95250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94272,9 +95287,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *193 examples: - default: &641 + default: &653 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94306,8 +95321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *430 - - *431 + - *442 + - *443 - name: name in: path required: true @@ -94318,9 +95333,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *193 examples: - default: *641 + default: *653 '404': *6 x-github: githubCloudOnly: false @@ -94337,8 +95352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *430 - - *431 + - *442 + - *443 - name: name in: path required: true @@ -94377,7 +95392,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *193 examples: default: value: @@ -94403,8 +95418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *430 - - *431 + - *442 + - *443 - name: name in: path required: true @@ -94430,8 +95445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -94467,8 +95482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '202': *37 '403': @@ -94496,8 +95511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -94523,9 +95538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *430 - - *431 - - *522 + - *442 + - *443 + - *534 responses: '200': description: Response @@ -94591,7 +95606,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 required: - _links - git_url @@ -94672,8 +95687,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94738,8 +95753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94773,9 +95788,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *557 examples: - default: *642 + default: *654 '204': description: Response when already merged '404': @@ -94800,8 +95815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *430 - - *431 + - *442 + - *443 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94842,7 +95857,7 @@ paths: application/json: schema: type: array - items: *368 + items: *380 examples: default: value: @@ -94898,8 +95913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94939,9 +95954,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *380 examples: - default: &643 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95000,9 +96015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *430 - - *431 - - &644 + - *442 + - *443 + - &656 name: milestone_number description: The number that identifies the milestone. in: path @@ -95014,9 +96029,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *380 examples: - default: *643 + default: *655 '404': *6 x-github: githubCloudOnly: false @@ -95033,9 +96048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *430 - - *431 - - *644 + - *442 + - *443 + - *656 requestBody: required: false content: @@ -95073,9 +96088,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *380 examples: - default: *643 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95091,9 +96106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *430 - - *431 - - *644 + - *442 + - *443 + - *656 responses: '204': description: Response @@ -95114,9 +96129,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: - - *430 - - *431 - - *644 + - *442 + - *443 + - *656 - *17 - *19 responses: @@ -95126,9 +96141,9 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 + default: *636 headers: Link: *41 x-github: @@ -95147,12 +96162,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: - - *430 - - *431 - - *645 - - *646 - - *189 - - *647 + - *442 + - *443 + - *657 + - *658 + - *200 + - *659 - *17 - *19 responses: @@ -95162,9 +96177,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *648 + default: *660 headers: Link: *41 x-github: @@ -95188,8 +96203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -95247,14 +96262,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: &649 + schema: &661 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95398,7 +96413,7 @@ paths: - custom_404 - public examples: - default: &650 + default: &662 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95439,8 +96454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -95495,11 +96510,11 @@ paths: description: Response content: application/json: - schema: *649 + schema: *661 examples: - default: *650 + default: *662 '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95520,8 +96535,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -95608,7 +96623,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95629,14 +96644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95656,8 +96671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -95667,7 +96682,7 @@ paths: application/json: schema: type: array - items: &651 + items: &663 title: Page Build description: Page Build type: object @@ -95759,8 +96774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *430 - - *431 + - *442 + - *443 responses: '201': description: Response @@ -95807,16 +96822,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *651 + schema: *663 examples: - default: &652 + default: &664 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95864,8 +96879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *430 - - *431 + - *442 + - *443 - name: build_id in: path required: true @@ -95876,9 +96891,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *663 examples: - default: *652 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95898,8 +96913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96007,9 +97022,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: - - *430 - - *431 - - &653 + - *442 + - *443 + - &665 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96067,11 +97082,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *430 - - *431 - - *653 + - *442 + - *443 + - *665 responses: - '204': *129 + '204': *139 '404': *6 x-github: githubCloudOnly: false @@ -96096,8 +97111,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -96365,7 +97380,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -96392,8 +97407,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Private vulnerability reporting status @@ -96430,10 +97445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 + '204': *139 '422': *14 x-github: githubCloudOnly: false @@ -96452,10 +97467,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 + '204': *139 '422': *14 x-github: githubCloudOnly: false @@ -96476,8 +97491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *430 - - *431 + - *442 + - *443 - name: state description: Indicates the state of the projects to return. in: query @@ -96498,7 +97513,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -96538,7 +97553,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *453 '422': *7 x-github: githubCloudOnly: false @@ -96561,8 +97576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96588,13 +97603,13 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: - default: *440 + default: *452 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *453 '422': *7 x-github: githubCloudOnly: false @@ -96617,8 +97632,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -96626,7 +97641,7 @@ paths: application/json: schema: type: array - items: *376 + items: *388 examples: default: value: @@ -96657,8 +97672,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96670,7 +97685,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *376 + items: *388 required: - properties examples: @@ -96720,8 +97735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96781,9 +97796,9 @@ paths: application/json: schema: type: array - items: *549 + items: *561 examples: - default: *654 + default: *666 headers: Link: *41 '304': *35 @@ -96815,8 +97830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96883,7 +97898,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &670 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97012,7 +98027,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *380 active_lock_reason: type: - string @@ -97067,7 +98082,7 @@ paths: type: - array - 'null' - items: *344 + items: *356 head: type: object properties: @@ -97075,7 +98090,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: *4 @@ -97092,7 +98107,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: *4 @@ -97105,14 +98120,14 @@ paths: _links: type: object properties: - comments: *369 - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + comments: *381 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -97122,8 +98137,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: *655 + author_association: *195 + auto_merge: *667 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97225,7 +98240,7 @@ paths: - merged_by - review_comments examples: - default: &659 + default: &671 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97752,8 +98767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - name: sort in: query required: false @@ -97772,7 +98787,7 @@ paths: enum: - asc - desc - - *189 + - *200 - *17 - *19 responses: @@ -97782,9 +98797,9 @@ paths: application/json: schema: type: array - items: *656 + items: *668 examples: - default: &661 + default: &673 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97861,17 +98876,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '200': description: Response content: application/json: - schema: *656 + schema: *668 examples: - default: &657 + default: &669 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97946,9 +98961,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -97970,9 +98985,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *668 examples: - default: *657 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97988,9 +99003,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '204': description: Response @@ -98011,9 +99026,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 - 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. @@ -98039,9 +99054,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -98062,9 +99077,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -98096,16 +99111,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -98127,10 +99142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *442 + - *443 + - *209 + - *434 responses: '204': description: Response @@ -98173,9 +99188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *430 - - *431 - - &660 + - *442 + - *443 + - &672 name: pull_number description: The number that identifies the pull request. in: path @@ -98188,9 +99203,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *658 + schema: *670 examples: - default: *659 + default: *671 '304': *35 '404': *6 '406': @@ -98199,7 +99214,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98225,9 +99240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -98269,9 +99284,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *670 examples: - default: *659 + default: *671 '422': *15 '403': *27 x-github: @@ -98293,9 +99308,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: true content: @@ -98356,21 +99371,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98396,10 +99411,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: - - *430 - - *431 - - *660 - - *206 + - *442 + - *443 + - *672 + - *217 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +99424,7 @@ paths: enum: - asc - desc - - *189 + - *200 - *17 - *19 responses: @@ -98419,9 +99434,9 @@ paths: application/json: schema: type: array - items: *656 + items: *668 examples: - default: *661 + default: *673 headers: Link: *41 x-github: @@ -98454,9 +99469,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: true content: @@ -98562,7 +99577,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *668 examples: example-for-a-multi-line-comment: value: @@ -98650,10 +99665,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: - - *430 - - *431 - - *660 - - *198 + - *442 + - *443 + - *672 + - *209 requestBody: required: true content: @@ -98675,7 +99690,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *668 examples: default: value: @@ -98761,9 +99776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 - *17 - *19 responses: @@ -98773,9 +99788,9 @@ paths: application/json: schema: type: array - items: *545 + items: *557 examples: - default: *662 + default: *674 headers: Link: *41 x-github: @@ -98805,9 +99820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 - *17 - *19 responses: @@ -98817,7 +99832,7 @@ paths: application/json: schema: type: array - items: *556 + items: *568 examples: default: value: @@ -98836,7 +99851,7 @@ paths: Link: *41 '422': *15 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98855,9 +99870,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 responses: '204': description: Response if pull request has been merged @@ -98880,9 +99895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -98994,9 +100009,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 responses: '200': description: Response @@ -99012,7 +100027,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *287 required: - users - teams @@ -99071,9 +100086,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -99110,7 +100125,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *561 examples: default: value: @@ -99646,9 +100661,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: true content: @@ -99682,7 +100697,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *561 examples: default: value: @@ -100187,9 +101202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 - *17 - *19 responses: @@ -100199,7 +101214,7 @@ paths: application/json: schema: type: array - items: &663 + items: &675 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100273,7 +101288,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *195 required: - id - node_id @@ -100355,9 +101370,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -100447,9 +101462,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: &665 + default: &677 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100512,10 +101527,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: - - *430 - - *431 - - *660 - - &664 + - *442 + - *443 + - *672 + - &676 name: review_id description: The unique identifier of the review. in: path @@ -100527,9 +101542,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: &666 + default: &678 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100588,10 +101603,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 requestBody: required: true content: @@ -100614,7 +101629,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: default: value: @@ -100676,18 +101691,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 responses: '200': description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: *665 + default: *677 '422': *7 '404': *6 x-github: @@ -100714,10 +101729,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 - *17 - *19 responses: @@ -100811,13 +101826,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *195 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *381 + html: *381 + pull_request: *381 required: - self - html @@ -100826,7 +101841,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *196 side: description: The side of the first line of the range for a multi-line comment. @@ -100975,10 +101990,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 requestBody: required: true content: @@ -101007,7 +102022,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: default: value: @@ -101070,10 +102085,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 requestBody: required: true content: @@ -101108,9 +102123,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: *666 + default: *678 '404': *6 '422': *7 '403': *27 @@ -101132,9 +102147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -101198,8 +102213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *430 - - *431 + - *442 + - *443 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101212,9 +102227,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *679 examples: - default: &668 + default: &680 value: type: file encoding: base64 @@ -101256,8 +102271,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: - - *430 - - *431 + - *442 + - *443 - name: dir description: The alternate path to look for a README file in: path @@ -101277,9 +102292,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *679 examples: - default: *668 + default: *680 '404': *6 '422': *15 x-github: @@ -101301,8 +102316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -101312,7 +102327,7 @@ paths: application/json: schema: type: array - items: *669 + items: *681 examples: default: value: @@ -101406,8 +102421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -101483,9 +102498,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: &673 + default: &685 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101590,9 +102605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *430 - - *431 - - &671 + - *442 + - *443 + - &683 name: asset_id description: The unique identifier of the asset. in: path @@ -101604,9 +102619,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *682 examples: - default: &672 + default: &684 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 @@ -101641,7 +102656,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101657,9 +102672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *430 - - *431 - - *671 + - *442 + - *443 + - *683 requestBody: required: false content: @@ -101688,9 +102703,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *682 examples: - default: *672 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101706,9 +102721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *430 - - *431 - - *671 + - *442 + - *443 + - *683 responses: '204': description: Response @@ -101732,8 +102747,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -101819,16 +102834,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: *673 + default: *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101845,8 +102860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *430 - - *431 + - *442 + - *443 - name: tag description: tag parameter in: path @@ -101859,9 +102874,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: *673 + default: *685 '404': *6 x-github: githubCloudOnly: false @@ -101883,9 +102898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *430 - - *431 - - &674 + - *442 + - *443 + - &686 name: release_id description: The unique identifier of the release. in: path @@ -101899,9 +102914,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: *669 + schema: *681 examples: - default: *673 + default: *685 '401': description: Unauthorized x-github: @@ -101919,9 +102934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 requestBody: required: false content: @@ -101985,9 +103000,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: *673 + default: *685 '404': description: Not Found if the discussion category name is invalid content: @@ -102008,9 +103023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 responses: '204': description: Response @@ -102030,9 +103045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 - *17 - *19 responses: @@ -102042,7 +103057,7 @@ paths: application/json: schema: type: array - items: *670 + items: *682 examples: default: value: @@ -102124,9 +103139,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: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 - name: name in: query required: true @@ -102152,7 +103167,7 @@ paths: description: Response for successful upload content: application/json: - schema: *670 + schema: *682 examples: response-for-successful-upload: value: @@ -102207,9 +103222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 - 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. @@ -102233,9 +103248,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -102256,9 +103271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 requestBody: required: true content: @@ -102288,16 +103303,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -102319,10 +103334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *430 - - *431 - - *674 - - *422 + - *442 + - *443 + - *686 + - *434 responses: '204': description: Response @@ -102346,9 +103361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 - *17 - *19 responses: @@ -102364,8 +103379,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *138 - - &675 + - *148 + - &687 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102385,68 +103400,68 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *139 - - *675 + - *149 + - *687 - allOf: - - *140 - - *675 + - *150 + - *687 - allOf: - - *141 - - *675 + - *151 + - *687 - allOf: - - *676 - - *675 + - *688 + - *687 - allOf: - - *142 - - *675 + - *152 + - *687 - allOf: - - *143 - - *675 + - *153 + - *687 - allOf: - - *144 - - *675 + - *154 + - *687 - allOf: - - *145 - - *675 + - *155 + - *687 - allOf: - - *146 - - *675 + - *156 + - *687 - allOf: - - *147 - - *675 + - *157 + - *687 - allOf: - - *148 - - *675 + - *158 + - *687 - allOf: - - *149 - - *675 + - *159 + - *687 - allOf: - - *150 - - *675 + - *160 + - *687 - allOf: - - *151 - - *675 + - *161 + - *687 - allOf: - - *152 - - *675 + - *162 + - *687 - allOf: - - *153 - - *675 + - *163 + - *687 - allOf: - - *154 - - *675 + - *164 + - *687 - allOf: - - *155 - - *675 + - *165 + - *687 - allOf: - - *156 - - *675 + - *166 + - *687 - allOf: - - *157 - - *675 + - *167 + - *687 - allOf: - - *677 - - *675 + - *689 + - *687 examples: default: value: @@ -102485,8 +103500,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - name: includes_parents @@ -102497,7 +103512,7 @@ paths: schema: type: boolean default: true - - *678 + - *690 responses: '200': description: Response @@ -102505,7 +103520,7 @@ paths: application/json: schema: type: array - items: *158 + items: *168 examples: default: value: @@ -102552,8 +103567,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 requestBody: description: Request body required: true @@ -102573,16 +103588,16 @@ paths: - tag - push default: branch - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *147 + conditions: *142 rules: type: array description: An array of rules within the ruleset. - items: *679 + items: *691 required: - name - enforcement @@ -102613,9 +103628,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: &688 + default: &700 value: id: 42 name: super cool ruleset @@ -102662,12 +103677,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *430 - - *431 - - *680 - - *94 - - *681 - - *682 + - *442 + - *443 + - *692 + - *99 + - *693 + - *694 - *17 - *19 responses: @@ -102675,9 +103690,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *695 examples: - default: *684 + default: *696 '404': *6 '500': *38 x-github: @@ -102698,17 +103713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *430 - - *431 - - *685 + - *442 + - *443 + - *697 responses: '200': description: Response content: application/json: - schema: *686 + schema: *698 examples: - default: *687 + default: *699 '404': *6 '500': *38 x-github: @@ -102736,8 +103751,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102757,9 +103772,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *688 + default: *700 '404': *6 '500': *38 put: @@ -102777,8 +103792,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102803,16 +103818,16 @@ paths: - branch - tag - push - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *147 + conditions: *142 rules: description: An array of rules within the ruleset. type: array - items: *679 + items: *691 examples: default: value: @@ -102840,9 +103855,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *688 + default: *700 '404': *6 '500': *38 delete: @@ -102860,8 +103875,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102884,8 +103899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - name: ruleset_id @@ -102901,9 +103916,9 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: - default: *383 + default: *395 '404': *6 '500': *38 x-github: @@ -102922,8 +103937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102941,7 +103956,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *396 examples: default: value: @@ -102996,21 +104011,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: - - *430 - - *431 - - *385 - - *386 - - *387 - - *388 - - *99 + - *442 + - *443 + - *397 + - *398 + - *399 + - *400 + - *104 - *19 - *17 - - *689 - - *690 - - *389 - - *390 - - *391 - - *392 + - *701 + - *702 + - *401 + - *402 + - *403 + - *404 responses: '200': description: Response @@ -103018,24 +104033,24 @@ paths: application/json: schema: type: array - items: &694 + items: &706 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *691 - resolution: *692 + state: *703 + resolution: *704 resolved_at: type: - string @@ -103129,7 +104144,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *693 + - *705 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103252,7 +104267,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103274,16 +104289,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: - - *430 - - *431 - - *516 - - *392 + - *442 + - *443 + - *528 + - *404 responses: '200': description: Response content: application/json: - schema: *694 + schema: *706 examples: default: value: @@ -103314,7 +104329,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103335,9 +104350,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 requestBody: required: true content: @@ -103345,8 +104360,8 @@ paths: schema: type: object properties: - state: *691 - resolution: *692 + state: *703 + resolution: *704 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103365,7 +104380,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *706 examples: default: value: @@ -103418,7 +104433,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103440,9 +104455,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 - *19 - *17 responses: @@ -103453,7 +104468,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &880 type: object properties: type: @@ -103480,19 +104495,19 @@ paths: - commit details: oneOf: - - *695 - - *696 - - *697 - - *698 - - *699 - - *700 - - *701 - - *702 - - *703 - - *704 - - *705 - - *706 - *707 + - *708 + - *709 + - *710 + - *711 + - *712 + - *713 + - *714 + - *715 + - *716 + - *717 + - *718 + - *719 examples: default: value: @@ -103556,7 +104571,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103578,8 +104593,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -103587,14 +104602,14 @@ paths: schema: type: object properties: - reason: &709 + reason: &721 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *708 + placeholder_id: *720 required: - reason - placeholder_id @@ -103611,7 +104626,7 @@ paths: schema: type: object properties: - reason: *709 + reason: *721 expire_at: type: - string @@ -103635,7 +104650,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103647,6 +104662,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -103655,13 +104673,13 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *163 + '503': *173 '200': description: Response content: @@ -103671,7 +104689,7 @@ paths: properties: incremental_scans: type: array - items: &710 + items: &722 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103699,15 +104717,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *710 + items: *722 backfill_scans: type: array - items: *710 + items: *722 custom_pattern_backfill_scans: type: array items: allOf: - - *710 + - *722 - type: object properties: pattern_name: @@ -103777,9 +104795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *430 - - *431 - - *99 + - *442 + - *443 + - *104 - name: sort description: The property to sort the results by. in: query @@ -103791,8 +104809,8 @@ paths: - updated - published default: created - - *97 - - *98 + - *102 + - *103 - name: per_page description: The number of advisories to return per page. 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)." @@ -103822,9 +104840,9 @@ paths: application/json: schema: type: array - items: *711 + items: *723 examples: - default: *712 + default: *724 '400': *14 '404': *6 x-github: @@ -103847,8 +104865,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -103928,7 +104946,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *409 required: - login - type @@ -104018,9 +105036,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *723 examples: - default: &714 + default: &726 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104253,8 +105271,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -104367,7 +105385,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *723 examples: default: value: @@ -104514,17 +105532,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 responses: '200': description: Response content: application/json: - schema: *711 + schema: *723 examples: - default: *714 + default: *726 '403': *27 '404': *6 x-github: @@ -104548,9 +105566,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 requestBody: required: true content: @@ -104630,7 +105648,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *409 required: - login - type @@ -104721,17 +105739,17 @@ paths: description: Response content: application/json: - schema: *711 + schema: *723 examples: - default: *714 - add_credit: *714 + default: *726 + add_credit: *726 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *235 examples: invalid_state_transition: value: @@ -104762,9 +105780,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 responses: '202': *37 '400': *14 @@ -104791,17 +105809,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 responses: '202': description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 '400': *14 '422': *15 '403': *27 @@ -104827,8 +105845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -104924,8 +105942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104934,7 +105952,7 @@ paths: application/json: schema: type: array - items: &715 + items: &727 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104947,7 +105965,7 @@ paths: - 1124 - -435 '202': *37 - '204': *129 + '204': *139 '422': description: Repository contains more than 10,000 commits x-github: @@ -104967,8 +105985,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -105019,7 +106037,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105046,8 +106064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -105119,7 +106137,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105141,8 +106159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105296,8 +106314,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105307,7 +106325,7 @@ paths: application/json: schema: type: array - items: *715 + items: *727 examples: default: value: @@ -105320,7 +106338,7 @@ paths: - - 0 - 2 - 21 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105340,8 +106358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *430 - - *431 + - *442 + - *443 - name: sha in: path required: true @@ -105397,7 +106415,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *728 examples: default: value: @@ -105451,8 +106469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -105464,7 +106482,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -105484,14 +106502,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &717 + schema: &729 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105564,8 +106582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -105591,7 +106609,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *729 examples: default: value: @@ -105618,8 +106636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -105639,8 +106657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -105722,8 +106740,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -105731,7 +106749,7 @@ paths: application/json: schema: type: array - items: &718 + items: &730 title: Tag protection description: Tag protection type: object @@ -105788,8 +106806,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -105812,7 +106830,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *730 examples: default: value: @@ -105843,8 +106861,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: - - *430 - - *431 + - *442 + - *443 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105881,8 +106899,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *430 - - *431 + - *442 + - *443 - name: ref in: path required: true @@ -105918,8 +106936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -105929,9 +106947,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 headers: Link: *41 '404': *6 @@ -105951,8 +106969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *430 - - *431 + - *442 + - *443 - *19 - *17 responses: @@ -105960,7 +106978,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &731 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105972,7 +106990,7 @@ paths: required: - names examples: - default: &720 + default: &732 value: names: - octocat @@ -105995,8 +107013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -106027,9 +107045,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *731 examples: - default: *720 + default: *732 '404': *6 '422': *7 x-github: @@ -106050,9 +107068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *430 - - *431 - - &721 + - *442 + - *443 + - &733 name: per description: The time frame to display results for. in: query @@ -106083,7 +107101,7 @@ paths: - 128 clones: type: array - items: &722 + items: &734 title: Traffic type: object properties: @@ -106170,8 +107188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -106265,8 +107283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -106329,9 +107347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *430 - - *431 - - *721 + - *442 + - *443 + - *733 responses: '200': description: Response @@ -106352,7 +107370,7 @@ paths: - 3782 views: type: array - items: *722 + items: *734 required: - uniques - count @@ -106429,8 +107447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -106466,7 +107484,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *260 examples: default: value: @@ -106704,8 +107722,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106728,8 +107746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -106751,8 +107769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -106778,8 +107796,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *430 - - *431 + - *442 + - *443 - name: ref in: path required: true @@ -106871,9 +107889,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106914,7 +107932,7 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: default: value: @@ -107024,7 +108042,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &730 + - &742 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107034,7 +108052,7 @@ paths: type: string examples: - members - - &735 + - &747 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107046,7 +108064,7 @@ paths: format: int32 examples: - 1 - - &736 + - &748 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107090,7 +108108,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &725 + items: &737 allOf: - type: object required: @@ -107172,7 +108190,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: &737 + meta: &749 type: object description: The metadata associated with the creation/updates to the user. @@ -107237,30 +108255,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &726 + '400': &738 description: Bad request content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '401': *724 - '403': &727 + schema: *735 + '401': *736 + '403': &739 description: Permission denied - '429': &728 + '429': &740 description: Too many requests content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '500': &729 + schema: *735 + '500': &741 description: Internal server error content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 + schema: *735 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107284,7 +108302,7 @@ paths: required: true content: application/json: - schema: &733 + schema: &745 type: object required: - schemas @@ -107348,9 +108366,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *725 + schema: *737 examples: - group: &731 + group: &743 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107369,13 +108387,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': *726 - '401': *724 - '403': *727 - '409': &734 + '400': *738 + '401': *736 + '403': *739 + '409': &746 description: Duplicate record detected - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107392,7 +108410,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: - - &732 + - &744 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107401,22 +108419,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *730 + - *742 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *725 + schema: *737 examples: - default: *731 - '400': *726 - '401': *724 - '403': *727 + default: *743 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107435,13 +108453,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: - - *732 + - *744 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *745 examples: group: summary: Group @@ -107467,17 +108485,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *725 + schema: *737 examples: - group: *731 - groupWithMembers: *731 - '400': *726 - '401': *724 - '403': *727 + group: *743 + groupWithMembers: *743 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107501,13 +108519,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: - - *732 + - *744 - *39 requestBody: required: true content: application/json: - schema: &744 + schema: &756 type: object required: - Operations @@ -107567,17 +108585,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *725 + schema: *737 examples: - updateGroup: *731 - addMembers: *731 - '400': *726 - '401': *724 - '403': *727 + updateGroup: *743 + addMembers: *743 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107593,17 +108611,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: - - *732 + - *744 - *39 responses: '204': description: Group was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,8 +108655,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *735 - - *736 + - *747 + - *748 - *39 responses: '200': @@ -107672,7 +108690,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &739 + items: &751 allOf: - type: object required: @@ -107764,7 +108782,7 @@ paths: address. examples: - true - roles: &738 + roles: &750 type: array description: The roles assigned to the user. items: @@ -107823,7 +108841,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *737 + meta: *749 startIndex: type: integer description: A starting index for the returned page @@ -107862,11 +108880,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *726 - '401': *724 - '403': *727 - '429': *728 - '500': *729 + '400': *738 + '401': *736 + '403': *739 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107890,7 +108908,7 @@ paths: required: true content: application/json: - schema: &742 + schema: &754 type: object required: - schemas @@ -107983,9 +109001,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *738 + roles: *750 examples: - user: &743 + user: &755 summary: User value: schemas: @@ -108032,9 +109050,9 @@ paths: description: User has been created content: application/scim+json: - schema: *739 + schema: *751 examples: - user: &740 + user: &752 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108060,13 +109078,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: *740 - '400': *726 - '401': *724 - '403': *727 - '409': *734 - '429': *728 - '500': *729 + enterpriseOwner: *752 + '400': *738 + '401': *736 + '403': *739 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108083,7 +109101,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: - - &741 + - &753 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108096,15 +109114,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *739 + schema: *751 examples: - default: *740 - '400': *726 - '401': *724 - '403': *727 + default: *752 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108126,30 +109144,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: - - *741 + - *753 - *39 requestBody: required: true content: application/json: - schema: *742 + schema: *754 examples: - user: *743 + user: *755 responses: '200': description: User was updated content: application/scim+json: - schema: *739 + schema: *751 examples: - user: *740 - '400': *726 - '401': *724 - '403': *727 + user: *752 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108184,13 +109202,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: - - *741 + - *753 - *39 requestBody: required: true content: application/json: - schema: *744 + schema: *756 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108230,18 +109248,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *739 + schema: *751 examples: - userMultiValuedProperties: *740 - userSingleValuedProperties: *740 - disableUser: *740 - '400': *726 - '401': *724 - '403': *727 + userMultiValuedProperties: *752 + userSingleValuedProperties: *752 + disableUser: *752 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108261,17 +109279,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: - - *741 + - *753 - *39 responses: '204': description: User was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108304,7 +109322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *76 + - *81 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -108362,7 +109380,7 @@ paths: - 1 Resources: type: array - items: &745 + items: &757 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108609,22 +109627,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &746 + '404': &758 description: Resource not found content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '403': &747 + schema: *735 + '403': &759 description: Forbidden content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '400': *726 - '429': *728 + schema: *735 + '400': *738 + '429': *740 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108644,15 +109662,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *76 + - *81 responses: '201': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: &748 + default: &760 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108675,17 +109693,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *746 - '403': *747 - '500': *729 + '404': *758 + '403': *759 + '500': *741 '409': description: Conflict content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '400': *726 + schema: *735 + '400': *738 requestBody: required: true content: @@ -108784,18 +109802,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *76 - - *741 + - *81 + - *753 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: *748 - '404': *746 - '403': *747 + default: *760 + '404': *758 + '403': *759 '304': *35 x-github: githubCloudOnly: true @@ -108818,19 +109836,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *76 - - *741 + - *81 + - *753 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: *748 + default: *760 '304': *35 - '404': *746 - '403': *747 + '404': *758 + '403': *759 requestBody: required: true content: @@ -108944,20 +109962,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *76 - - *741 + - *81 + - *753 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: *748 + default: *760 '304': *35 - '404': *746 - '403': *747 - '400': *726 + '404': *758 + '403': *759 + '400': *738 '429': description: Response content: @@ -109052,13 +110070,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *76 - - *741 + - *81 + - *753 responses: '204': description: Response - '404': *746 - '403': *747 + '404': *758 + '403': *759 '304': *35 x-github: githubCloudOnly: true @@ -109173,7 +110191,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *260 score: type: number file_size: @@ -109192,7 +110210,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &749 + text_matches: &761 title: Search Result Text Matches type: array items: @@ -109307,7 +110325,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *163 + '503': *173 '422': *15 '403': *27 x-github: @@ -109356,7 +110374,7 @@ paths: enum: - author-date - committer-date - - &750 + - &762 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 @@ -109425,7 +110443,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *499 comment_count: type: integer message: @@ -109444,7 +110462,7 @@ paths: url: type: string format: uri - verification: *603 + verification: *615 required: - author - committer @@ -109459,7 +110477,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *499 parents: type: array items: @@ -109471,12 +110489,12 @@ paths: type: string sha: type: string - repository: *246 + repository: *260 score: type: number node_id: type: string - text_matches: *749 + text_matches: *761 required: - sha - node_id @@ -109669,7 +110687,7 @@ paths: - interactions - created - updated - - *750 + - *762 - *17 - *19 - name: advanced_search @@ -109766,11 +110784,11 @@ paths: type: - string - 'null' - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: type: string state_reason: @@ -109784,7 +110802,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *380 comments: type: integer created_at: @@ -109798,7 +110816,7 @@ paths: - string - 'null' format: date-time - text_matches: *749 + text_matches: *761 pull_request: type: object properties: @@ -109836,10 +110854,10 @@ paths: type: string score: type: number - author_association: *184 + author_association: *195 draft: type: boolean - repository: *67 + repository: *72 body_html: type: string body_text: @@ -109847,12 +110865,12 @@ paths: timeline_url: type: string format: uri - type: *331 + type: *343 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *196 required: - assignee - closed_at @@ -109968,7 +110986,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *163 + '503': *173 '422': *15 '304': *35 '403': *27 @@ -110021,7 +111039,7 @@ paths: enum: - created - updated - - *750 + - *762 - *17 - *19 responses: @@ -110066,7 +111084,7 @@ paths: - 'null' score: type: number - text_matches: *749 + text_matches: *761 required: - id - node_id @@ -110152,7 +111170,7 @@ paths: - forks - help-wanted-issues - updated - - *750 + - *762 - *17 - *19 responses: @@ -110371,7 +111389,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 permissions: type: object properties: @@ -110389,7 +111407,7 @@ paths: - admin - pull - push - text_matches: *749 + text_matches: *761 temp_clone_token: type: string allow_merge_commit: @@ -110592,7 +111610,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *163 + '503': *173 '422': *15 '304': *35 x-github: @@ -110698,7 +111716,7 @@ paths: - string - 'null' format: uri - text_matches: *749 + text_matches: *761 related: type: - array @@ -110893,7 +111911,7 @@ paths: - followers - repositories - joined - - *750 + - *762 - *17 - *19 responses: @@ -111003,7 +112021,7 @@ paths: type: - boolean - 'null' - text_matches: *749 + text_matches: *761 blog: type: - string @@ -111065,7 +112083,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *163 + '503': *173 '422': *15 x-github: githubCloudOnly: false @@ -111085,7 +112103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &754 + - &766 name: team_id description: The unique identifier of the team. in: path @@ -111097,9 +112115,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 x-github: githubCloudOnly: false @@ -111126,7 +112144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *754 + - *766 requestBody: required: true content: @@ -111190,16 +112208,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '201': description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 '422': *15 '403': *27 @@ -111227,7 +112245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *754 + - *766 responses: '204': description: Response @@ -111258,8 +112276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *754 - - *99 + - *766 + - *104 - *17 - *19 responses: @@ -111269,9 +112287,9 @@ paths: application/json: schema: type: array - items: *413 + items: *425 examples: - default: *755 + default: *767 headers: Link: *41 x-github: @@ -111300,7 +112318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *754 + - *766 requestBody: required: true content: @@ -111334,9 +112352,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *414 + default: *426 x-github: triggersNotification: true githubCloudOnly: false @@ -111363,16 +112381,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *754 - - *415 + - *766 + - *427 responses: '200': description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *414 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111397,8 +112415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *754 - - *415 + - *766 + - *427 requestBody: required: false content: @@ -111421,9 +112439,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *756 + default: *768 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111448,8 +112466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *754 - - *415 + - *766 + - *427 responses: '204': description: Response @@ -111478,9 +112496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *754 - - *415 - - *99 + - *766 + - *427 + - *104 - *17 - *19 responses: @@ -111490,9 +112508,9 @@ paths: application/json: schema: type: array - items: *416 + items: *428 examples: - default: *757 + default: *769 headers: Link: *41 x-github: @@ -111521,8 +112539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *754 - - *415 + - *766 + - *427 requestBody: required: true content: @@ -111544,9 +112562,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *417 + default: *429 x-github: triggersNotification: true githubCloudOnly: false @@ -111573,17 +112591,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 responses: '200': description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *417 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111608,9 +112626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 requestBody: required: true content: @@ -111632,9 +112650,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *758 + default: *770 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111659,9 +112677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 responses: '204': description: Response @@ -111690,9 +112708,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: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111718,9 +112736,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 x-github: @@ -111749,9 +112767,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: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 requestBody: required: true content: @@ -111783,9 +112801,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111811,8 +112829,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: - - *754 - - *415 + - *766 + - *427 - 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. @@ -111838,9 +112856,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 x-github: @@ -111869,8 +112887,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: - - *754 - - *415 + - *766 + - *427 requestBody: required: true content: @@ -111902,9 +112920,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111928,7 +112946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -111938,9 +112956,9 @@ paths: application/json: schema: type: array - items: *328 + items: *340 examples: - default: *329 + default: *341 headers: Link: *41 x-github: @@ -111966,7 +112984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *754 + - *766 - name: role description: Filters members returned by their role in the team. in: query @@ -111989,7 +113007,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '404': *6 @@ -112017,8 +113035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: if user is a member @@ -112054,8 +113072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: Response @@ -112094,8 +113112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: Response @@ -112131,16 +113149,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: - - *754 - - *178 + - *766 + - *188 responses: '200': description: Response content: application/json: - schema: *427 + schema: *439 examples: - response-if-user-is-a-team-maintainer: *759 + response-if-user-is-a-team-maintainer: *771 '404': *6 x-github: githubCloudOnly: false @@ -112173,8 +113191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *766 + - *188 requestBody: required: false content: @@ -112199,9 +113217,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *439 examples: - response-if-users-membership-with-team-is-now-pending: *760 + response-if-users-membership-with-team-is-now-pending: *772 '403': description: Forbidden if team synchronization is set up '422': @@ -112235,8 +113253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: Response @@ -112264,7 +113282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -112274,9 +113292,9 @@ paths: application/json: schema: type: array - items: *428 + items: *440 examples: - default: *761 + default: *773 headers: Link: *41 '404': *6 @@ -112302,16 +113320,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: - - *754 - - *429 + - *766 + - *441 responses: '200': description: Response content: application/json: - schema: *428 + schema: *440 examples: - default: *762 + default: *774 '404': description: Not Found if project is not managed by this team x-github: @@ -112335,8 +113353,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: - - *754 - - *429 + - *766 + - *441 requestBody: required: false content: @@ -112403,8 +113421,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: - - *754 - - *429 + - *766 + - *441 responses: '204': description: Response @@ -112431,7 +113449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -112441,9 +113459,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 '404': *6 @@ -112473,15 +113491,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: - - *754 - - *430 - - *431 + - *766 + - *442 + - *443 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *763 + schema: *775 examples: alternative-response-with-extra-repository-information: value: @@ -112632,9 +113650,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: - - *754 - - *430 - - *431 + - *766 + - *442 + - *443 requestBody: required: false content: @@ -112684,9 +113702,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: - - *754 - - *430 - - *431 + - *766 + - *442 + - *443 responses: '204': description: Response @@ -112715,15 +113733,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: - - *754 + - *766 responses: '200': description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 '403': *27 '404': *6 x-github: @@ -112750,7 +113768,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: - - *754 + - *766 requestBody: required: true content: @@ -112811,7 +113829,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: default: value: @@ -112842,7 +113860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -112852,9 +113870,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - response-if-child-teams-exist: *764 + response-if-child-teams-exist: *776 headers: Link: *41 '404': *6 @@ -112887,7 +113905,7 @@ paths: application/json: schema: oneOf: - - &766 + - &778 title: Private User description: Private User type: object @@ -113137,7 +114155,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *765 + - *777 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113297,7 +114315,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *778 examples: default: value: @@ -113376,7 +114394,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '304': *35 '404': *6 '403': *27 @@ -113399,7 +114417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *178 + - *188 responses: '204': description: If the user is blocked @@ -113427,7 +114445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -113451,7 +114469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -113500,9 +114518,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *348 examples: - default: *337 + default: *349 '304': *35 '500': *38 '401': *23 @@ -113641,21 +114659,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113695,7 +114713,7 @@ paths: type: integer secrets: type: array - items: &767 + items: &779 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113737,7 +114755,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *550 headers: Link: *41 x-github: @@ -113809,13 +114827,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: - - *256 + - *270 responses: '200': description: Response content: application/json: - schema: *767 + schema: *779 examples: default: value: @@ -113845,7 +114863,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: - - *256 + - *270 requestBody: required: true content: @@ -113890,7 +114908,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -113918,7 +114936,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: - - *256 + - *270 responses: '204': description: Response @@ -113943,7 +114961,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: - - *256 + - *270 responses: '200': description: Response @@ -113959,9 +114977,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *768 + default: *780 '401': *23 '403': *27 '404': *6 @@ -113986,7 +115004,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: - - *256 + - *270 requestBody: required: true content: @@ -114040,7 +115058,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: - - *256 + - *270 - name: repository_id in: path required: true @@ -114073,7 +115091,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: - - *256 + - *270 - name: repository_id in: path required: true @@ -114105,15 +115123,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: - - *338 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '304': *35 '500': *38 '401': *23 @@ -114139,7 +115157,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: - - *338 + - *350 requestBody: required: false content: @@ -114169,9 +115187,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '401': *23 '403': *27 '404': *6 @@ -114193,7 +115211,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: - - *338 + - *350 responses: '202': *37 '304': *35 @@ -114222,13 +115240,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: - - *338 + - *350 responses: '202': description: Response content: application/json: - schema: &769 + schema: &781 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114281,7 +115299,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &770 + default: &782 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114313,7 +115331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *338 + - *350 - name: export_id in: path required: true @@ -114326,9 +115344,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *781 examples: - default: *770 + default: *782 '404': *6 x-github: githubCloudOnly: false @@ -114349,7 +115367,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *338 + - *350 responses: '200': description: Response @@ -114365,9 +115383,9 @@ paths: type: integer machines: type: array - items: *537 + items: *549 examples: - default: *771 + default: *783 '304': *35 '500': *38 '401': *23 @@ -114396,7 +115414,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: - - *338 + - *350 requestBody: required: true content: @@ -114452,11 +115470,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *455 machine: anyOf: - type: 'null' - - *537 + - *549 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115253,15 +116271,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: - - *338 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '304': *35 '500': *38 '400': *14 @@ -115273,7 +116291,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115293,15 +116311,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: - - *338 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '500': *38 '401': *23 '403': *27 @@ -115331,9 +116349,9 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: &783 + default: &794 value: - id: 197 name: hello_docker @@ -115434,7 +116452,7 @@ paths: application/json: schema: type: array - items: &772 + items: &784 title: Email description: Email type: object @@ -115504,9 +116522,9 @@ paths: application/json: schema: type: array - items: *772 + items: *784 examples: - default: &785 + default: &796 value: - email: octocat@github.com verified: true @@ -115583,7 +116601,7 @@ paths: application/json: schema: type: array - items: *772 + items: *784 examples: default: value: @@ -115695,7 +116713,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '304': *35 @@ -115728,7 +116746,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '304': *35 @@ -115750,7 +116768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *178 + - *188 responses: '204': description: if the person is followed by the authenticated user @@ -115780,7 +116798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -115805,7 +116823,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -115841,7 +116859,7 @@ paths: application/json: schema: type: array - items: &773 + items: &785 title: GPG Key description: A unique encryption key type: object @@ -115986,7 +117004,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &810 value: - id: 3 name: Octocat's GPG Key @@ -116071,9 +117089,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *785 examples: - default: &774 + default: &786 value: id: 3 name: Octocat's GPG Key @@ -116130,7 +117148,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: - - &775 + - &787 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116142,9 +117160,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *785 examples: - default: *774 + default: *786 '404': *6 '304': *35 '403': *27 @@ -116167,7 +117185,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: - - *775 + - *787 responses: '204': description: Response @@ -116356,9 +117374,9 @@ paths: type: string repositories: type: array - items: *67 + items: *72 examples: - default: *241 + default: *255 headers: Link: *41 '404': *6 @@ -116383,7 +117401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *254 responses: '204': description: Response @@ -116409,7 +117427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *254 responses: '204': description: Response @@ -116443,12 +117461,12 @@ paths: application/json: schema: anyOf: - - *326 + - *338 - type: object properties: {} additionalProperties: false examples: - default: *327 + default: *339 '204': description: Response when there are no restrictions x-github: @@ -116472,7 +117490,7 @@ paths: required: true content: application/json: - schema: *614 + schema: *626 examples: default: value: @@ -116483,7 +117501,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *338 examples: default: value: @@ -116564,7 +117582,7 @@ paths: - closed - all default: open - - *334 + - *346 - name: sort description: What to sort results by. in: query @@ -116576,8 +117594,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - *17 - *19 responses: @@ -116587,9 +117605,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *335 + default: *347 headers: Link: *41 '404': *6 @@ -116622,7 +117640,7 @@ paths: application/json: schema: type: array - items: &776 + items: &788 title: Key description: Key type: object @@ -116725,9 +117743,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *788 examples: - default: &777 + default: &789 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116760,15 +117778,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: - - *640 + - *652 responses: '200': description: Response content: application/json: - schema: *776 + schema: *788 examples: - default: *777 + default: *789 '404': *6 '304': *35 '403': *27 @@ -116791,7 +117809,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: - - *640 + - *652 responses: '204': description: Response @@ -116824,7 +117842,7 @@ paths: application/json: schema: type: array - items: &778 + items: &790 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116892,7 +117910,7 @@ paths: - id - type - login - plan: *200 + plan: *211 required: - billing_cycle - next_billing_date @@ -116903,7 +117921,7 @@ paths: - account - plan examples: - default: &779 + default: &791 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116965,9 +117983,9 @@ paths: application/json: schema: type: array - items: *778 + items: *790 examples: - default: *779 + default: *791 headers: Link: *41 '304': *35 @@ -117007,7 +118025,7 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: default: value: @@ -117109,13 +118127,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *339 + schema: *351 examples: default: value: @@ -117173,7 +118191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *81 requestBody: required: true content: @@ -117198,7 +118216,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *351 examples: default: value: @@ -117266,7 +118284,7 @@ paths: application/json: schema: type: array - items: *341 + items: *353 examples: default: value: @@ -117528,7 +118546,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -117708,7 +118726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *354 - name: exclude in: query required: false @@ -117721,7 +118739,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -117915,7 +118933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *354 responses: '302': description: Response @@ -117941,7 +118959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *354 responses: '204': description: Response @@ -117970,8 +118988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *780 + - *354 + - *792 responses: '204': description: Response @@ -117995,7 +119013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *342 + - *354 - *17 - *19 responses: @@ -118005,9 +119023,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 '404': *6 @@ -118042,9 +119060,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: *781 + default: *224 headers: Link: *41 '304': *35 @@ -118086,7 +119104,7 @@ paths: - docker - nuget - container - - *782 + - *793 - *19 - *17 responses: @@ -118096,10 +119114,10 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *783 - '400': *784 + default: *794 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118119,16 +119137,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: - - *348 - - *349 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *346 + schema: *358 examples: - default: &800 + default: &811 value: id: 40201 name: octo-name @@ -118241,8 +119259,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: - - *348 - - *349 + - *360 + - *361 responses: '204': description: Response @@ -118272,8 +119290,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: - - *348 - - *349 + - *360 + - *361 - name: token description: package token schema: @@ -118305,8 +119323,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: - - *348 - - *349 + - *360 + - *361 - *19 - *17 - name: state @@ -118326,7 +119344,7 @@ paths: application/json: schema: type: array - items: *350 + items: *362 examples: default: value: @@ -118375,15 +119393,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: - - *348 - - *349 - - *351 + - *360 + - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -118419,9 +119437,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: - - *348 - - *349 - - *351 + - *360 + - *361 + - *363 responses: '204': description: Response @@ -118451,9 +119469,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: - - *348 - - *349 - - *351 + - *360 + - *361 + - *363 responses: '204': description: Response @@ -118511,7 +119529,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -118583,9 +119601,9 @@ paths: application/json: schema: type: array - items: *772 + items: *784 examples: - default: *785 + default: *796 headers: Link: *41 '304': *35 @@ -118696,9 +119714,9 @@ paths: application/json: schema: type: array - items: *67 + items: *72 examples: - default: &792 + default: &803 summary: Default response value: - id: 1296269 @@ -119016,9 +120034,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119056,9 +120074,9 @@ paths: application/json: schema: type: array - items: *616 + items: *628 examples: - default: *786 + default: *797 headers: Link: *41 '304': *35 @@ -119081,12 +120099,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *330 + - *342 responses: '204': description: Response '403': *27 - '409': *107 + '409': *112 '404': *6 '304': *35 x-github: @@ -119104,11 +120122,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *330 + - *342 responses: '204': description: Response - '409': *107 + '409': *112 '304': *35 '404': *6 '403': *27 @@ -119137,7 +120155,7 @@ paths: application/json: schema: type: array - items: &787 + items: &798 title: Social account description: Social media account type: object @@ -119154,7 +120172,7 @@ paths: - provider - url examples: - default: &788 + default: &799 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +120235,9 @@ paths: application/json: schema: type: array - items: *787 + items: *798 examples: - default: *788 + default: *799 '422': *15 '304': *35 '404': *6 @@ -119307,7 +120325,7 @@ paths: application/json: schema: type: array - items: &789 + items: &800 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +120345,7 @@ paths: - title - created_at examples: - default: &803 + default: &814 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +120412,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *800 examples: - default: &790 + default: &801 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +120445,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: - - &791 + - &802 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +120457,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *800 examples: - default: *790 + default: *801 '404': *6 '304': *35 '403': *27 @@ -119464,7 +120482,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: - - *791 + - *802 responses: '204': description: Response @@ -119493,7 +120511,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: - - &804 + - &815 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -119506,7 +120524,7 @@ paths: - created - updated default: created - - *99 + - *104 - *17 - *19 responses: @@ -119516,13 +120534,13 @@ paths: application/json: schema: type: array - items: *67 + items: *72 examples: - default-response: *792 + default-response: *803 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &816 title: Starred Repository description: Starred Repository type: object @@ -119530,7 +120548,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *72 required: - starred_at - repo @@ -119678,8 +120696,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response if this repository is starred by you @@ -119707,8 +120725,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -119732,8 +120750,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -119766,9 +120784,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 '304': *35 @@ -119805,7 +120823,7 @@ paths: application/json: schema: type: array - items: *411 + items: *423 examples: default: value: @@ -119883,7 +120901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *202 + - *213 responses: '200': description: Response @@ -119891,10 +120909,10 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *778 + - *777 examples: - default-response: &794 + default-response: &805 summary: Default response value: login: octocat @@ -119929,7 +120947,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &795 + response-with-git-hub-plan-information: &806 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +121007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *804 - *17 responses: '200': @@ -120000,7 +121018,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: example: ; rel="next" @@ -120030,7 +121048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *178 + - *188 responses: '200': description: Response @@ -120038,11 +121056,11 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *778 + - *777 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *805 + response-with-git-hub-plan-information: *806 '404': *6 x-github: githubCloudOnly: false @@ -120066,9 +121084,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *97 - - *98 - - *178 + - *102 + - *103 + - *188 requestBody: required: true content: @@ -120091,8 +121109,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *807 + withPredicateType: *808 responses: '200': description: Response @@ -120146,7 +121164,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120164,7 +121182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *178 + - *188 requestBody: required: true content: @@ -120229,7 +121247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *178 + - *188 - name: subject_digest description: Subject Digest in: path @@ -120260,7 +121278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *178 + - *188 - name: attestation_id description: Attestation ID in: path @@ -120296,9 +121314,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *97 - - *98 - - *178 + - *102 + - *103 + - *188 - name: subject_digest description: Subject Digest in: path @@ -120350,12 +121368,12 @@ paths: initiator: type: string examples: - default: *483 + default: *495 '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -120381,7 +121399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *178 + - *188 responses: '200': description: Response @@ -120389,9 +121407,9 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *783 + default: *794 '403': *27 '401': *23 x-github: @@ -120414,7 +121432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120424,7 +121442,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -120486,8 +121504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *178 - - *76 + - *188 + - *81 - *17 - *19 responses: @@ -120497,7 +121515,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -120574,7 +121592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120584,7 +121602,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -120642,7 +121660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120654,7 +121672,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -120673,7 +121691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120685,7 +121703,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -120704,7 +121722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *178 + - *188 - name: target_user in: path required: true @@ -120731,8 +121749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *178 - - *189 + - *188 + - *200 - *17 - *19 responses: @@ -120742,9 +121760,9 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: - default: *191 + default: *202 headers: Link: *41 '422': *15 @@ -120765,7 +121783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120775,9 +121793,9 @@ paths: application/json: schema: type: array - items: *773 + items: *785 examples: - default: *799 + default: *810 headers: Link: *41 x-github: @@ -120801,7 +121819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *178 + - *188 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120873,7 +121891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *178 + - *188 responses: '200': description: Response @@ -120881,7 +121899,7 @@ paths: application/json: schema: *20 examples: - default: *613 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120899,7 +121917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120955,7 +121973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120965,9 +121983,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: *781 + default: *224 headers: Link: *41 x-github: @@ -121006,8 +122024,8 @@ paths: - docker - nuget - container - - *782 - - *178 + - *793 + - *188 - *19 - *17 responses: @@ -121017,12 +122035,12 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *783 + default: *794 '403': *27 '401': *23 - '400': *784 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121042,17 +122060,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 responses: '200': description: Response content: application/json: - schema: *346 + schema: *358 examples: - default: *800 + default: *811 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121073,9 +122091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 responses: '204': description: Response @@ -121107,9 +122125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 - name: token description: package token schema: @@ -121141,9 +122159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 responses: '200': description: Response @@ -121151,7 +122169,7 @@ paths: application/json: schema: type: array - items: *350 + items: *362 examples: default: value: @@ -121209,16 +122227,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: - - *348 - - *349 - - *351 - - *178 + - *360 + - *361 + - *363 + - *188 responses: '200': description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -121253,10 +122271,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *348 - - *349 - - *178 - - *351 + - *360 + - *361 + - *188 + - *363 responses: '204': description: Response @@ -121288,10 +122306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *348 - - *349 - - *178 - - *351 + - *360 + - *361 + - *188 + - *363 responses: '204': description: Response @@ -121317,7 +122335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *178 + - *188 - name: state description: Indicates the state of the projects to return. in: query @@ -121338,7 +122356,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -121396,15 +122414,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *178 + - *188 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *97 - - *98 + - *102 + - *103 - *17 responses: '200': @@ -121413,9 +122431,9 @@ paths: application/json: schema: type: array - items: *363 + items: *375 examples: - default: *364 + default: *376 headers: Link: *41 '304': *35 @@ -121437,16 +122455,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *365 - - *178 + - *377 + - *188 responses: '200': description: Response content: application/json: - schema: *363 + schema: *375 examples: - default: *364 + default: *376 headers: Link: *41 '304': *35 @@ -121468,11 +122486,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *365 - - *178 + - *377 + - *188 - *17 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -121480,9 +122498,9 @@ paths: application/json: schema: type: array - items: *366 + items: *378 examples: - default: *367 + default: *379 headers: Link: *41 '304': *35 @@ -121504,17 +122522,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *365 - - *801 - - *178 + - *377 + - *812 + - *188 responses: '200': description: Response content: application/json: - schema: *366 + schema: *378 examples: - default: *367 + default: *379 headers: Link: *41 '304': *35 @@ -121537,10 +122555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *365 - - *178 - - *97 - - *98 + - *377 + - *188 + - *102 + - *103 - *17 - 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) @@ -121550,17 +122568,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -121568,9 +122588,9 @@ paths: application/json: schema: type: array - items: *372 + items: *384 examples: - default: *373 + default: *385 headers: Link: *41 '304': *35 @@ -121591,8 +122611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *178 - - *365 + - *188 + - *377 requestBody: required: true description: Details of the item to add to the project. @@ -121629,10 +122649,10 @@ paths: description: Response content: application/json: - schema: *802 + schema: *813 examples: - issue: *371 - pull_request: *371 + issue: *383 + pull_request: *383 '304': *35 '403': *27 '401': *23 @@ -121652,29 +122672,31 @@ 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: - - *365 - - *178 - - *374 + - *377 + - *188 + - *386 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *372 + schema: *384 examples: - default: *373 + default: *385 headers: Link: *41 '304': *35 @@ -121695,9 +122717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *365 - - *178 - - *374 + - *377 + - *188 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121770,13 +122792,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *384 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *23 '403': *27 '404': *6 @@ -121796,9 +122818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *365 - - *178 - - *374 + - *377 + - *188 + - *386 responses: '204': description: Response @@ -121825,7 +122847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -121835,7 +122857,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -121900,7 +122922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -121910,7 +122932,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -121973,7 +122995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *178 + - *188 - name: type description: Limit results to repositories of the specified type. in: query @@ -122016,9 +123038,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -122042,15 +123064,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *178 + - *188 responses: '200': description: Response content: application/json: - schema: *398 + schema: *410 examples: - default: *399 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122072,15 +123094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *178 + - *188 responses: '200': description: Response content: application/json: - schema: *403 + schema: *415 examples: - default: *404 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122089,7 +123111,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -122097,12 +123122,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *178 - - *169 - - *213 - - *170 - - *215 - - *216 + - *188 + - *179 + - *225 + - *180 + - *227 + - *228 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +123180,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -122210,7 +123235,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122232,15 +123257,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *178 + - *188 responses: '200': description: Response content: application/json: - schema: *405 + schema: *417 examples: - default: *406 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122260,11 +123285,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *178 - - *169 - - *217 - - *170 - - *218 + - *188 + - *179 + - *229 + - *180 + - *230 responses: '200': description: Response when getting a billing usage report @@ -122335,7 +123360,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122353,7 +123378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -122363,9 +123388,9 @@ paths: application/json: schema: type: array - items: *787 + items: *798 examples: - default: *788 + default: *799 headers: Link: *41 x-github: @@ -122385,7 +123410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -122395,9 +123420,9 @@ paths: application/json: schema: type: array - items: *789 + items: *800 examples: - default: *803 + default: *814 headers: Link: *41 x-github: @@ -122421,9 +123446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *178 - - *804 - - *99 + - *188 + - *815 + - *104 - *17 - *19 responses: @@ -122434,11 +123459,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *816 - type: array - items: *67 + items: *72 examples: - default-response: *792 + default-response: *803 headers: Link: *41 x-github: @@ -122457,7 +123482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -122467,9 +123492,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -122598,7 +123623,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &817 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +123692,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &818 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +123713,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &819 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +123786,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &820 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +123815,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *197 organization: anyOf: - type: 'null' @@ -123674,10 +124699,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -123753,11 +124778,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: &821 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -123980,11 +125005,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -124172,11 +125197,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -124247,7 +125272,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &824 title: Exemption request cancellation event type: object properties: @@ -124255,11 +125280,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: &822 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +125522,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &823 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +125632,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &825 title: Exemption request completed event type: object properties: @@ -124615,11 +125640,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -124689,7 +125714,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &826 title: Exemption request created event type: object properties: @@ -124697,11 +125722,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -124771,7 +125796,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &827 title: Exemption response dismissed event type: object properties: @@ -124779,12 +125804,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -124856,7 +125881,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &828 title: Exemption response submitted event type: object properties: @@ -124864,12 +125889,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -124942,7 +125967,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *824 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +126034,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *825 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +126101,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *826 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +126168,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *827 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +126236,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *828 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +126314,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &830 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +126379,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *198 + repository: *260 status: type: string enum: @@ -125399,7 +126424,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *829 details_url: type: string examples: @@ -125459,7 +126484,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *198 started_at: type: string format: date-time @@ -125497,10 +126522,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -125893,11 +126918,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *830 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -126293,11 +127318,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *830 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 requested_action: description: The action requested by the user. type: object @@ -126702,11 +127727,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *830 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -127698,10 +128723,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -128386,10 +129411,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -129068,10 +130093,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -129240,7 +130265,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129392,20 +130417,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &831 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: *806 - installation: *807 - organization: *808 - ref: &821 + enterprise: *817 + installation: *818 + organization: *819 + ref: &832 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: *809 + repository: *820 sender: *4 required: - action @@ -129572,7 +130597,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129813,12 +130838,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -129916,7 +130941,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130101,12 +131126,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -130275,7 +131300,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130452,12 +131477,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -130560,7 +131585,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130740,9 +131765,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -130750,7 +131775,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *820 sender: *4 required: - action @@ -130849,7 +131874,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130996,12 +132021,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -131263,10 +132288,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -131347,18 +132372,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *819 + pusher_type: &833 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &834 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +132393,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *820 sender: *4 required: - ref @@ -131450,10 +132475,10 @@ webhooks: type: string enum: - created - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *135 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131538,9 +132563,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131617,10 +132642,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *135 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131697,10 +132722,10 @@ webhooks: type: string enum: - updated - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *135 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131777,19 +132802,19 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *817 + installation: *818 + repository: *820 + organization: *819 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *376 + items: *388 old_property_values: type: array description: The old custom property values for the repository. - items: *376 + items: *388 required: - action - repository @@ -131865,18 +132890,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *817 + installation: *818 + organization: *819 + pusher_type: *833 + ref: *834 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *820 sender: *4 required: - ref @@ -131960,11 +132985,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132048,11 +133073,11 @@ webhooks: type: string enum: - auto_reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132136,11 +133161,11 @@ webhooks: type: string enum: - created - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132222,11 +133247,11 @@ webhooks: type: string enum: - dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132308,11 +133333,11 @@ webhooks: type: string enum: - fixed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132395,11 +133420,11 @@ webhooks: type: string enum: - reintroduced - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132481,11 +133506,11 @@ webhooks: type: string enum: - reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132562,9 +133587,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *817 + installation: *818 + key: &835 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132602,8 +133627,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -132680,11 +133705,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + key: *835 + organization: *819 + repository: *820 sender: *4 required: - action @@ -133256,12 +134281,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: &828 + workflow: &839 title: Workflow type: - object @@ -133999,13 +135024,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *569 + deployment: *581 pull_requests: type: array - items: *658 - repository: *809 - organization: *808 - installation: *807 + items: *670 + repository: *820 + organization: *819 + installation: *818 sender: *4 responses: '200': @@ -134076,7 +135101,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &836 type: object properties: avatar_url: @@ -134119,11 +135144,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: &837 type: array items: type: object @@ -134204,7 +135229,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &838 type: object properties: conclusion: @@ -134950,18 +135975,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *836 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: *837 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *838 workflow_job_runs: type: array items: @@ -135678,13 +136703,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *817 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *818 + organization: *819 + repository: *820 + requestor: &844 title: User type: - object @@ -137627,12 +138652,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +139348,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &842 type: object properties: author_association: @@ -138483,11 +139508,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -138614,11 +139639,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -138701,11 +139726,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -138787,7 +139812,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &841 type: object properties: author_association: @@ -138947,11 +139972,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139034,12 +140059,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *841 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139134,12 +140159,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *841 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139223,11 +140248,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139309,11 +140334,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139413,11 +140438,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139499,10 +140524,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *840 + enterprise: *817 + installation: *818 + label: &843 title: Label type: object properties: @@ -139535,8 +140560,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139619,11 +140644,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139705,11 +140730,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139791,11 +140816,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139880,16 +140905,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *840 + new_repository: *820 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139972,10 +140997,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *840 + old_answer: *842 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140057,12 +141082,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140145,11 +141170,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140231,11 +141256,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140304,7 +141329,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *826 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +141392,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *828 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +141458,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *824 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +141524,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *825 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +141590,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *826 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +141656,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *827 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +141722,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *828 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +141789,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *817 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +142467,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - forkee @@ -141590,9 +142615,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pages: description: The pages that were updated. type: array @@ -141630,7 +142655,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *820 sender: *4 required: - pages @@ -141706,10 +142731,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: &834 + organization: *819 + repositories: &845 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +142760,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *820 + requester: *844 sender: *4 required: - action @@ -141811,11 +142836,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -141892,11 +142917,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -141973,10 +142998,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories_added: &835 + organization: *819 + repositories_added: &846 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +143047,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *820 + repository_selection: &847 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *844 sender: *4 required: - action @@ -142109,10 +143134,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories_added: *835 + organization: *819 + repositories_added: *846 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +143164,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *820 + repository_selection: *847 + requester: *844 sender: *4 required: - action @@ -142220,11 +143245,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -142407,10 +143432,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 target_type: type: string @@ -142489,11 +143514,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -142741,8 +143766,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143559,8 +144584,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143577,7 +144602,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -143921,8 +144946,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -144002,7 +145027,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &848 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +145194,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144983,8 +146008,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145001,7 +146026,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -145347,8 +146372,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -145428,7 +146453,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &872 description: The changes to the comment. type: object properties: @@ -145440,9 +146465,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *848 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146258,8 +147283,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146276,7 +147301,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -146620,8 +147645,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146705,15 +147730,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *194 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + blocking_issue_repo: *72 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146801,15 +147826,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *194 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + blocking_issue_repo: *72 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146896,15 +147921,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 - blocked_issue_repo: *67 + blocked_issue: *194 + blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146992,15 +148017,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 - blocked_issue_repo: *67 + blocked_issue: *194 + blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -147085,10 +148110,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *844 + enterprise: *817 + installation: *818 + issue: &851 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147900,11 +148925,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147921,7 +148946,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -148024,8 +149049,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -148105,8 +149130,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148923,11 +149948,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148944,7 +149969,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -149190,8 +150215,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149270,8 +150295,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150079,11 +151104,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150100,7 +151125,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -150202,8 +151227,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -150282,8 +151307,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151114,11 +152139,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151135,7 +152160,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -151216,7 +152241,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &849 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +152384,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -151459,8 +152484,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152272,11 +153297,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +153315,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *343 title: description: Title of the issue type: string @@ -152396,9 +153421,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -152478,8 +153503,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153290,11 +154315,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153308,7 +154333,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *343 title: description: Title of the issue type: string @@ -153414,9 +154439,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -153496,8 +154521,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154333,11 +155358,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154351,7 +155376,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *343 title: description: Title of the issue type: string @@ -154434,8 +155459,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -154514,8 +155539,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155345,11 +156370,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155366,7 +156391,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -155446,9 +156471,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -156340,11 +157365,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156440,7 +157465,7 @@ webhooks: required: - login - id - type: *331 + type: *343 required: - id - number @@ -156921,8 +157946,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157734,11 +158759,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +158780,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -157857,8 +158882,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -157938,9 +158963,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *817 + installation: *818 + issue: &850 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158746,11 +159771,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158767,7 +159792,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -158869,8 +159894,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -158949,8 +159974,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159784,11 +160809,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159885,9 +160910,9 @@ webhooks: format: uri user_view_type: type: string - type: *331 - organization: *808 - repository: *809 + type: *343 + organization: *819 + repository: *820 sender: *4 required: - action @@ -160776,11 +161801,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160797,7 +161822,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -161379,11 +162404,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161463,12 +162488,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + type: *343 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161549,7 +162574,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &875 title: User type: - object @@ -161621,11 +162646,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161704,12 +162729,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161789,8 +162814,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162624,11 +163649,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162645,7 +163670,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -162725,8 +163750,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -162806,11 +163831,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -162889,12 +163914,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + type: *343 + organization: *819 + repository: *820 sender: *4 required: - action @@ -162974,11 +163999,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163056,11 +164081,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163170,11 +164195,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163256,9 +164281,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *817 + installation: *818 + marketplace_purchase: &852 title: Marketplace Purchase type: object required: @@ -163346,8 +164371,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *819 + previous_marketplace_purchase: &853 title: Marketplace Purchase type: object properties: @@ -163431,7 +164456,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *820 sender: *4 required: - action @@ -163511,10 +164536,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +164627,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *820 sender: *4 required: - action @@ -163684,10 +164709,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +164798,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *820 sender: *4 required: - action @@ -163854,8 +164879,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +164966,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -164023,12 +165048,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -164130,11 +165155,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164236,11 +165261,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164319,11 +165344,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164401,11 +165426,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +165508,7 @@ webhooks: required: - login - id - team: &843 + team: &854 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +165738,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +165821,7 @@ webhooks: required: - login - id - team: *843 + team: *854 required: - action - scope @@ -164878,8 +165903,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *818 + merge_group: &855 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164898,15 +165923,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *515 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164992,10 +166017,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *818 + merge_group: *855 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165068,7 +166093,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *817 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +166202,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *818 + organization: *819 repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -165262,11 +166287,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165345,9 +166370,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *817 + installation: *818 + milestone: &856 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +166514,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165569,11 +166594,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165683,11 +166708,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165767,11 +166792,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *856 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165850,11 +166875,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165933,11 +166958,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166016,9 +167041,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *817 + installation: *818 + membership: &857 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +167153,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166207,11 +167232,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166290,8 +167315,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +167438,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 - user: *833 + user: *844 required: - action - invitation @@ -166494,11 +167519,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166585,11 +167610,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166665,9 +167690,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -167190,7 +168215,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &858 title: Ruby Gems metadata type: object properties: @@ -167287,7 +168312,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -167363,9 +168388,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -167727,7 +168752,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *858 source_url: type: string format: uri @@ -167798,7 +168823,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -167979,12 +169004,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *817 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - id @@ -168061,7 +169086,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &859 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +169236,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *817 + organization: *819 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168291,11 +169316,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168371,11 +169396,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168450,11 +169475,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *859 + organization: *819 + enterprise: *817 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168559,7 +169584,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *860 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +169616,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +169862,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *817 + installation: *818 + organization: *819 + project_card: &861 title: Project Card type: object properties: @@ -168963,7 +169988,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *820 sender: *4 required: - action @@ -169044,11 +170069,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -169128,9 +170153,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 project_card: title: Project Card type: object @@ -169260,7 +170285,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -169354,11 +170379,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -169452,9 +170477,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 project_card: allOf: - title: Project Card @@ -169651,7 +170676,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *820 sender: *4 required: - action @@ -169731,10 +170756,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *817 + installation: *818 + organization: *819 + project: &863 title: Project type: object properties: @@ -169861,7 +170886,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *820 sender: *4 required: - action @@ -169941,10 +170966,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *817 + installation: *818 + organization: *819 + project_column: &862 title: Project Column type: object properties: @@ -169984,7 +171009,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *820 sender: *4 required: - action @@ -170063,14 +171088,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -170159,11 +171184,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -170243,11 +171268,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -170327,11 +171352,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -170411,14 +171436,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -170519,11 +171544,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -170602,11 +171627,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -170687,9 +171712,9 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -170770,9 +171795,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -170853,9 +171878,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -170976,9 +172001,9 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -171061,7 +172086,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &867 type: object properties: archived_at: @@ -171077,9 +172102,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *818 + organization: *819 + projects_v2_item: &864 title: Projects v2 Item description: An item belonging to a project type: object @@ -171097,7 +172122,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *382 creator: *4 created_at: type: string @@ -171219,9 +172244,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171303,9 +172328,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171386,9 +172411,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171493,7 +172518,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &865 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +172542,7 @@ webhooks: required: - id - name - - &855 + - &866 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +172582,8 @@ webhooks: oneOf: - type: string - type: integer - - *854 - - *855 + - *865 + - *866 type: - 'null' - string @@ -171581,9 +172606,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171680,9 +172705,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171765,10 +172790,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *867 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171850,9 +172875,9 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -171933,9 +172958,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -172016,9 +173041,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -172164,9 +173189,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -172237,10 +173262,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - repository @@ -172317,13 +173342,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *844 + enterprise: *817 + installation: *818 + number: &869 description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -174672,7 +175697,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -174754,11 +175779,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -177100,7 +178125,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *820 sender: *4 required: - action @@ -177182,11 +178207,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -179528,7 +180553,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *820 sender: *4 required: - action @@ -179610,13 +180635,13 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: &870 allOf: - - *658 + - *670 - type: object properties: allow_auto_merge: @@ -179678,7 +180703,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *820 sender: *4 required: - action @@ -179759,12 +180784,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -179844,11 +180869,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + enterprise: *817 + milestone: *380 + number: *869 + organization: *819 + pull_request: &871 title: Pull Request type: object properties: @@ -182175,7 +183200,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -182254,11 +183279,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -184604,7 +185629,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *820 sender: *4 required: - action @@ -184728,12 +185753,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -184813,11 +185838,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -187148,7 +188173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -187228,11 +188253,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + label: *843 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -189580,7 +190605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -189661,10 +190686,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -192010,7 +193035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -192090,12 +193115,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + enterprise: *817 + milestone: *380 + number: *869 + organization: *819 + pull_request: *871 + repository: *820 sender: *4 required: - action @@ -192174,12 +193199,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -192260,12 +193285,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -192345,12 +193370,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -192725,9 +193750,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -194957,7 +195982,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *820 sender: *4 required: - action @@ -195037,7 +196062,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &873 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195330,9 +196355,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -197550,7 +198575,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *820 sender: *4 required: - action @@ -197630,11 +198655,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *872 + comment: *873 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -199855,7 +200880,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *820 sender: *4 required: - action @@ -199936,9 +200961,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -202171,7 +203196,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *820 review: description: The review that was affected. type: object @@ -202422,9 +203447,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -204538,8 +205563,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *820 + review: &874 description: The review that was affected. type: object properties: @@ -204777,12 +205802,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -207129,7 +208154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_reviewer: title: User type: @@ -207215,12 +208240,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -209574,7 +210599,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +210794,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -212123,7 +213148,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_reviewer: title: User type: @@ -212210,12 +213235,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -214555,7 +215580,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +215764,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -216977,8 +218002,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *820 + review: *874 sender: *4 required: - action @@ -217058,9 +218083,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -219191,7 +220216,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *820 sender: *4 thread: type: object @@ -219588,9 +220613,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -221704,7 +222729,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *820 sender: *4 thread: type: object @@ -222103,10 +223128,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -224441,7 +225466,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -224523,11 +225548,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *875 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -226877,7 +227902,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -226956,11 +227981,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + label: *843 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -229299,7 +230324,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -229380,10 +230405,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -231712,7 +232737,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -231915,7 +232940,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *817 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +233035,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *818 + organization: *819 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +233624,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -233078,7 +234103,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *858 summary: type: string tag_name: @@ -233134,7 +234159,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -233212,9 +234237,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -233526,7 +234551,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *858 summary: type: string tag_name: @@ -233576,7 +234601,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -233653,10 +234678,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *817 + installation: *818 + organization: *819 + release: &876 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +235012,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *820 sender: *4 required: - action @@ -234064,11 +235089,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -234185,11 +235210,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -234267,9 +235292,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +235630,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *820 sender: *4 required: - action @@ -234681,10 +235706,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *817 + installation: *818 + organization: *819 + release: &877 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +236042,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *820 sender: *4 required: - action @@ -235093,11 +236118,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -235173,11 +236198,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *877 + repository: *820 sender: *4 required: - action @@ -235253,11 +236278,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *723 sender: *4 required: - action @@ -235333,11 +236358,11 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *723 sender: *4 required: - action @@ -235413,10 +236438,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235493,10 +236518,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235574,10 +236599,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235662,10 +236687,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235780,10 +236805,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235855,10 +236880,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 status: type: string @@ -235939,10 +236964,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236019,10 +237044,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236116,10 +237141,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236199,11 +237224,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_ruleset: *168 sender: *4 required: - action @@ -236281,11 +237306,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_ruleset: *168 sender: *4 required: - action @@ -236363,11 +237388,11 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_ruleset: *168 changes: type: object properties: @@ -236386,16 +237411,16 @@ webhooks: properties: added: type: array - items: *132 + items: *142 deleted: type: array - items: *132 + items: *142 updated: type: array items: type: object properties: - condition: *132 + condition: *142 changes: type: object properties: @@ -236428,16 +237453,16 @@ webhooks: properties: added: type: array - items: *679 + items: *691 deleted: type: array - items: *679 + items: *691 updated: type: array items: type: object properties: - rule: *679 + rule: *691 changes: type: object properties: @@ -236674,10 +237699,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236755,10 +237780,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236836,7 +237861,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &878 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +237985,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237173,10 +238198,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237254,11 +238279,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *878 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237460,10 +238485,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237541,17 +238566,17 @@ webhooks: type: string enum: - created - alert: &868 + alert: &879 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri @@ -237655,10 +238680,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237739,11 +238764,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *879 + installation: *818 + location: *880 + organization: *819 + repository: *820 sender: *4 required: - location @@ -237981,11 +239006,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238063,11 +239088,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238145,11 +239170,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238227,11 +239252,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238361,10 +239386,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *820 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -238442,11 +239467,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: &881 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238463,7 +239488,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: array items: @@ -238632,11 +239657,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: *881 sender: *4 required: - action @@ -238709,10 +239734,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238730,7 +239755,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: array items: @@ -238898,11 +239923,11 @@ webhooks: from: type: object properties: - security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 - repository: *443 + security_and_analysis: *389 + enterprise: *817 + installation: *818 + organization: *819 + repository: *455 sender: *4 required: - changes @@ -238980,12 +240005,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: &871 + sponsorship: &882 type: object properties: created_at: @@ -239290,12 +240315,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - sponsorship @@ -239383,12 +240408,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - changes @@ -239465,17 +240490,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &883 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - sponsorship @@ -239549,7 +240574,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &884 type: object properties: tier: @@ -239593,13 +240618,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *883 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - changes @@ -239676,13 +240701,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *884 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - changes @@ -239756,10 +240781,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +240868,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +241305,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *817 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *818 name: type: string - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +241423,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - parent_issue_repo: *67 + parent_issue: *194 + parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240490,15 +241515,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - parent_issue_repo: *67 + parent_issue: *194 + parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240582,15 +241607,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - sub_issue_repo: *67 + sub_issue: *194 + sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240674,15 +241699,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - sub_issue_repo: *67 + sub_issue: *194 + sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240759,12 +241784,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - team: &874 + team: &885 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +242019,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -241466,7 +242491,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -241542,9 +242567,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -242014,7 +243039,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -242091,9 +243116,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -242563,7 +243588,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -242707,9 +243732,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -243179,7 +244204,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - changes @@ -243257,9 +244282,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -243729,7 +244754,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -243805,10 +244830,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243881,17 +244906,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *817 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *818 + organization: *819 ref: type: string - repository: *809 + repository: *820 sender: *4 workflow: type: string @@ -243973,10 +244998,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -244232,7 +245257,7 @@ webhooks: type: string required: - conclusion - deployment: *569 + deployment: *581 required: - action - repository @@ -244311,10 +245336,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -244596,7 +245621,7 @@ webhooks: required: - status - steps - deployment: *569 + deployment: *581 required: - action - repository @@ -244675,10 +245700,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -244824,7 +245849,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *581 required: - action - repository @@ -244903,10 +245928,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -245053,7 +246078,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *581 required: - action - repository @@ -245133,12 +246158,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Workflow Run type: object @@ -246157,12 +247182,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Workflow Run type: object @@ -247166,12 +248191,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 8d97d0fbd..f8a5dffb3 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -19279,6 +19283,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -19409,6 +19420,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -19549,6 +19564,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -19569,6 +19591,11 @@ "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean", "default": false + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -19665,6 +19692,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -19795,6 +19829,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -19850,17 +19888,17 @@ } } }, - "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": { "get": { - "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", - "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-github-owned-images-for-enterprise", + "summary": "List custom images for an enterprise", + "description": "List custom images for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], + "operationId": "actions/list-custom-images-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise" }, "parameters": [ { @@ -19891,15 +19929,15 @@ "images": { "type": "array", "items": { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", "type": "object", "properties": { "id": { "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", + "type": "integer", "examples": [ - "ubuntu-20.04" + 1 ] }, "platform": { @@ -19909,36 +19947,58 @@ "linux-x64" ] }, - "size_gb": { - "description": "Image size in GB.", + "total_versions_size": { + "description": "Total size of all the image versions in GB.", "type": "integer", "examples": [ - 86 + 200 ] }, - "display_name": { + "name": { "description": "Display name for this image.", "type": "string", "examples": [ - 20.04 + "CustomImage" ] }, "source": { "description": "The image provider.", "type": "string", - "enum": [ - "github", - "partner", + "examples": [ "custom" ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] } }, "required": [ "id", "platform", - "size_gb", - "display_name", - "source" + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" ] } } @@ -19947,11 +20007,157 @@ "examples": { "default": { "value": { - "id": "ubuntu-20.04", + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get an enterprise custom image definition for GitHub Actions Hosted Runners", + "description": "Get an enterprise custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, "platform": "linux-x64", - "size_gb": 86, - "display_name": "20.04", - "source": "github" + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" } } } @@ -19965,21 +20171,73 @@ "category": "actions", "subcategory": "hosted-runners" } + }, + "delete": { + "summary": "Delete a custom image from the enterprise", + "description": "Delete a custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } } }, - "/enterprises/{enterprise}/actions/hosted-runners/images/partner": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { "get": { - "summary": "Get partner images for GitHub-hosted runners in an enterprise", - "description": "Get the list of partner images available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-partner-images-for-enterprise", + "summary": "List image versions of a custom image for an enterprise", + "description": "List image versions of a custom image for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], + "operationId": "actions/list-custom-image-versions-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise" }, "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "enterprise", "description": "The slug version of the enterprise name.", @@ -19999,63 +20257,61 @@ "type": "object", "required": [ "total_count", - "images" + "image_versions" ], "properties": { "total_count": { "type": "integer" }, - "images": { + "image_versions": { "type": "array", "items": { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", "type": "object", "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "version": { + "description": "The version of image.", "type": "string", "examples": [ - "ubuntu-20.04" + "1.0.0" ] }, - "platform": { - "description": "The operating system of the image.", + "state": { + "description": "The state of image version.", "type": "string", "examples": [ - "linux-x64" + "Ready" ] }, "size_gb": { - "description": "Image size in GB.", + "description": "Image version size in GB.", "type": "integer", "examples": [ - 86 + 30 ] }, - "display_name": { - "description": "Display name for this image.", + "created_on": { + "description": "The creation date time of the image version.", "type": "string", "examples": [ - 20.04 + "2024-11-09T23:39:01Z" ] }, - "source": { - "description": "The image provider.", + "state_details": { + "description": "The image version status details.", "type": "string", - "enum": [ - "github", - "partner", - "custom" + "examples": [ + "None" ] } }, "required": [ - "id", - "platform", + "version", + "state", "size_gb", - "display_name", - "source" + "created_on", + "state_details" ] } } @@ -20064,11 +20320,21 @@ "examples": { "default": { "value": { - "id": "ubuntu-20.04", - "platform": "linux-x64", - "size_gb": 86, - "display_name": "20.04", - "source": "github" + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] } } } @@ -20084,17 +20350,17 @@ } } }, - "/enterprises/{enterprise}/actions/hosted-runners/limits": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { "get": { - "summary": "Get limits on GitHub-hosted runners for an enterprise", - "description": "Get the GitHub-hosted runners limits for an enterprise.", + "summary": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], - "operationId": "actions/get-hosted-runners-limits-for-enterprise", + "operationId": "actions/get-custom-image-version-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners" }, "parameters": [ { @@ -20105,6 +20371,25 @@ "schema": { "type": "string" } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } } ], "responses": { @@ -20113,45 +20398,61 @@ "content": { "application/json": { "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", "type": "object", "properties": { - "public_ips": { - "title": "Static public IP Limits for GitHub-hosted Hosted Runners.", - "description": "Provides details of static public IP limits for GitHub-hosted Hosted Runners", - "type": "object", - "properties": { - "maximum": { - "type": "integer", - "description": "The maximum number of static public IP addresses that can be used for Hosted Runners.", - "examples": [ - 50 - ] - }, - "current_usage": { - "type": "integer", - "description": "The current number of static public IP addresses in use by Hosted Runners.", - "examples": [ - 17 - ] - } - }, - "required": [ - "maximum", - "current_usage" + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" ] } }, "required": [ - "public_ips" + "version", + "state", + "size_gb", + "created_on", + "state_details" ] }, "examples": { "default": { "value": { - "public_ips": { - "current_usage": 17, - "maximum": 50 - } + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" } } } @@ -20165,19 +20466,389 @@ "category": "actions", "subcategory": "hosted-runners" } + }, + "delete": { + "summary": "Delete an image version of custom image from the enterprise", + "description": "Delete an image version of custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } } }, - "/enterprises/{enterprise}/actions/hosted-runners/machine-sizes": { + "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { "get": { - "summary": "Get GitHub-hosted runners machine specs for an enterprise", - "description": "Get the list of machine specs available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-machine-specs-for-enterprise", + "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", + "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-github-owned-images-for-enterprise", "tags": [ "actions" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + } + }, + "required": [ + "id", + "platform", + "size_gb", + "display_name", + "source" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "id": "ubuntu-20.04", + "platform": "linux-x64", + "size_gb": 86, + "display_name": "20.04", + "source": "github" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/partner": { + "get": { + "summary": "Get partner images for GitHub-hosted runners in an enterprise", + "description": "Get the list of partner images available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-partner-images-for-enterprise", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + } + }, + "required": [ + "id", + "platform", + "size_gb", + "display_name", + "source" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "id": "ubuntu-20.04", + "platform": "linux-x64", + "size_gb": 86, + "display_name": "20.04", + "source": "github" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/limits": { + "get": { + "summary": "Get limits on GitHub-hosted runners for an enterprise", + "description": "Get the GitHub-hosted runners limits for an enterprise.", + "tags": [ + "actions" + ], + "operationId": "actions/get-hosted-runners-limits-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "public_ips": { + "title": "Static public IP Limits for GitHub-hosted Hosted Runners.", + "description": "Provides details of static public IP limits for GitHub-hosted Hosted Runners", + "type": "object", + "properties": { + "maximum": { + "type": "integer", + "description": "The maximum number of static public IP addresses that can be used for Hosted Runners.", + "examples": [ + 50 + ] + }, + "current_usage": { + "type": "integer", + "description": "The current number of static public IP addresses in use by Hosted Runners.", + "examples": [ + 17 + ] + } + }, + "required": [ + "maximum", + "current_usage" + ] + } + }, + "required": [ + "public_ips" + ] + }, + "examples": { + "default": { + "value": { + "public_ips": { + "current_usage": 17, + "maximum": 50 + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/machine-sizes": { + "get": { + "summary": "Get GitHub-hosted runners machine specs for an enterprise", + "description": "Get the list of machine specs available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-machine-specs-for-enterprise", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" }, "parameters": [ { @@ -20444,6 +21115,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -20574,6 +21252,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -20689,6 +21371,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -20775,6 +21464,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -20905,6 +21601,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -21060,6 +21760,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -21190,6 +21897,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -45110,6 +45821,658 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -45251,29 +46614,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -59938,7 +61278,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +62308,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -62886,7 +64239,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -63069,7 +64422,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -63077,7 +64430,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -63085,7 +64438,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -64617,6 +65970,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -65871,8 +67234,803 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "examples": { + "exampleKey1": { + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -65881,36 +68039,23 @@ } ], "responses": { - "201": { - "description": "Successfully added team member", + "200": { + "description": "The team is assigned to the organization", "content": { "application/json": { "schema": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, "login": { "type": "string", "examples": [ - "octocat" + "github" ] }, "id": { "type": "integer", - "format": "int64", "examples": [ 1 ] @@ -65918,162 +68063,276 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEyOk9yZ2FuaXphdGlvbjE=" ] }, - "avatar_url": { + "url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://api.github.com/orgs/github" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "repos_url": { + "type": "string", + "format": "uri", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "https://api.github.com/orgs/github/repos" ] }, - "url": { + "events_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/orgs/github/events" ] }, - "html_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "https://api.github.com/orgs/github/hooks" ] }, - "followers_url": { + "issues_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "https://api.github.com/orgs/github/issues" ] }, - "following_url": { + "members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "https://api.github.com/orgs/github/members{/member}" ] }, - "gists_url": { + "public_members_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "starred_url": { + "avatar_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "https://github.com/images/error/octocat_happy.gif" ] }, - "subscriptions_url": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "github" ] }, - "organizations_url": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "https://api.github.com/orgs/github" ] }, "repos_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "https://api.github.com/orgs/github/repos" ] }, "events_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/orgs/github/events" ] }, - "received_events_url": { + "hooks_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "https://api.github.com/orgs/github/hooks" ] }, - "type": { + "issues_url": { "type": "string", "examples": [ - "User" + "https://api.github.com/orgs/github/issues" ] }, - "site_admin": { - "type": "boolean" + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] }, - "starred_at": { + "public_members_url": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "user_view_type": { + "avatar_url": { "type": "string", "examples": [ - "public" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" ] } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", + "login", + "url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" ] }, "examples": { - "exampleKey1": { + "default": { "value": { - "login": "octocat", + "login": "github", "id": 1, - "node_id": "MDQ6VXNlcjE=", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "description": "A great organization" } } } @@ -66085,19 +68344,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } }, "delete": { - "summary": "Remove team membership", - "description": "Remove membership of a specific user from a particular team in an enterprise.", + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", "tags": [ - "enterprise-team-memberships" + "enterprise-team-organizations" ], - "operationId": "enterprise-team-memberships/remove", + "operationId": "enterprise-team-organizations/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" }, "parameters": [ { @@ -66119,8 +68378,8 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -66130,40 +68389,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "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" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -66413,6 +68646,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114540,7 +116783,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +116927,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -114692,7 +116935,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -114700,7 +116943,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -117275,6 +119518,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -117405,6 +119655,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -117545,6 +119799,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -117563,6 +119824,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -117660,6 +119926,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -117790,6 +120063,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -117845,6 +120122,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -118439,6 +121349,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -118569,6 +121486,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -118684,6 +121605,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -118770,6 +121698,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -118900,291 +122131,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -125175,6 +128125,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -125305,6 +128262,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -135677,6 +138638,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "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": "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +161228,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "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).\"", @@ -217689,17 +220731,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -226675,17 +229721,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -405202,16 +408252,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -405239,29 +408279,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -631363,7 +634380,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -805632,17 +808649,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -814591,17 +817612,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -843270,7 +846295,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -843401,7 +846426,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -843409,7 +846434,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -843417,7 +846442,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index f0616924a..9956be8a3 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -446,7 +448,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &97 + - &102 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 results before this cursor. For @@ -455,7 +457,7 @@ paths: required: false schema: type: string - - &98 + - &103 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 results after this cursor. For @@ -464,7 +466,7 @@ paths: required: false schema: type: string - - &99 + - &104 name: direction description: The direction to sort the results by. in: query @@ -703,7 +705,7 @@ paths: required: - vector_string - score - cvss_severities: &111 + cvss_severities: &121 type: - object - 'null' @@ -750,7 +752,7 @@ paths: required: - vector_string - score - epss: &112 + epss: &122 type: - object - 'null' @@ -913,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &397 + type: &409 type: string description: The type of credit the user is receiving. enum: @@ -1046,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &224 + schema: &236 title: Validation Error Simple description: Validation Error Simple type: object @@ -1079,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &713 + - &725 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &309 + - &321 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 @@ -1680,7 +1682,7 @@ paths: application/json: schema: type: array - items: &310 + items: &322 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &311 + default: &323 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &723 + schema: &735 title: Scim Error description: Scim Error type: object @@ -1839,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &223 + schema: &235 title: Validation Error description: Validation Error type: object @@ -1911,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &324 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2048,7 @@ paths: - request - response examples: - default: &313 + default: &325 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &200 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) @@ -2858,7 +2860,7 @@ paths: application/json: schema: *20 examples: - default: &77 + default: &82 value: id: 1 account: @@ -3009,7 +3011,7 @@ paths: - selected repositories: type: array - items: &67 + items: &72 title: Repository description: A repository on GitHub. type: object @@ -3036,7 +3038,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &197 title: License Simple description: License Simple type: object @@ -7785,7 +7787,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &237 type: object properties: total_active_caches_count: @@ -7800,7 +7802,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &238 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7895,12 +7897,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &45 + machine_size_details: &50 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7996,6 +8004,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -8005,7 +8017,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &239 value: total_count: 2 runners: @@ -8094,6 +8106,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -8113,6 +8131,11 @@ paths: `GET actions/hosted-runners/limits` type: boolean default: false + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -8135,7 +8158,7 @@ paths: application/json: schema: *42 examples: - default: &46 + default: &51 value: id: 5 name: My hosted ubuntu runner @@ -8162,6 +8185,322 @@ paths: githubCloudOnly: true category: actions subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an enterprise + description: |- + List custom images for an enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &43 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &45 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get an enterprise custom image definition for GitHub Actions Hosted + Runners + description: |- + Get an enterprise custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *39 + - &44 + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *43 + examples: + default: &240 + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the enterprise + description: |- + Delete a custom image from the enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise + parameters: + - *39 + - *44 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an enterprise + description: |- + List image versions of a custom image for an enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise + parameters: + - *44 + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &46 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *45 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of an enterprise custom image for GitHub Actions + Hosted Runners + description: |- + Get an image version of an enterprise custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners + parameters: + - *39 + - *44 + - &47 + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" + responses: + '200': + description: Response + content: + application/json: + schema: *46 + examples: + default: &241 + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the enterprise + description: |- + Delete an image version of custom image from the enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise + parameters: + - *39 + - *44 + - *47 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an enterprise @@ -8190,7 +8529,7 @@ paths: type: integer images: type: array - items: &43 + items: &48 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8230,7 +8569,7 @@ paths: - display_name - source examples: - default: &44 + default: &49 value: id: ubuntu-20.04 platform: linux-x64 @@ -8270,9 +8609,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8295,7 +8634,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &242 type: object properties: public_ips: @@ -8322,7 +8661,7 @@ paths: required: - public_ips examples: - default: &229 + default: &243 value: public_ips: current_usage: 17 @@ -8360,9 +8699,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *50 examples: - default: &230 + default: &244 value: id: 4-core cpu_cores: 4 @@ -8430,7 +8769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - &47 + - &52 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8444,7 +8783,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 headers: Link: *41 x-github: @@ -8465,7 +8804,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *47 + - *52 requestBody: required: true content: @@ -8491,6 +8830,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -8505,7 +8850,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8522,7 +8867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *47 + - *52 responses: '202': description: Response @@ -8530,7 +8875,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8599,7 +8944,7 @@ paths: schema: type: object properties: - enabled_organizations: &48 + enabled_organizations: &53 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8612,7 +8957,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &49 + allowed_actions: &54 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8620,12 +8965,12 @@ paths: - all - local_only - selected - selected_actions_url: &233 + selected_actions_url: &247 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: &50 + sha_pinning_required: &55 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8667,9 +9012,9 @@ paths: schema: type: object properties: - enabled_organizations: *48 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_organizations: *53 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled_organizations examples: @@ -8700,7 +9045,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &249 type: object properties: days: @@ -8718,7 +9063,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &724 + '401': &736 description: Authorization failure '404': *6 x-github: @@ -8746,7 +9091,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &250 type: object properties: days: @@ -8781,7 +9126,7 @@ paths: description: Response content: application/json: - schema: &51 + schema: &56 type: object properties: approval_policy: @@ -8795,7 +9140,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &251 value: approval_policy: first_time_contributors '404': *6 @@ -8824,7 +9169,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -8853,7 +9198,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &252 type: object required: - run_workflows_from_fork_pull_requests @@ -8879,7 +9224,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &52 + default: &57 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8907,7 +9252,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &253 type: object required: - run_workflows_from_fork_pull_requests @@ -8930,7 +9275,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -8970,7 +9315,7 @@ paths: type: number organizations: type: array - items: &62 + items: &67 title: Organization Simple description: A GitHub organization. type: object @@ -9045,7 +9390,7 @@ paths: - total_count - organizations examples: - default: &63 + default: &68 value: total_count: 1 organizations: @@ -9124,7 +9469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - &53 + - &58 name: org_id description: The unique identifier of the organization. in: path @@ -9153,7 +9498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - *53 + - *58 responses: '204': description: Response @@ -9182,7 +9527,7 @@ paths: description: Response content: application/json: - schema: &54 + schema: &59 type: object properties: github_owned_allowed: @@ -9203,7 +9548,7 @@ paths: items: type: string examples: - default: &55 + default: &60 value: github_owned_allowed: true verified_allowed: false @@ -9236,9 +9581,9 @@ paths: required: true content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9343,17 +9688,17 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &256 type: object properties: - default_workflow_permissions: &56 + default_workflow_permissions: &61 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &57 + can_approve_pull_request_reviews: &62 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9361,7 +9706,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &58 + default: &63 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9391,13 +9736,13 @@ paths: required: true content: application/json: - schema: &243 + schema: &257 type: object properties: - default_workflow_permissions: *56 - can_approve_pull_request_reviews: *57 + default_workflow_permissions: *61 + can_approve_pull_request_reviews: *62 examples: - default: *58 + default: *63 responses: '204': description: Success response @@ -9442,7 +9787,7 @@ paths: type: number runner_groups: type: array - items: &59 + items: &64 type: object properties: id: @@ -9623,9 +9968,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: - default: &60 + default: &65 value: id: 2 name: octo-runner-group @@ -9660,7 +10005,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - &61 + - &66 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9672,9 +10017,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: - default: *60 + default: *65 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9694,7 +10039,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: false content: @@ -9748,7 +10093,7 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: default: value: @@ -9784,7 +10129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - *39 - - *61 + - *66 responses: '204': description: Response @@ -9808,7 +10153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 + - *66 - *17 - *19 responses: @@ -9823,12 +10168,12 @@ paths: type: number organizations: type: array - items: *62 + items: *67 required: - total_count - organizations examples: - default: *63 + default: *68 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9848,7 +10193,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: true content: @@ -9894,8 +10239,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 - - *53 + - *66 + - *58 responses: '204': description: Response @@ -9918,8 +10263,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 - - *53 + - *66 + - *58 responses: '204': description: Response @@ -9943,7 +10288,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *61 + - *66 - *17 - *19 responses: @@ -9958,7 +10303,7 @@ paths: type: number runners: type: array - items: &65 + items: &70 title: Self hosted runners description: A self hosted runner type: object @@ -9992,7 +10337,7 @@ paths: type: boolean labels: type: array - items: &69 + items: &74 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -10025,7 +10370,7 @@ paths: - total_count - runners examples: - default: &66 + default: &71 value: total_count: 2 runners: @@ -10085,7 +10430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: true content: @@ -10130,8 +10475,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - *39 - - *61 - - &64 + - *66 + - &69 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -10160,8 +10505,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - *39 - - *61 - - *64 + - *66 + - *69 responses: '204': description: Response @@ -10204,9 +10549,9 @@ paths: type: number runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -10236,7 +10581,7 @@ paths: application/json: schema: type: array - items: &247 + items: &261 title: Runner Application description: Runner Application type: object @@ -10261,7 +10606,7 @@ paths: - download_url - filename examples: - default: &248 + default: &262 value: - os: osx architecture: x64 @@ -10345,7 +10690,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &263 description: Response content: application/json: @@ -10355,7 +10700,7 @@ paths: - runner - encoded_jit_config properties: - runner: *65 + runner: *70 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10384,7 +10729,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &107 + '409': &112 description: Conflict content: application/json: @@ -10422,7 +10767,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &73 title: Authentication Token description: Authentication Token type: object @@ -10446,7 +10791,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *72 single_file: type: - string @@ -10464,7 +10809,7 @@ paths: - token - expires_at examples: - default: &250 + default: &264 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10502,9 +10847,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: &251 + default: &265 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10528,15 +10873,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: &252 + default: &266 value: id: 23 name: MBP @@ -10576,7 +10921,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *39 - - *64 + - *69 responses: '204': description: Response @@ -10601,9 +10946,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: - '200': &70 + '200': &75 description: Response content: application/json: @@ -10617,7 +10962,7 @@ paths: type: integer labels: type: array - items: *69 + items: *74 examples: default: value: @@ -10655,7 +11000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 requestBody: required: true content: @@ -10679,7 +11024,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10702,7 +11047,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 requestBody: required: true content: @@ -10727,7 +11072,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10750,9 +11095,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: - '200': &253 + '200': &267 description: Response content: application/json: @@ -10766,7 +11111,7 @@ paths: type: integer labels: type: array - items: *69 + items: *74 examples: default: value: @@ -10807,8 +11152,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 - - &254 + - *69 + - &268 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10816,7 +11161,7 @@ paths: schema: type: string responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10841,13 +11186,13 @@ paths: description: Response content: application/json: - schema: &75 + schema: &80 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &71 + announcement: &76 type: - string - 'null' @@ -10856,7 +11201,7 @@ paths: writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." examples: - Very **important** announcement about _something_. - expires_at: &72 + expires_at: &77 type: - string - 'null' @@ -10868,7 +11213,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &73 + user_dismissible: &78 type: - boolean - 'null' @@ -10881,7 +11226,7 @@ paths: - expires_at - user_dismissible examples: - default: &74 + default: &79 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10905,18 +11250,18 @@ paths: required: true content: application/json: - schema: &261 + schema: &275 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *71 - expires_at: *72 - user_dismissible: *73 + announcement: *76 + expires_at: *77 + user_dismissible: *78 required: - announcement examples: - default: *74 + default: *79 parameters: - *39 responses: @@ -10924,9 +11269,9 @@ paths: description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11025,7 +11370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *39 - - &76 + - &81 name: org description: The organization name. The name is not case sensitive. in: path @@ -11042,7 +11387,7 @@ paths: application/json: schema: type: array - items: &78 + items: &83 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -11096,7 +11441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 - *17 - *19 responses: @@ -11195,7 +11540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 responses: '200': description: A GitHub App installation that was installed previously. @@ -11203,14 +11548,14 @@ paths: application/json: schema: *20 examples: - default: *77 + default: *82 '201': description: A GitHub App installation. content: application/json: schema: *20 examples: - default: *77 + default: *82 requestBody: required: true content: @@ -11278,7 +11623,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 - *21 responses: '204': @@ -11306,7 +11651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - *39 - - *76 + - *81 - *21 - *17 - *19 @@ -11318,7 +11663,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11347,7 +11692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - *39 - - *76 + - *81 - *21 requestBody: required: true @@ -11387,7 +11732,7 @@ paths: application/json: schema: *20 examples: - default: *77 + default: *82 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11408,7 +11753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *39 - - *76 + - *81 - *21 responses: '200': @@ -11418,7 +11763,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11469,7 +11814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *39 - - *76 + - *81 - *21 responses: '200': @@ -11479,7 +11824,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11556,7 +11901,7 @@ paths: required: false schema: type: string - - &262 + - &276 name: include description: |- The event types to include: @@ -11574,7 +11919,7 @@ paths: - web - git - all - - &263 + - &277 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. @@ -11582,7 +11927,7 @@ paths: required: false schema: type: string - - &264 + - &278 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. @@ -11590,7 +11935,7 @@ paths: required: false schema: type: string - - &265 + - &279 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11612,7 +11957,7 @@ paths: application/json: schema: type: array - items: &266 + items: &280 type: object properties: "@timestamp": @@ -11734,7 +12079,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &281 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11914,7 +12259,7 @@ paths: vendor_specific: type: object oneOf: - - &82 + - &87 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11933,7 +12278,7 @@ paths: - key_id - encrypted_sas_url - container - - &83 + - &88 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11952,7 +12297,7 @@ paths: - name - encrypted_connstring - key_id - - &84 + - &89 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11980,7 +12325,7 @@ paths: - bucket - key_id - region - - &85 + - &90 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -12014,7 +12359,7 @@ paths: - encrypted_secret_key - key_id - region - - &86 + - &91 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -12042,7 +12387,7 @@ paths: - key_id - port - ssl_verify - - &87 + - &92 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -12074,7 +12419,7 @@ paths: - key_id - port - ssl_verify - - &88 + - &93 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -12092,7 +12437,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &89 + - &94 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -12123,7 +12468,7 @@ paths: - stream_type - vendor_specific examples: - default: &90 + default: &95 value: enabled: false stream_type: Azure Event Hubs @@ -12137,7 +12482,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &79 + schema: &84 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -12169,7 +12514,7 @@ paths: - created_at - updated_at examples: - default: &80 + default: &85 value: id: 1 stream_type: Splunk @@ -12198,7 +12543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *39 - - &81 + - &86 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -12210,9 +12555,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *79 + schema: *84 examples: - default: *80 + default: *85 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -12232,7 +12577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *39 - - *81 + - *86 requestBody: required: true content: @@ -12258,28 +12603,28 @@ paths: vendor_specific: type: object oneOf: - - *82 - - *83 - - *84 - - *85 - - *86 - *87 - *88 - *89 + - *90 + - *91 + - *92 + - *93 + - *94 required: - enabled - stream_type - vendor_specific examples: - default: *90 + default: *95 responses: '200': description: Successful update content: application/json: - schema: *79 + schema: *84 examples: - default: *80 + default: *85 '422': description: Validation error content: @@ -12310,7 +12655,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *39 - - *81 + - *86 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -12337,13 +12682,13 @@ paths: subcategory: bypass-requests parameters: - *39 - - &91 + - &96 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &92 + - &97 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -12351,7 +12696,7 @@ paths: required: false schema: type: string - - &93 + - &98 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -12359,7 +12704,7 @@ paths: required: false schema: type: string - - &94 + - &99 name: time_period description: |- The time period to filter by. @@ -12375,7 +12720,7 @@ paths: - week - month default: day - - &95 + - &100 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12402,7 +12747,7 @@ paths: application/json: schema: type: array - items: &268 + items: &282 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12528,7 +12873,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &96 + items: &101 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12574,7 +12919,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &283 value: - id: 21 number: 42 @@ -12665,11 +13010,11 @@ paths: subcategory: delegated-bypass parameters: - *39 - - *91 - - *92 - - *93 - - *94 - - *95 + - *96 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -12679,7 +13024,7 @@ paths: application/json: schema: type: array - items: &271 + items: &285 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12797,7 +13142,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *96 + items: *101 url: type: string format: uri @@ -12810,7 +13155,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &286 value: - id: 21 number: 42 @@ -12895,17 +13240,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &291 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: &100 + schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &292 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 @@ -12913,23 +13258,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &101 + schema: &106 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *97 - - *98 + - *102 + - *103 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &279 + schema: &293 type: string description: State of a code scanning alert. enum: @@ -12954,42 +13299,42 @@ paths: application/json: schema: type: array - items: &280 + items: &294 type: object properties: - number: &109 + number: &119 type: integer description: The security alert number. readOnly: true - created_at: &116 + created_at: &126 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: &117 + updated_at: &127 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 - url: &114 + url: &124 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &115 + html_url: &125 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &521 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &102 + state: &107 type: - string - 'null' @@ -12999,7 +13344,7 @@ paths: - dismissed - fixed - - fixed_at: &119 + fixed_at: &129 type: - string - 'null' @@ -13011,7 +13356,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &118 + dismissed_at: &128 type: - string - 'null' @@ -13019,7 +13364,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &522 type: - string - 'null' @@ -13030,14 +13375,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &523 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &524 type: object properties: id: @@ -13098,26 +13443,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &525 type: object properties: - name: *100 + name: *105 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *101 - most_recent_instance: &514 + guid: *106 + most_recent_instance: &526 type: object properties: - ref: &507 + ref: &519 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &536 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13128,13 +13473,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &537 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: *102 + state: *107 commit_sha: type: string message: @@ -13175,7 +13520,7 @@ paths: - test - library - - repository: &108 + repository: &113 title: Simple Repository description: A GitHub repository. type: object @@ -13519,7 +13864,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &295 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13750,7 +14095,7 @@ paths: headers: Link: *41 '404': *6 - '503': &163 + '503': &173 description: Service unavailable content: application/json: @@ -13794,8 +14139,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -13803,7 +14148,7 @@ paths: application/json: schema: type: array - items: &103 + items: &108 type: object description: A code security configuration properties: @@ -14178,7 +14523,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &296 type: - object - 'null' @@ -14197,7 +14542,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &106 + code_scanning_default_setup_options: &111 type: - object - 'null' @@ -14316,9 +14661,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *103 + schema: *108 examples: - default: &104 + default: &109 value: id: 1325 target_type: enterprise @@ -14376,7 +14721,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &298 type: array description: A list of default code security configurations items: @@ -14390,9 +14735,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *103 + configuration: *108 examples: - default: &285 + default: &299 value: - default_for_new_repos: public configuration: @@ -14481,7 +14826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *39 - - &105 + - &110 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14493,9 +14838,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *104 + default: *109 '304': *35 '403': *27 '404': *6 @@ -14520,7 +14865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14599,7 +14944,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14687,13 +15032,13 @@ paths: description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *104 + default: *109 '304': *35 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14717,14 +15062,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *39 - - *105 + - *110 responses: - '204': &129 + '204': &139 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14749,7 +15094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14776,7 +15121,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14801,7 +15146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14841,12 +15186,12 @@ paths: - none - private_and_internal - public - configuration: *103 + configuration: *108 examples: default: value: default_for_new_repos: all - configuration: &283 + configuration: &297 value: id: 1325 target_type: organization @@ -14903,7 +15248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *39 - - *105 + - *110 - 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)." @@ -14912,8 +15257,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14931,7 +15276,7 @@ paths: application/json: schema: type: array - items: &286 + items: &300 type: object description: Repositories associated with a code security configuration and attachment status @@ -14949,13 +15294,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *108 + repository: *113 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &301 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15438,7 +15783,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &120 + items: &130 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15451,12 +15796,12 @@ paths: organization: anyOf: - type: 'null' - - *62 + - *67 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &287 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15533,7 +15878,7 @@ paths: parent: anyOf: - type: 'null' - - &344 + - &356 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15651,7 +15996,7 @@ paths: - slug - parent - type - - &174 + - &184 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15774,7 +16119,7 @@ paths: - created_at additionalProperties: false examples: - default: &121 + default: &131 value: total_seats: 2 seats: @@ -16226,7 +16571,7 @@ paths: application/json: schema: type: array - items: &171 + items: &181 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16541,7 +16886,7 @@ paths: - date additionalProperties: true examples: - default: &172 + default: &182 value: - date: '2024-06-24' total_active_users: 24 @@ -16643,7 +16988,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &173 + '422': &183 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16654,6 +16999,213 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *39 + - &114 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + examples: + - '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &115 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &116 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: &117 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &118 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *39 + - *114 + responses: + '200': + description: Response + content: + application/json: + schema: *115 + examples: + default: *116 + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: *117 + examples: + default: *118 + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -16673,7 +17225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &308 name: state in: query description: |- @@ -16682,7 +17234,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &309 name: severity in: query description: |- @@ -16691,7 +17243,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &310 name: ecosystem in: query description: |- @@ -16700,14 +17252,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &311 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 - - &298 + - &312 name: epss_percentage in: query description: |- @@ -16719,7 +17271,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 - - &560 + - &572 name: has in: query description: |- @@ -16733,7 +17285,7 @@ paths: type: string enum: - patch - - &299 + - &313 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +17295,7 @@ paths: enum: - development - runtime - - &300 + - &314 name: sort in: query description: |- @@ -16758,34 +17310,9 @@ paths: - updated - epss_percentage default: created - - *99 - - *97 - - *98 - - &301 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &302 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 + - *104 + - *102 + - *103 - *17 responses: '200': @@ -16794,11 +17321,11 @@ paths: application/json: schema: type: array - items: &303 + items: &315 type: object description: A Dependabot alert. properties: - number: *109 + number: *119 state: type: string description: The state of the Dependabot alert. @@ -16813,7 +17340,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &110 + package: &120 type: object description: Details for the vulnerable package. readOnly: true @@ -16861,7 +17388,7 @@ paths: - direct - transitive - - security_advisory: &561 + security_advisory: &573 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16892,13 +17419,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &113 + items: &123 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *110 + package: *120 severity: type: string description: The severity of the vulnerability. @@ -16966,8 +17493,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *111 - epss: *112 + cvss_severities: *121 + epss: *122 cwes: type: array description: Details for the advisory pertaining to Common @@ -17067,12 +17594,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *113 - url: *114 - html_url: *115 - created_at: *116 - updated_at: *117 - dismissed_at: *118 + security_vulnerability: *123 + url: *124 + html_url: *125 + created_at: *126 + updated_at: *127 + dismissed_at: *128 dismissed_by: anyOf: - type: 'null' @@ -17096,8 +17623,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: &562 + fixed_at: *129 + auto_dismissed_at: &574 type: - string - 'null' @@ -17105,7 +17632,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *108 + repository: *113 required: - number - state @@ -17124,7 +17651,7 @@ paths: - repository additionalProperties: false examples: - default: &304 + default: &316 value: - number: 2 state: dismissed @@ -17541,7 +18068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &178 + - &188 name: username description: The handle for the GitHub user account. in: path @@ -17563,9 +18090,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *120 + items: *130 examples: - default: *121 + default: *131 '500': *38 '401': *23 '403': *27 @@ -17608,7 +18135,7 @@ paths: type: integer network_configurations: type: array - items: &122 + items: &132 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17653,7 +18180,7 @@ paths: - name - created_on examples: - default: &407 + default: &419 value: total_count: 2 network_configurations: @@ -17731,9 +18258,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: &123 + default: &133 value: id: 123456789ABCDEF name: My network configuration @@ -17760,7 +18287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &124 + - &134 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17772,9 +18299,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 headers: Link: *41 x-github: @@ -17794,7 +18321,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *124 + - *134 requestBody: required: true content: @@ -17833,9 +18360,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17853,7 +18380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *124 + - *134 responses: '204': description: Response @@ -17876,7 +18403,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &408 + - &420 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17888,7 +18415,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &421 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17927,7 +18454,7 @@ paths: - subnet_id - region examples: - default: &410 + default: &422 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17962,7 +18489,7 @@ paths: application/json: schema: type: array - items: &125 + items: &135 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -18038,7 +18565,7 @@ paths: - property_name - value_type examples: - default: &126 + default: &136 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18095,7 +18622,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *135 minItems: 1 maxItems: 100 required: @@ -18125,9 +18652,9 @@ paths: application/json: schema: type: array - items: *125 + items: *135 examples: - default: *126 + default: *136 '403': *27 '404': *6 x-github: @@ -18150,8 +18677,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - *76 - - &127 + - *81 + - &137 name: custom_property_name description: The custom property name in: path @@ -18163,9 +18690,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: &128 + default: &138 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18198,15 +18725,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *137 responses: '200': description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -18228,12 +18755,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *137 requestBody: required: true content: application/json: - schema: &375 + schema: &387 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18306,9 +18833,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -18330,9 +18857,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *137 responses: - '204': *129 + '204': *139 '403': *27 '404': *6 x-github: @@ -18372,7 +18899,7 @@ paths: - push - repository default: branch - enforcement: &136 + enforcement: &146 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18385,7 +18912,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &137 + items: &147 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18427,7 +18954,7 @@ paths: - pull_request - exempt default: always - conditions: &160 + conditions: &170 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18441,7 +18968,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &130 + - &140 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18467,7 +18994,7 @@ paths: type: string required: - organization_name - - &133 + - &143 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18496,7 +19023,7 @@ paths: is prevented. required: - repository_name - - &132 + - &142 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18524,8 +19051,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *130 - - &135 + - *140 + - &145 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18538,7 +19065,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &131 + items: &141 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18569,16 +19096,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *131 + items: *141 required: - repository_property - - *132 + - *142 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &134 + - &144 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18595,25 +19122,25 @@ paths: type: integer required: - organization_id - - *133 - - *132 + - *143 + - *142 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *134 - - *135 - - *132 + - *144 + - *145 + - *142 rules: type: array description: An array of rules within the ruleset. - items: &161 + items: &171 title: Repository Rule type: object description: A repository rule. oneOf: - - &138 + - &148 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18625,7 +19152,7 @@ paths: type: string enum: - creation - - &139 + - &149 title: update description: Only allow users with bypass permission to update matching refs. @@ -18646,7 +19173,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &140 + - &150 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18658,7 +19185,7 @@ paths: type: string enum: - deletion - - &141 + - &151 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18670,7 +19197,7 @@ paths: type: string enum: - required_linear_history - - &142 + - &152 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18694,7 +19221,7 @@ paths: type: string required: - required_deployment_environments - - &143 + - &153 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18706,7 +19233,7 @@ paths: type: string enum: - required_signatures - - &144 + - &154 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -18766,7 +19293,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &145 + - &155 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18813,7 +19340,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &146 + - &156 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18825,7 +19352,7 @@ paths: type: string enum: - non_fast_forward - - &147 + - &157 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18861,7 +19388,7 @@ paths: required: - operator - pattern - - &148 + - &158 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18897,7 +19424,7 @@ paths: required: - operator - pattern - - &149 + - &159 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18933,7 +19460,7 @@ paths: required: - operator - pattern - - &150 + - &160 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18969,7 +19496,7 @@ paths: required: - operator - pattern - - &151 + - &161 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -19005,7 +19532,7 @@ paths: required: - operator - pattern - - &152 + - &162 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -19029,7 +19556,7 @@ paths: type: string required: - restricted_file_paths - - &153 + - &163 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -19053,7 +19580,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &154 + - &164 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -19076,7 +19603,7 @@ paths: type: string required: - restricted_file_extensions - - &155 + - &165 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -19100,7 +19627,7 @@ paths: maximum: 100 required: - max_file_size - - &156 + - &166 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19149,7 +19676,7 @@ paths: - repository_id required: - workflows - - &157 + - &167 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19235,7 +19762,7 @@ paths: description: Response content: application/json: - schema: &158 + schema: &168 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19270,11 +19797,11 @@ paths: source: type: string description: The name of the source - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 + items: *147 current_user_can_bypass: type: string description: |- @@ -19306,8 +19833,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *132 - - &380 + - *142 + - &392 title: Organization ruleset conditions type: object description: |- @@ -19321,14 +19848,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *132 - - *133 + - *142 + - *143 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *132 + - *142 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19350,23 +19877,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *132 - - *135 + - *142 + - *145 type: - 'null' - object rules: type: array - items: &679 + items: &691 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - &676 + - *148 + - *149 + - *150 + - *151 + - &688 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19444,23 +19971,23 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - *152 - *153 - *154 - *155 - *156 - *157 - - &677 + - *158 + - *159 + - *160 + - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - &689 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19490,7 +20017,7 @@ paths: type: string format: date-time examples: - default: &159 + default: &169 value: id: 21 name: super cool ruleset @@ -19549,9 +20076,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *159 + default: *169 '404': *6 '500': *38 x-github: @@ -19595,16 +20122,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *160 + items: *147 + conditions: *170 rules: description: An array of rules within the ruleset. type: array - items: *161 + items: *171 examples: default: value: @@ -19628,9 +20155,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *159 + default: *169 '404': *6 '500': *38 x-github: @@ -19692,7 +20219,7 @@ paths: application/json: schema: type: array - items: &162 + items: &172 title: Ruleset version type: object description: The historical version of a ruleset @@ -19716,7 +20243,7 @@ paths: type: string format: date-time examples: - default: &383 + default: &395 value: - version_id: 3 actor: @@ -19769,9 +20296,9 @@ paths: description: Response content: application/json: - schema: &384 + schema: &396 allOf: - - *162 + - *172 - type: object required: - state @@ -19824,7 +20351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &385 + - &397 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19835,7 +20362,7 @@ paths: enum: - open - resolved - - &386 + - &398 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19845,7 +20372,7 @@ paths: required: false schema: type: string - - &387 + - &399 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19854,7 +20381,7 @@ paths: required: false schema: type: string - - &388 + - &400 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. @@ -19866,11 +20393,11 @@ paths: - created - updated default: created - - *99 + - *104 - *17 - - *97 - - *98 - - &389 + - *102 + - *103 + - &401 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19879,7 +20406,7 @@ paths: required: false schema: type: string - - &390 + - &402 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19888,7 +20415,7 @@ paths: schema: type: boolean default: false - - &391 + - &403 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19897,7 +20424,7 @@ paths: schema: type: boolean default: false - - &392 + - &404 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19913,30 +20440,30 @@ paths: application/json: schema: type: array - items: &393 + items: &405 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &691 + state: &703 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: &692 + resolution: &704 type: - string - 'null' @@ -19970,7 +20497,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *108 + repository: *113 push_protection_bypassed: type: - boolean @@ -20043,14 +20570,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &693 + - &705 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &695 + - &707 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -20107,7 +20634,7 @@ paths: - blob_url - commit_sha - commit_url - - &696 + - &708 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. @@ -20168,7 +20695,7 @@ paths: - page_url - commit_sha - commit_url - - &697 + - &709 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20183,7 +20710,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &698 + - &710 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20198,7 +20725,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &699 + - &711 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20213,7 +20740,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &700 + - &712 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20228,7 +20755,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &701 + - &713 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20243,7 +20770,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &702 + - &714 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20258,7 +20785,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &703 + - &715 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. @@ -20273,7 +20800,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &704 + - &716 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. @@ -20288,7 +20815,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &705 + - &717 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. @@ -20303,7 +20830,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &706 + - &718 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. @@ -20318,7 +20845,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &707 + - &719 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 @@ -20343,7 +20870,7 @@ paths: - type: 'null' - *4 examples: - default: &394 + default: &406 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20521,9 +21048,9 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20552,13 +21079,13 @@ paths: description: Response content: application/json: - schema: &395 + schema: &407 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &165 + pattern_config_version: &175 type: - string - 'null' @@ -20568,7 +21095,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &164 + items: &174 type: object properties: token_type: @@ -20637,9 +21164,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *164 + items: *174 examples: - default: &396 + default: &408 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20694,7 +21221,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *175 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20720,7 +21247,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *175 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20756,7 +21283,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20783,7 +21310,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &410 type: object properties: total_minutes_used: @@ -20853,7 +21380,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &399 + default: &411 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20884,7 +21411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &400 + - &412 name: advanced_security_product in: query description: | @@ -20904,7 +21431,7 @@ paths: description: Success content: application/json: - schema: &401 + schema: &413 type: object properties: total_advanced_security_committers: @@ -20967,7 +21494,7 @@ paths: required: - repositories examples: - default: &402 + default: &414 value: total_advanced_security_committers: 2 total_count: 2 @@ -21006,6 +21533,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *39 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -21078,7 +21615,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21208,7 +21745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &168 + - &178 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21220,7 +21757,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &166 + schema: &176 type: object properties: id: @@ -21260,7 +21797,7 @@ paths: - name - resources examples: - default: &167 + default: &177 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21274,7 +21811,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21324,15 +21861,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *166 + schema: *176 examples: - default: *167 + default: *177 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21350,7 +21887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *168 + - *178 responses: '200': description: Response when deleting a cost center @@ -21389,7 +21926,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21410,7 +21947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *168 + - *178 requestBody: required: true content: @@ -21481,9 +22018,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *107 + '409': *112 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21503,7 +22040,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *168 + - *178 requestBody: required: true content: @@ -21550,7 +22087,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21581,7 +22118,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &415 type: object properties: total_gigabytes_bandwidth_used: @@ -21599,7 +22136,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &404 + default: &416 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21612,8 +22149,10 @@ paths: "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise - description: Gets a report of premium request usage for an enterprise. To use - this endpoint, you must be an administrator or billing manager of the enterprise. + description: |- + Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-ghe @@ -21622,7 +22161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - &169 + - &179 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, @@ -21631,7 +22170,7 @@ paths: required: false schema: type: integer - - &213 + - &225 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 @@ -21640,7 +22179,7 @@ paths: required: false schema: type: integer - - &170 + - &180 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 @@ -21656,21 +22195,21 @@ paths: required: false schema: type: string - - &214 + - &226 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &227 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &228 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +22293,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -21809,7 +22348,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21840,7 +22379,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &417 type: object properties: days_left_in_billing_cycle: @@ -21858,7 +22397,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &406 + default: &418 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21883,8 +22422,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *169 - - &217 + - *179 + - &229 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 @@ -21893,8 +22432,8 @@ paths: required: false schema: type: integer - - *170 - - &218 + - *180 + - &230 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 @@ -21915,7 +22454,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &231 type: object properties: usageItems: @@ -21968,7 +22507,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &232 value: usageItems: - date: '2023-08-01' @@ -21985,7 +22524,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22056,13 +22595,13 @@ paths: application/json: schema: type: array - items: *171 + items: *181 examples: - default: *172 + default: *182 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *183 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22089,9 +22628,9 @@ paths: application/json: schema: type: array - items: *174 + items: *184 examples: - default: &175 + default: &185 value: - id: 1 name: Justice League @@ -22148,6 +22687,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22167,9 +22718,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *184 examples: - default: *175 + default: *185 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22187,7 +22738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &176 + - &186 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -22206,7 +22757,7 @@ paths: type: array items: *4 examples: - default: &177 + default: &187 value: - login: octocat id: 1 @@ -22245,7 +22796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *176 + - *186 requestBody: required: true content: @@ -22276,7 +22827,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22294,7 +22845,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *176 + - *186 requestBody: required: true content: @@ -22325,7 +22876,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22343,8 +22894,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *176 - - *178 + - *186 + - *188 responses: '200': description: User is a member of the enterprise team. @@ -22352,7 +22903,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &179 + exampleKey1: &189 value: login: octocat id: 1 @@ -22388,8 +22939,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *176 - - *178 + - *186 + - *188 responses: '201': description: Successfully added team member @@ -22397,7 +22948,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *179 + exampleKey1: *189 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22415,8 +22966,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *176 - - *178 + - *186 + - *188 responses: '204': description: Response @@ -22426,6 +22977,227 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *39 + - *186 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *67 + examples: + default: &190 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *39 + - *186 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *67 + examples: + default: &224 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *39 + - *186 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *39 + - *186 + - *81 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *67 + examples: + default: *190 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *39 + - *186 + - *81 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *67 + examples: + default: *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *39 + - *186 + - *81 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -22441,7 +23213,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &191 name: team_slug description: The slug of the team name. in: path @@ -22453,9 +23225,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *184 examples: - default: *175 + default: *185 headers: Link: *41 '403': *27 @@ -22475,7 +23247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *191 requestBody: required: true content: @@ -22503,6 +23275,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22521,9 +23305,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *184 examples: - default: *175 + default: *185 headers: Link: *41 '403': *27 @@ -22546,7 +23330,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *191 responses: '204': description: Response @@ -22645,7 +23429,7 @@ paths: application/json: schema: type: array - items: &208 + items: &219 title: Event description: Event type: object @@ -22656,7 +23440,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &192 title: Actor description: Actor type: object @@ -22697,7 +23481,7 @@ paths: - id - name - url - org: *181 + org: *192 payload: oneOf: - title: CreateEvent @@ -22744,7 +23528,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &840 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +23825,7 @@ paths: - id labels: type: array - items: &182 + items: &193 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +23908,7 @@ paths: properties: action: type: string - issue: &183 + issue: &194 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23247,7 +24031,7 @@ paths: milestone: anyOf: - type: 'null' - - &368 + - &380 title: Milestone description: A collection of related issues and pull requests. @@ -23419,7 +24203,7 @@ paths: timeline_url: type: string format: uri - type: &331 + type: &343 title: Issue Type description: The type of issue. type: @@ -23473,12 +24257,12 @@ paths: - node_id - name - description - repository: *67 + repository: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &195 title: author_association type: string description: How the author is associated with the @@ -23494,7 +24278,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &196 title: Reaction Rollup type: object properties: @@ -23530,7 +24314,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &751 + sub_issues_summary: &763 title: Sub-issues Summary type: object properties: @@ -23551,7 +24335,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &752 + issue_dependencies_summary: &764 title: Issue Dependencies Summary type: object properties: @@ -23570,7 +24354,7 @@ paths: - total_blocking issue_field_values: type: array - items: &753 + items: &765 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23670,10 +24454,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *193 labels: type: array - items: *182 + items: *193 required: - action - issue @@ -23682,8 +24466,8 @@ paths: properties: action: type: string - issue: *183 - comment: &617 + issue: *194 + comment: &629 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23733,12 +24517,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *195 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *196 required: - id - node_id @@ -23917,7 +24701,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 allow_forking: type: boolean is_template: @@ -24008,7 +24792,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &198 title: Pull Request Minimal type: object properties: @@ -24079,10 +24863,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *193 labels: type: array - items: *182 + items: *193 required: - action - number @@ -24092,7 +24876,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *198 comment: type: object properties: @@ -24346,7 +25130,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *198 required: - action - review @@ -24395,7 +25179,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *196 required: - action - comment @@ -24406,7 +25190,7 @@ paths: type: string release: allOf: - - &669 + - &681 title: Release description: A release. type: object @@ -24488,7 +25272,7 @@ paths: author: *4 assets: type: array - items: &670 + items: &682 title: Release Asset description: Data related to a release. type: object @@ -24563,7 +25347,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *196 required: - assets_url - upload_url @@ -24656,7 +25440,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24746,7 +25530,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &199 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +25542,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *199 + security_advisories: *199 + current_user: *199 + current_user_public: *199 + current_user_actor: *199 + current_user_organization: *199 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *199 + repository_discussions: *199 + repository_discussions_category: *199 required: - timeline - user @@ -24830,7 +25614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *200 - *17 - *19 responses: @@ -24840,7 +25624,7 @@ paths: application/json: schema: type: array - items: &190 + items: &201 title: Base Gist description: Base Gist type: object @@ -24937,7 +25721,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &202 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +25845,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &203 title: Gist Simple description: Gist Simple type: object @@ -25079,7 +25863,7 @@ paths: url: type: string format: uri - user: &765 + user: &777 title: Public User description: Public User type: object @@ -25453,7 +26237,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &204 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +26341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *200 - *17 - *19 responses: @@ -25567,9 +26351,9 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: - default: *191 + default: *202 headers: Link: *41 '422': *15 @@ -25591,7 +26375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *200 - *17 - *19 responses: @@ -25601,9 +26385,9 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: - default: *191 + default: *202 headers: Link: *41 '401': *23 @@ -25631,7 +26415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &205 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +26427,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *203 examples: - default: *193 - '403': &197 + default: *204 + '403': &208 description: Forbidden Gist content: application/json: @@ -25695,7 +26479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *205 requestBody: required: true content: @@ -25759,9 +26543,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *203 examples: - updateGist: *193 + updateGist: *204 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +26703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *205 responses: '204': description: Response @@ -25948,7 +26732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *205 - *17 - *19 responses: @@ -25958,7 +26742,7 @@ paths: application/json: schema: type: array - items: &195 + items: &206 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +26780,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *195 required: - url - id @@ -26061,7 +26845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *205 requestBody: required: true content: @@ -26087,9 +26871,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *206 examples: - default: &196 + default: &207 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +26931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *205 + - &209 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +26945,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *206 examples: - default: *196 + default: *207 '304': *35 '404': *6 - '403': *197 + '403': *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +26972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *205 + - *209 requestBody: required: true content: @@ -26215,9 +26999,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *206 examples: - default: *196 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +27018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *205 + - *209 responses: '204': description: Response @@ -26258,7 +27042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *205 - *17 - *19 responses: @@ -26359,7 +27143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *205 - *17 - *19 responses: @@ -26369,7 +27153,7 @@ paths: application/json: schema: type: array - items: *192 + items: *203 examples: default: value: @@ -26434,13 +27218,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *205 responses: '201': description: Response content: application/json: - schema: *190 + schema: *201 examples: default: value: @@ -26511,7 +27295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *205 responses: '204': description: Response if gist is starred @@ -26541,7 +27325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *205 responses: '204': description: Response @@ -26563,7 +27347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *205 responses: '204': description: Response @@ -26592,7 +27376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *205 - name: sha in: path required: true @@ -26603,9 +27387,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *203 examples: - default: *193 + default: *204 '422': *15 '404': *6 '403': *27 @@ -26766,7 +27550,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *72 repository_selection: type: string examples: @@ -26974,7 +27758,7 @@ paths: - closed - all default: open - - &334 + - &346 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26992,8 +27776,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - name: collab in: query required: false @@ -27023,9 +27807,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: &335 + default: &347 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27305,7 +28089,7 @@ paths: application/json: schema: type: array - items: *186 + items: *197 examples: default: value: @@ -27603,7 +28387,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &210 example: 0.17.4 schema: type: string @@ -27658,7 +28442,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *210 content: text/html: schema: @@ -27687,7 +28471,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: - - &202 + - &213 name: account_id description: account_id parameter in: path @@ -27699,7 +28483,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &212 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +28517,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &211 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +28620,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *211 required: - url - id @@ -27844,7 +28628,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &214 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +28713,9 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: - default: &204 + default: &215 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +28755,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &216 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &217 name: sort description: The property to sort the results by. in: query @@ -28008,9 +28792,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: &207 + default: &218 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +28868,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: - - *202 + - *213 responses: '200': description: Response content: application/json: - schema: *201 + schema: *212 examples: - default: *203 + default: *214 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +28908,9 @@ paths: application/json: schema: type: array - items: *200 + items: *211 examples: - default: *204 + default: *215 headers: Link: *41 '401': *23 @@ -28149,8 +28933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *205 - - *206 + - *216 + - *217 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +28954,9 @@ paths: application/json: schema: type: array - items: *201 + items: *212 examples: - default: *207 + default: *218 headers: Link: *41 '401': *23 @@ -28437,14 +29221,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: - - &430 + - &442 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &431 + - &443 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28461,7 +29245,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -28506,7 +29290,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &456 description: Moved permanently content: application/json: @@ -28528,7 +29312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &645 + - &657 name: all description: If `true`, show notifications marked as read. in: query @@ -28536,7 +29320,7 @@ paths: schema: type: boolean default: false - - &646 + - &658 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28545,8 +29329,8 @@ paths: schema: type: boolean default: false - - *189 - - &647 + - *200 + - &659 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: @@ -28571,14 +29355,14 @@ paths: application/json: schema: type: array - items: &209 + items: &220 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &260 title: Minimal Repository description: Minimal Repository type: object @@ -28917,7 +29701,7 @@ paths: type: boolean examples: - false - security_and_analysis: &377 + security_and_analysis: &389 type: - object - 'null' @@ -29090,7 +29874,7 @@ paths: - url - subscription_url examples: - default: &648 + default: &660 value: - id: '1' repository: @@ -29256,7 +30040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &221 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 @@ -29270,7 +30054,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *220 examples: default: value: @@ -29373,7 +30157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *221 responses: '205': description: Reset Content @@ -29396,7 +30180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *221 responses: '204': description: No content @@ -29419,13 +30203,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: - - *210 + - *221 responses: '200': description: Response content: application/json: - schema: &211 + schema: &222 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +30253,7 @@ paths: - url - subscribed examples: - default: &212 + default: &223 value: subscribed: true ignored: false @@ -29500,7 +30284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *221 requestBody: required: false content: @@ -29521,9 +30305,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *222 examples: - default: *212 + default: *223 '304': *35 '403': *27 '401': *23 @@ -29546,7 +30330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *221 responses: '204': description: Response @@ -29641,22 +30425,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: &781 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *224 headers: Link: example: ; rel="next" @@ -29708,7 +30479,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &303 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +30528,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &304 value: id: 8030 name: Security Engineer @@ -29804,7 +30575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *76 + - *81 - name: page in: query description: The page number of results to fetch. @@ -29850,7 +30621,7 @@ paths: items: anyOf: - type: 'null' - - *108 + - *113 additionalProperties: false examples: default: @@ -29955,7 +30726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -30021,7 +30792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *76 + - *81 requestBody: required: true content: @@ -30058,9 +30829,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -30068,13 +30840,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *76 - - *169 - - *213 - - *170 - - *214 - - *215 - - *216 + - *81 + - *179 + - *225 + - *180 + - *226 + - *227 + - *228 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +30902,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -30185,7 +30957,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30205,23 +30977,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *76 - - *169 - - *217 - - *170 - - *218 + - *81 + - *179 + - *229 + - *180 + - *230 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *231 examples: - default: *220 + default: *232 '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30247,13 +31019,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &221 + schema: &233 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30663,7 +31435,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &234 value: login: github id: 1 @@ -30765,7 +31537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *76 + - *81 requestBody: required: false content: @@ -30989,18 +31761,18 @@ paths: description: Response content: application/json: - schema: *221 + schema: *233 examples: - default: *222 + default: *234 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 - '409': *107 + - *235 + - *236 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31023,7 +31795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *81 responses: '202': *37 '404': *6 @@ -31048,15 +31820,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *225 + schema: *237 examples: - default: *226 + default: *238 headers: Link: *41 x-github: @@ -31079,7 +31851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31097,7 +31869,7 @@ paths: type: integer repository_cache_usages: type: array - items: &449 + items: &461 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31155,7 +31927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31175,7 +31947,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *239 headers: Link: *41 x-github: @@ -31195,7 +31967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -31224,6 +31996,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -31241,6 +32019,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -31264,12 +32047,195 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: *43 + examples: + default: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *81 + - *44 + responses: + '200': + description: Response + content: + application/json: + schema: *43 + examples: + default: *240 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - *81 + - *44 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - *44 + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: *46 + examples: + default: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *81 + - *44 + - *47 + responses: + '200': + description: Response + content: + application/json: + schema: *46 + examples: + default: *241 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - *81 + - *44 + - *47 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -31282,7 +32248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31298,9 +32264,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31318,7 +32284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31334,9 +32300,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31353,15 +32319,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *228 + schema: *242 examples: - default: *229 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31379,7 +32345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31395,9 +32361,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *50 examples: - default: *230 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31415,7 +32381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31459,8 +32425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 responses: '200': description: Response @@ -31468,7 +32434,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 headers: Link: *41 x-github: @@ -31488,8 +32454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 requestBody: required: true content: @@ -31515,6 +32481,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -31529,7 +32501,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31545,8 +32517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 responses: '202': description: Response @@ -31554,7 +32526,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31574,13 +32546,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *81 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &245 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +32566,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &246 value: include_claim_keys: - repo @@ -31616,20 +32588,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *231 + schema: *245 examples: - default: *232 + default: *246 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &271 title: Empty Object description: An object without any properties. type: object @@ -31659,7 +32631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31668,7 +32640,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &248 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31681,9 +32653,9 @@ 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: *49 - selected_actions_url: *233 - sha_pinning_required: *50 + allowed_actions: *54 + selected_actions_url: *247 + sha_pinning_required: *55 required: - enabled_repositories examples: @@ -31713,7 +32685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -31724,9 +32696,9 @@ paths: schema: type: object properties: - enabled_repositories: *234 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_repositories: *248 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled_repositories examples: @@ -31754,13 +32726,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *235 + schema: *249 examples: response: summary: Example response @@ -31786,12 +32758,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *236 + schema: *250 examples: application/json: value: @@ -31801,7 +32773,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -31821,15 +32793,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *51 + schema: *56 examples: - default: *237 + default: *251 '404': *6 x-github: enabledForGitHubApps: true @@ -31848,7 +32820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -31858,7 +32830,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -31880,15 +32852,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *238 + schema: *252 examples: - default: *52 + default: *57 '403': *27 '404': *6 x-github: @@ -31906,14 +32878,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *239 + schema: *253 examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -31943,7 +32915,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31961,9 +32933,9 @@ paths: type: number repositories: type: array - items: *67 + items: *72 examples: - default: &241 + default: &255 value: total_count: 1 repositories: @@ -32103,7 +33075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -32147,8 +33119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - &240 + - *81 + - &254 name: repository_id description: The unique identifier of the repository. in: path @@ -32176,8 +33148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - *240 + - *81 + - *254 responses: '204': description: Response @@ -32200,15 +33172,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *54 + schema: *59 examples: - default: *55 + default: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32231,7 +33203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -32239,9 +33211,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32261,7 +33233,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -32309,7 +33281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32336,7 +33308,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32356,7 +33328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -32371,9 +33343,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *72 examples: - default: *241 + default: *255 '403': *27 '404': *6 x-github: @@ -32393,7 +33365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32441,14 +33413,14 @@ paths: description: API method documentation 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: - - *76 - - *240 + - *81 + - *254 responses: '204': description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32468,14 +33440,14 @@ paths: description: API method documentation 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: - - *76 - - *240 + - *81 + - *254 responses: '204': description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32497,15 +33469,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *242 + schema: *256 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32526,7 +33498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Success response @@ -32537,9 +33509,9 @@ paths: required: false content: application/json: - schema: *243 + schema: *257 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32559,7 +33531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *76 + - *81 - *17 - *19 - name: visible_to_repository @@ -32584,7 +33556,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &258 type: object properties: id: @@ -32701,7 +33673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32774,9 +33746,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *258 examples: - default: &245 + default: &259 value: id: 2 name: octo-runner-group @@ -32811,14 +33783,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 responses: '200': description: Response content: application/json: - schema: *244 + schema: *258 examples: default: value: @@ -32854,8 +33826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -32911,9 +33883,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *258 examples: - default: *245 + default: *259 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32932,8 +33904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *76 - - *61 + - *81 + - *66 responses: '204': description: Response @@ -32956,8 +33928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *17 - *19 responses: @@ -32977,7 +33949,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *239 headers: Link: *41 x-github: @@ -32999,8 +33971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *19 - *17 responses: @@ -33018,9 +33990,9 @@ paths: type: number repositories: type: array - items: *246 + items: *260 examples: - default: &768 + default: &780 value: total_count: 1 repositories: @@ -33272,8 +34244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -33317,9 +34289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 - - *240 + - *81 + - *66 + - *254 responses: '204': description: Response @@ -33341,9 +34313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 - - *240 + - *81 + - *66 + - *254 responses: '204': description: Response @@ -33366,8 +34338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *17 - *19 responses: @@ -33385,9 +34357,9 @@ paths: type: number runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -33408,8 +34380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -33453,9 +34425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *76 - - *61 - - *64 + - *81 + - *66 + - *69 responses: '204': description: Response @@ -33477,9 +34449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *76 - - *61 - - *64 + - *81 + - *66 + - *69 responses: '204': description: Response @@ -33509,7 +34481,7 @@ paths: in: query schema: type: string - - *76 + - *81 - *17 - *19 responses: @@ -33527,9 +34499,9 @@ paths: type: integer runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -33553,7 +34525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -33561,9 +34533,9 @@ paths: application/json: schema: type: array - items: *247 + items: *261 examples: - default: *248 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33585,7 +34557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -33628,10 +34600,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *263 '404': *6 '422': *7 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33659,15 +34631,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *76 + - *81 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *250 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33695,15 +34667,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *76 + - *81 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *251 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33725,16 +34697,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: *252 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33755,8 +34727,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-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: '204': description: Response @@ -33782,10 +34754,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: - '200': *70 + '200': *75 '404': *6 x-github: githubCloudOnly: false @@ -33807,8 +34779,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-an-organization parameters: - - *76 - - *64 + - *81 + - *69 requestBody: required: true content: @@ -33832,7 +34804,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33856,8 +34828,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-an-organization parameters: - - *76 - - *64 + - *81 + - *69 requestBody: required: true content: @@ -33882,7 +34854,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33906,10 +34878,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: - '200': *253 + '200': *267 '404': *6 x-github: githubCloudOnly: false @@ -33936,11 +34908,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 - - *254 + - *81 + - *69 + - *268 responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33965,7 +34937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -33983,7 +34955,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &269 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34058,13 +35030,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &469 + schema: &481 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34099,7 +35071,7 @@ paths: - key_id - key examples: - default: &470 + default: &482 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34124,8 +35096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &256 + - *81 + - &270 name: secret_name description: The name of the secret. in: path @@ -34137,7 +35109,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *269 examples: default: value: @@ -34167,8 +35139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -34225,7 +35197,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -34251,8 +35223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -34278,8 +35250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - *19 - *17 responses: @@ -34297,9 +35269,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: &260 + default: &274 value: total_count: 1 repositories: @@ -34391,8 +35363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -34444,8 +35416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -34478,8 +35450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -34511,8 +35483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *76 - - &454 + - *81 + - &466 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)." @@ -34536,7 +35508,7 @@ paths: type: integer variables: type: array - items: &258 + items: &272 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34626,7 +35598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *81 requestBody: required: true content: @@ -34674,7 +35646,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -34699,8 +35671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &259 + - *81 + - &273 name: name description: The name of the variable. in: path @@ -34712,7 +35684,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *272 examples: default: value: @@ -34742,8 +35714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 requestBody: required: true content: @@ -34805,8 +35777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 responses: '204': description: Response @@ -34832,8 +35804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 - *19 - *17 responses: @@ -34851,9 +35823,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34879,8 +35851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 requestBody: required: true content: @@ -34929,8 +35901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 - name: repository_id in: path required: true @@ -34964,8 +35936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *273 - name: repository_id in: path required: true @@ -34996,15 +35968,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35023,19 +35995,19 @@ paths: required: true content: application/json: - schema: *261 + schema: *275 examples: - default: *74 + default: *79 parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35051,7 +36023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -35074,7 +36046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *81 requestBody: required: true content: @@ -35216,7 +36188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *81 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -35300,9 +36272,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *97 - - *98 - - *76 + - *102 + - *103 + - *81 requestBody: required: true content: @@ -35325,12 +36297,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &807 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &808 value: subject_digests: - sha256:abc123 @@ -35389,7 +36361,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &809 value: attestations_subject_digests: - sha256:abc: @@ -35498,7 +36470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *81 requestBody: required: true content: @@ -35563,7 +36535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *81 - name: subject_digest description: Subject Digest in: path @@ -35582,6 +36554,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *102 + - *103 + - *81 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -35594,7 +36617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *81 - name: attestation_id description: Attestation ID in: path @@ -35630,9 +36653,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - - *97 - - *98 - - *76 + - *102 + - *103 + - *81 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -35685,7 +36708,7 @@ paths: initiator: type: string examples: - default: &483 + default: &495 value: attestations: - bundle: @@ -35803,7 +36826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *76 + - *81 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -35811,10 +36834,10 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 - - *265 + - *276 + - *277 + - *278 + - *279 - *17 responses: '200': @@ -35823,9 +36846,9 @@ paths: application/json: schema: type: array - items: *266 + items: *280 examples: - default: *267 + default: *281 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35842,7 +36865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -35854,7 +36877,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35873,8 +36896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: If the user is blocked @@ -35899,8 +36922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -35920,8 +36943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -35947,17 +36970,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *76 - - &270 + - *81 + - &284 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *92 - - *93 - - *94 - - *95 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -35967,9 +36990,9 @@ paths: application/json: schema: type: array - items: *268 + items: *282 examples: - default: *269 + default: *283 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35992,12 +37015,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *76 - - *270 - - *92 - - *93 - - *94 - - *95 + - *81 + - *284 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -36007,9 +37030,9 @@ paths: application/json: schema: type: array - items: *271 + items: *285 examples: - default: *272 + default: *286 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36028,15 +37051,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *81 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &288 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +37085,7 @@ paths: application/json: schema: type: array - items: &275 + items: &289 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +37116,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *287 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +37135,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *288 contact_link: description: The contact link of the campaign. type: @@ -36210,7 +37233,7 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36234,7 +37257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -36329,9 +37352,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *289 examples: - default: &276 + default: &290 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36380,7 +37403,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36402,7 +37425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36414,16 +37437,16 @@ paths: description: Response content: application/json: - schema: *275 + schema: *289 examples: - default: *276 + default: *290 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36444,7 +37467,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36494,7 +37517,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *288 examples: default: value: @@ -36504,9 +37527,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *289 examples: - default: *276 + default: *290 '400': description: Bad Request content: @@ -36518,7 +37541,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36539,7 +37562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36550,7 +37573,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36572,20 +37595,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *76 - - *277 - - *278 - - *97 - - *98 + - *81 + - *291 + - *292 + - *102 + - *103 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *279 + schema: *293 - name: sort description: The property by which to sort the results. in: query @@ -36601,7 +37624,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &520 type: string description: Severity of a code scanning alert. enum: @@ -36619,13 +37642,13 @@ paths: application/json: schema: type: array - items: *280 + items: *294 examples: - default: *281 + default: *295 headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36647,7 +37670,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *76 + - *81 - name: target_type in: query description: The target type of the code security configuration @@ -36666,8 +37689,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -36675,7 +37698,7 @@ paths: application/json: schema: type: array - items: *103 + items: *108 examples: default: value: @@ -36758,7 +37781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *81 requestBody: required: true content: @@ -36836,7 +37859,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *296 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36845,7 +37868,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36977,9 +38000,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *103 + schema: *108 examples: - default: *283 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37001,15 +38024,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: *285 + default: *299 '304': *35 '403': *27 '404': *6 @@ -37035,7 +38058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *81 requestBody: required: true content: @@ -37061,11 +38084,11 @@ paths: - 32 - 91 responses: - '204': *129 + '204': *139 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37087,16 +38110,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 responses: '200': description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *283 + default: *297 '304': *35 '403': *27 '404': *6 @@ -37120,8 +38143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37200,7 +38223,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -37318,7 +38341,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *103 + schema: *108 examples: default: value: @@ -37377,14 +38400,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 responses: - '204': *129 + '204': *139 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37408,8 +38431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37472,8 +38495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37513,12 +38536,12 @@ paths: - none - private_and_internal - public - configuration: *103 + configuration: *108 examples: default: value: default_for_new_repos: all - configuration: *283 + configuration: *297 '403': *27 '404': *6 x-github: @@ -37542,8 +38565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 - 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)." @@ -37552,8 +38575,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -37571,13 +38594,13 @@ paths: application/json: schema: type: array - items: *286 + items: *300 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *301 '403': *27 '404': *6 x-github: @@ -37601,7 +38624,7 @@ paths: parameters: - *17 - *19 - - *76 + - *81 responses: '200': description: Response @@ -37617,7 +38640,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &348 type: object title: Codespace description: A codespace. @@ -37648,11 +38671,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *260 machine: anyOf: - type: 'null' - - &537 + - &549 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -37939,7 +38962,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &349 value: total_count: 3 codespaces: @@ -38371,7 +39394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *81 deprecated: true requestBody: required: true @@ -38438,7 +39461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *76 + - *81 deprecated: true requestBody: required: true @@ -38493,7 +39516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *81 requestBody: required: true content: @@ -38545,7 +39568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -38563,7 +39586,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &302 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38604,7 +39627,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &550 value: total_count: 2 secrets: @@ -38636,13 +39659,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &539 + schema: &551 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38677,7 +39700,7 @@ paths: - key_id - key examples: - default: &540 + default: &552 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38700,16 +39723,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '200': description: Response content: application/json: - schema: *288 + schema: *302 examples: - default: &542 + default: &554 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38736,8 +39759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -38792,7 +39815,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -38818,8 +39841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -38844,8 +39867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - *19 - *17 responses: @@ -38863,9 +39886,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 '404': *6 x-github: githubCloudOnly: false @@ -38887,8 +39910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -38938,8 +39961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -38972,8 +39995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -39012,7 +40035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: OK @@ -39153,7 +40176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *76 + - *81 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -39176,9 +40199,9 @@ paths: currently being billed. seats: type: array - items: *120 + items: *130 examples: - default: *121 + default: *131 headers: Link: *41 '500': *38 @@ -39214,7 +40237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39292,7 +40315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39372,7 +40395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39449,7 +40472,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39530,7 +40553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *76 + - *81 - 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`). @@ -39562,13 +40585,13 @@ paths: application/json: schema: type: array - items: *171 + items: *181 examples: - default: *172 + default: *182 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39590,7 +40613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -39749,7 +40772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *76 + - *81 - name: credential_id in: path required: true @@ -39780,7 +40803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response - list of custom role names @@ -39796,7 +40819,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *303 examples: default: value: @@ -39883,12 +40906,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: &292 + schema: &306 type: object properties: name: @@ -39930,9 +40953,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -39956,8 +40979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *76 - - &291 + - *81 + - &305 name: role_id description: The unique identifier of the role. in: path @@ -39969,9 +40992,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '404': *6 x-github: githubCloudOnly: true @@ -39993,13 +41016,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *76 - - *291 + - *81 + - *305 requestBody: required: true content: application/json: - schema: &293 + schema: &307 type: object properties: name: @@ -40038,9 +41061,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -40064,8 +41087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '204': description: Response @@ -40093,12 +41116,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *292 + schema: *306 examples: default: value: @@ -40112,9 +41135,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -40144,16 +41167,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '200': description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '404': *6 x-github: githubCloudOnly: true @@ -40181,13 +41204,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *76 - - *291 + - *81 + - *305 requestBody: required: true content: application/json: - schema: *293 + schema: *307 examples: default: value: @@ -40202,9 +41225,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *303 examples: - default: *290 + default: *304 '422': *15 '404': *6 x-github: @@ -40234,8 +41257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '204': description: Response @@ -40263,12 +41286,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *294 - - *295 - - *296 - - *297 - - *298 + - *81 + - *308 + - *309 + - *310 + - *311 + - *312 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +41329,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 - - *99 - - *97 - - *98 - - *301 - - *302 + - *313 + - *314 + - *104 + - *102 + - *103 - *17 responses: '200': @@ -40321,9 +41342,9 @@ paths: application/json: schema: type: array - items: *303 + items: *315 examples: - default: *304 + default: *316 '304': *35 '400': *14 '403': *27 @@ -40349,7 +41370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -40367,7 +41388,7 @@ paths: type: integer secrets: type: array - items: &305 + items: &317 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40440,13 +41461,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &565 + schema: &577 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40465,7 +41486,7 @@ paths: - key_id - key examples: - default: &566 + default: &578 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40488,14 +41509,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '200': description: Response content: application/json: - schema: *305 + schema: *317 examples: default: value: @@ -40523,8 +41544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -40583,7 +41604,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -40607,8 +41628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -40632,8 +41653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - *19 - *17 responses: @@ -40651,9 +41672,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40674,8 +41695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -40725,8 +41746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -40757,8 +41778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *270 - name: repository_id in: path required: true @@ -40794,8 +41815,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - &574 + - *81 + - &586 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40803,7 +41824,7 @@ paths: required: false schema: type: string - - &575 + - &587 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40811,7 +41832,7 @@ paths: required: false schema: type: string - - &576 + - &588 name: time_period description: |- The time period to filter by. @@ -40827,7 +41848,7 @@ paths: - week - month default: month - - &577 + - &589 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40842,7 +41863,7 @@ paths: - denied - all default: all - - *270 + - *284 - *17 - *19 responses: @@ -40852,7 +41873,7 @@ paths: application/json: schema: type: array - items: &578 + items: &590 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41015,7 +42036,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &579 + default: &591 value: - id: 21 number: 42 @@ -41101,12 +42122,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - *270 - - *92 - - *93 - - *94 - - &580 + - *81 + - *284 + - *97 + - *98 + - *99 + - &592 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41132,7 +42153,7 @@ paths: application/json: schema: type: array - items: &581 + items: &593 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41246,7 +42267,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *96 + items: *101 url: type: string format: uri @@ -41259,7 +42280,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &582 + default: &594 value: - id: 21 number: 42 @@ -41339,7 +42360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -41347,7 +42368,7 @@ paths: application/json: schema: type: array - items: &346 + items: &358 title: Package description: A software package type: object @@ -41400,7 +42421,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *260 created_at: type: string format: date-time @@ -41418,7 +42439,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &359 value: - id: 197 name: hello_docker @@ -41496,7 +42517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *76 + - *81 - *17 - *19 responses: @@ -41506,7 +42527,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: 200-response: value: @@ -41579,7 +42600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *76 + - *81 - name: group_id description: The unique identifier of the group. in: path @@ -41605,7 +42626,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &437 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41695,7 +42716,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &426 + default: &438 value: group_id: '123' group_name: Octocat admins @@ -41733,7 +42754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-available-to-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -41750,7 +42771,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &435 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41790,7 +42811,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &424 + default: &436 value: groups: - group_id: '123' @@ -41824,7 +42845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *81 - *17 - *19 responses: @@ -41834,7 +42855,7 @@ paths: application/json: schema: type: array - items: &328 + items: &340 title: Organization Invitation description: Organization Invitation type: object @@ -41888,7 +42909,7 @@ paths: - invitation_teams_url - node_id examples: - default: &329 + default: &341 value: - id: 1 login: monalisa @@ -41947,7 +42968,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -41955,7 +42976,7 @@ paths: application/json: schema: type: array - items: &378 + items: &390 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41969,7 +42990,7 @@ paths: - name - description examples: - default: &379 + default: &391 value: - name: add_assignee description: Assign or remove a user @@ -42000,7 +43021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *81 - *17 - *19 responses: @@ -42010,7 +43031,7 @@ paths: application/json: schema: type: array - items: &306 + items: &318 title: Org Hook description: Org Hook type: object @@ -42131,7 +43152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *81 requestBody: required: true content: @@ -42193,9 +43214,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *318 examples: - default: &307 + default: &319 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42239,8 +43260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &308 + - *81 + - &320 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. @@ -42253,9 +43274,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *318 examples: - default: *307 + default: *319 '404': *6 x-github: githubCloudOnly: false @@ -42276,8 +43297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 requestBody: required: false content: @@ -42323,7 +43344,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *318 examples: default: value: @@ -42362,8 +43383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 responses: '204': description: Response @@ -42388,8 +43409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *76 - - *308 + - *81 + - *320 responses: '200': description: Response @@ -42417,8 +43438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *76 - - *308 + - *81 + - *320 requestBody: required: false content: @@ -42466,10 +43487,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 - *17 - - *309 + - *321 responses: '200': description: Response @@ -42477,9 +43498,9 @@ paths: application/json: schema: type: array - items: *310 + items: *322 examples: - default: *311 + default: *323 '400': *14 '422': *15 x-github: @@ -42502,17 +43523,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *324 examples: - default: *313 + default: *325 '400': *14 '422': *15 x-github: @@ -42535,8 +43556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 - *16 responses: '202': *37 @@ -42562,8 +43583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *320 responses: '204': description: Response @@ -42585,8 +43606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &318 + - *81 + - &330 name: actor_type in: path description: The type of the actor @@ -42599,14 +43620,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &319 + - &331 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &314 + - &326 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`.' @@ -42614,7 +43635,7 @@ paths: required: true schema: type: string - - &315 + - &327 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) @@ -42625,7 +43646,7 @@ paths: type: string - *19 - *17 - - *99 + - *104 - name: sort description: The property to sort the results by. in: query @@ -42708,13 +43729,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *314 - - *315 + - *81 + - *326 + - *327 - *19 - *17 - - *99 - - &324 + - *104 + - &336 name: sort description: The property to sort the results by. in: query @@ -42793,15 +43814,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *314 - - *315 + - *81 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: &316 + schema: &328 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42817,7 +43838,7 @@ paths: type: integer format: int64 examples: - default: &317 + default: &329 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42837,24 +43858,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &320 + - *81 + - &332 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *314 - - *315 + - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *316 + schema: *328 examples: - default: *317 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -42872,19 +43893,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *314 - - *315 - - *318 - - *319 + - *81 + - *326 + - *327 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *316 + schema: *328 examples: - default: *317 + default: *329 x-github: enabledForGitHubApps: true category: orgs @@ -42901,10 +43922,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *314 - - *315 - - &321 + - *81 + - *326 + - *327 + - &333 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42917,7 +43938,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &334 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42933,7 +43954,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &335 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42969,19 +43990,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *320 - - *314 - - *315 - - *321 + - *81 + - *332 + - *326 + - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *322 + schema: *334 examples: - default: *323 + default: *335 x-github: enabledForGitHubApps: true category: orgs @@ -42998,20 +44019,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *318 - - *319 - - *314 - - *315 - - *321 + - *81 + - *330 + - *331 + - *326 + - *327 + - *333 responses: '200': description: Response content: application/json: - schema: *322 + schema: *334 examples: - default: *323 + default: *335 x-github: enabledForGitHubApps: true category: orgs @@ -43028,14 +44049,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *320 - - *314 - - *315 + - *81 + - *332 + - *326 + - *327 - *19 - *17 - - *99 - - *324 + - *104 + - *336 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43111,7 +44132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *76 + - *81 responses: '200': description: Response @@ -43119,7 +44140,7 @@ paths: application/json: schema: *20 examples: - default: &613 + default: &625 value: id: 1 account: @@ -43188,7 +44209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -43277,7 +44298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -43285,12 +44306,12 @@ paths: application/json: schema: anyOf: - - &326 + - &338 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &325 + limit: &337 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43318,7 +44339,7 @@ paths: properties: {} additionalProperties: false examples: - default: &327 + default: &339 value: limit: collaborators_only origin: organization @@ -43342,18 +44363,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: &614 + schema: &626 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *325 + limit: *337 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43378,9 +44399,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *338 examples: - default: *327 + default: *339 '422': *15 x-github: githubCloudOnly: false @@ -43398,7 +44419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -43424,7 +44445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *81 - *17 - *19 - name: role @@ -43458,9 +44479,9 @@ paths: application/json: schema: type: array - items: *328 + items: *340 examples: - default: *329 + default: *341 headers: Link: *41 '404': *6 @@ -43484,7 +44505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *81 requestBody: required: false content: @@ -43538,7 +44559,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *340 examples: default: value: @@ -43594,8 +44615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &330 + - *81 + - &342 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43628,8 +44649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *330 + - *81 + - *342 - *17 - *19 responses: @@ -43639,9 +44660,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: &345 + default: &357 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43676,7 +44697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -43684,7 +44705,7 @@ paths: application/json: schema: type: array - items: *331 + items: *343 examples: default: value: @@ -43722,7 +44743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -43772,9 +44793,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *343 examples: - default: &332 + default: &344 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43806,8 +44827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *76 - - &333 + - *81 + - &345 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43863,9 +44884,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *343 examples: - default: *332 + default: *344 '404': *6 '422': *7 x-github: @@ -43889,8 +44910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *76 - - *333 + - *81 + - *345 responses: '204': description: Response @@ -43923,7 +44944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *76 + - *81 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -43953,7 +44974,7 @@ paths: - closed - all default: open - - *334 + - *346 - name: type description: Can be the name of an issue type. in: query @@ -43971,8 +44992,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - *17 - *19 responses: @@ -43982,9 +45003,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *335 + default: *347 headers: Link: *41 '404': *6 @@ -44006,7 +45027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *76 + - *81 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44044,7 +45065,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '422': *15 @@ -44064,8 +45085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response if requester is an organization member and user is @@ -44099,8 +45120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -44126,8 +45147,8 @@ paths: parameters: - *17 - *19 - - *76 - - *178 + - *81 + - *188 responses: '200': description: Response @@ -44143,9 +45164,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *348 examples: - default: *337 + default: *349 '304': *35 '500': *38 '401': *23 @@ -44170,9 +45191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *178 - - &338 + - *81 + - *188 + - &350 name: codespace_name in: path required: true @@ -44205,17 +45226,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *76 - - *178 - - *338 + - *81 + - *188 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: &536 + default: &548 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44388,14 +45409,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *120 + schema: *130 examples: default: value: @@ -44464,14 +45485,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '200': description: Response content: application/json: - schema: &339 + schema: &351 title: Org Membership description: Org Membership type: object @@ -44520,7 +45541,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *62 + organization: *67 user: anyOf: - type: 'null' @@ -44540,7 +45561,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &340 + response-if-user-has-an-active-admin-membership-with-organization: &352 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44608,8 +45629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 requestBody: required: false content: @@ -44637,9 +45658,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *351 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *352 '422': *15 '403': *27 x-github: @@ -44663,8 +45684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -44689,7 +45710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *81 - *17 - *19 - name: exclude @@ -44711,7 +45732,7 @@ paths: application/json: schema: type: array - items: &341 + items: &353 title: Migration description: A migration. type: object @@ -44753,7 +45774,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *72 url: type: string format: uri @@ -44968,7 +45989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *81 requestBody: required: true content: @@ -45049,7 +46070,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -45227,8 +46248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &342 + - *81 + - &354 name: migration_id description: The unique identifier of the migration. in: path @@ -45256,7 +46277,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -45425,8 +46446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *342 + - *81 + - *354 responses: '302': description: Response @@ -45447,8 +46468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *342 + - *81 + - *354 responses: '204': description: Response @@ -45471,9 +46492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *342 - - &780 + - *81 + - *354 + - &792 name: repo_name description: repo_name parameter in: path @@ -45500,8 +46521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *342 + - *81 + - *354 - *17 - *19 responses: @@ -45511,9 +46532,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: &352 + default: &364 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45652,7 +46673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -45706,7 +46727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response - list of organization roles @@ -45722,7 +46743,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &355 title: Organization Role description: Organization roles type: object @@ -45884,7 +46905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *76 + - *81 requestBody: required: true content: @@ -45931,7 +46952,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *355 examples: default: value: @@ -45960,7 +46981,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45982,8 +47003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -46008,9 +47029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *76 - - *180 - - *291 + - *81 + - *191 + - *305 responses: '204': description: Response @@ -46039,9 +47060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *76 - - *180 - - *291 + - *81 + - *191 + - *305 responses: '204': description: Response @@ -46066,8 +47087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -46092,9 +47113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *76 - - *178 - - *291 + - *81 + - *188 + - *305 responses: '204': description: Response @@ -46124,9 +47145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *76 - - *178 - - *291 + - *81 + - *188 + - *305 responses: '204': description: Response @@ -46154,14 +47175,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '200': description: Response content: application/json: - schema: *343 + schema: *355 examples: default: value: @@ -46218,8 +47239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *76 - - *291 + - *81 + - *305 requestBody: required: true content: @@ -46258,7 +47279,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *355 examples: default: value: @@ -46286,7 +47307,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *107 + '409': *112 '404': *6 x-github: githubCloudOnly: true @@ -46311,8 +47332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *76 - - *291 + - *81 + - *305 responses: '204': description: Response @@ -46337,8 +47358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *76 - - *291 + - *81 + - *305 - *17 - *19 responses: @@ -46417,7 +47438,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *356 type: description: The ownership type of the team type: string @@ -46450,7 +47471,7 @@ paths: - type - parent examples: - default: *345 + default: *357 headers: Link: *41 '404': @@ -46479,8 +47500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *76 - - *291 + - *81 + - *305 - *17 - *19 responses: @@ -46509,7 +47530,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *344 + items: *356 name: type: - string @@ -46626,7 +47647,7 @@ paths: - type - url examples: - default: *177 + default: *187 headers: Link: *41 '404': @@ -46650,7 +47671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *76 + - *81 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -46677,7 +47698,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -46702,8 +47723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *76 - - *178 + - *81 + - *188 requestBody: required: false content: @@ -46760,8 +47781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -46818,8 +47839,8 @@ paths: - docker - nuget - container - - *76 - - &782 + - *81 + - &793 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46855,12 +47876,12 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *347 + default: *359 '403': *27 '401': *23 - '400': &784 + '400': &795 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46882,7 +47903,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &348 + - &360 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 @@ -46900,20 +47921,20 @@ paths: - docker - nuget - container - - &349 + - &361 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *346 + schema: *358 examples: default: value: @@ -46965,9 +47986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *348 - - *349 - - *76 + - *360 + - *361 + - *81 responses: '204': description: Response @@ -46999,9 +48020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *348 - - *349 - - *76 + - *360 + - *361 + - *81 - name: token description: package token schema: @@ -47033,9 +48054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *348 - - *349 - - *76 + - *360 + - *361 + - *81 - *19 - *17 - name: state @@ -47055,7 +48076,7 @@ paths: application/json: schema: type: array - items: &350 + items: &362 title: Package Version description: A version of a software package type: object @@ -47190,10 +48211,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: - - *348 - - *349 - - *76 - - &351 + - *360 + - *361 + - *81 + - &363 name: package_version_id description: Unique identifier of the package version. in: path @@ -47205,7 +48226,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -47241,10 +48262,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - *351 + - *360 + - *361 + - *81 + - *363 responses: '204': description: Response @@ -47276,10 +48297,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - *351 + - *360 + - *361 + - *81 + - *363 responses: '204': description: Response @@ -47306,10 +48327,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *81 - *17 - *19 - - &353 + - &365 name: sort description: The property by which to sort the results. in: query @@ -47319,8 +48340,8 @@ paths: enum: - created_at default: created_at - - *99 - - &354 + - *104 + - &366 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47332,7 +48353,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &355 + - &367 name: repository description: The name of the repository to use to filter the results. in: query @@ -47341,7 +48362,7 @@ paths: type: string examples: - Hello-World - - &356 + - &368 name: permission description: The permission to use to filter the results. in: query @@ -47350,7 +48371,7 @@ paths: type: string examples: - issues_read - - &357 + - &369 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) @@ -47360,7 +48381,7 @@ paths: schema: type: string format: date-time - - &358 + - &370 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) @@ -47370,7 +48391,7 @@ paths: schema: type: string format: date-time - - &359 + - &371 name: token_id description: The ID of the token in: query @@ -47538,7 +48559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *81 requestBody: required: true content: @@ -47605,7 +48626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *76 + - *81 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -47646,7 +48667,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47667,7 +48688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *76 + - *81 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -47687,9 +48708,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -47712,17 +48733,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *76 + - *81 - *17 - *19 - - *353 - - *99 - - *354 - - *355 - - *356 - - *357 - - *358 - - *359 + - *365 + - *104 + - *366 + - *367 + - *368 + - *369 + - *370 + - *371 responses: '500': *38 '422': *15 @@ -47873,7 +48894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *76 + - *81 requestBody: required: true content: @@ -47933,7 +48954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *76 + - *81 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -47963,7 +48984,7 @@ paths: responses: '500': *38 '404': *6 - '204': *129 + '204': *139 '403': *27 '422': *15 x-github: @@ -47985,7 +49006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *76 + - *81 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -48004,9 +49025,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -48030,7 +49051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -48048,7 +49069,7 @@ paths: type: integer configurations: type: array - items: &360 + items: &372 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48139,7 +49160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -48307,7 +49328,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &361 + org-private-registry-with-selected-visibility: &373 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48348,7 +49369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -48398,16 +49419,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *270 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *360 + schema: *372 examples: - default: *361 + default: *373 '404': *6 x-github: githubCloudOnly: false @@ -48428,8 +49449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *270 requestBody: required: true content: @@ -48525,8 +49546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *270 responses: '204': description: Response @@ -48551,7 +49572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *76 + - *81 - name: state description: Indicates the state of the projects to return. in: query @@ -48572,7 +49593,7 @@ paths: application/json: schema: type: array - items: &362 + items: &374 title: Project description: Projects are a way to organize columns and cards of work. @@ -48728,7 +49749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *76 + - *81 requestBody: required: true content: @@ -48754,7 +49775,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -48792,7 +49813,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &441 + '410': &453 description: Gone content: application/json: @@ -48818,15 +49839,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *81 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *97 - - *98 + - *102 + - *103 - *17 responses: '200': @@ -48835,7 +49856,7 @@ paths: application/json: schema: type: array - items: &363 + items: &375 title: Projects v2 Project description: A projects v2 project type: object @@ -48909,7 +49930,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &868 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48994,7 +50015,7 @@ paths: - deleted_at - deleted_by examples: - default: &364 + default: &376 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49097,22 +50118,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &365 + - &377 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *363 + schema: *375 examples: - default: *364 + default: *376 headers: Link: *41 '304': *35 @@ -49134,11 +50155,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *365 - - *76 + - *377 + - *81 - *17 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -49146,7 +50167,7 @@ paths: application/json: schema: type: array - items: &366 + items: &378 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49296,7 +50317,7 @@ paths: - updated_at - project_url examples: - default: &367 + default: &379 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49339,23 +50360,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *365 - - &801 + - *377 + - &812 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *366 + schema: *378 examples: - default: *367 + default: *379 headers: Link: *41 '304': *35 @@ -49378,8 +50399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *365 - - *76 + - *377 + - *81 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -49388,19 +50409,21 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - - *97 - - *98 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *102 + - *103 - *17 responses: '200': @@ -49409,7 +50432,7 @@ paths: application/json: schema: type: array - items: &372 + items: &384 title: Projects v2 Item description: An item belonging to a project type: object @@ -49426,7 +50449,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &370 + content_type: &382 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49483,7 +50506,7 @@ paths: - updated_at - archived_at examples: - default: &373 + default: &385 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50177,8 +51200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *365 + - *81 + - *377 requestBody: required: true description: Details of the item to add to the project. @@ -50215,7 +51238,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &813 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,8 +51251,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 - - &549 + - *194 + - &561 title: Pull Request Simple description: Pull Request Simple type: object @@ -50349,7 +51372,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *380 active_lock_reason: type: - string @@ -50404,7 +51427,7 @@ paths: type: - array - 'null' - items: *273 + items: *287 head: type: object properties: @@ -50412,7 +51435,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: @@ -50432,7 +51455,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: @@ -50448,7 +51471,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &381 title: Link description: Hypermedia Link type: object @@ -50457,13 +51480,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -50473,8 +51496,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: &655 + author_association: *195 + auto_merge: &667 title: Auto merge description: The status of auto merging a pull request. type: @@ -50576,7 +51599,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *382 creator: *4 created_at: type: string @@ -50613,7 +51636,7 @@ paths: - updated_at - archived_at examples: - issue: &371 + issue: &383 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50668,7 +51691,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: *371 + pull_request: *383 '304': *35 '403': *27 '401': *23 @@ -50688,9 +51711,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: - - *365 - - *76 - - &374 + - *377 + - *81 + - &386 name: item_id description: The unique identifier of the project item. in: path @@ -50698,25 +51721,27 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *372 + schema: *384 examples: - default: *373 + default: *385 headers: Link: *41 '304': *35 @@ -50737,9 +51762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *365 - - *76 - - *374 + - *377 + - *81 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50812,13 +51837,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *384 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *23 '403': *27 '404': *6 @@ -50838,9 +51863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *365 - - *76 - - *374 + - *377 + - *81 + - *386 responses: '204': description: Response @@ -50864,7 +51889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -50872,9 +51897,9 @@ paths: application/json: schema: type: array - items: *125 + items: *135 examples: - default: *126 + default: *136 '403': *27 '404': *6 x-github: @@ -50901,7 +51926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -50912,7 +51937,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *135 minItems: 1 maxItems: 100 required: @@ -50942,9 +51967,9 @@ paths: application/json: schema: type: array - items: *125 + items: *135 examples: - default: *126 + default: *136 '403': *27 '404': *6 x-github: @@ -50965,16 +51990,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *137 responses: '200': description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -50997,13 +52022,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *137 requestBody: required: true content: application/json: - schema: *375 + schema: *387 examples: default: value: @@ -51019,9 +52044,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *135 examples: - default: *128 + default: *138 '403': *27 '404': *6 x-github: @@ -51044,10 +52069,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *137 responses: - '204': *129 + '204': *139 '403': *27 '404': *6 x-github: @@ -51068,7 +52093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *76 + - *81 - *17 - *19 - name: repository_query @@ -51109,7 +52134,7 @@ paths: - octocat/Hello-World properties: type: array - items: &376 + items: &388 title: Custom Property Value description: Custom property name and associated value type: object @@ -51179,7 +52204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *76 + - *81 requestBody: required: true content: @@ -51199,7 +52224,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *376 + items: *388 required: - repository_names - properties @@ -51240,7 +52265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *76 + - *81 - *17 - *19 responses: @@ -51252,7 +52277,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -51271,8 +52296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response if user is a public member @@ -51296,8 +52321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -51318,8 +52343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *178 + - *81 + - *188 responses: '204': description: Response @@ -51343,7 +52368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *76 + - *81 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -51390,9 +52415,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -51413,7 +52438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *81 requestBody: required: true content: @@ -51596,7 +52621,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &455 title: Full Repository description: Full Repository type: object @@ -51942,7 +52967,7 @@ paths: template_repository: anyOf: - type: 'null' - - *67 + - *72 temp_clone_token: type: - string @@ -52042,13 +53067,13 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 organization: anyOf: - type: 'null' - *4 - parent: *67 - source: *67 + parent: *72 + source: *72 forks: type: integer master_branch: @@ -52061,7 +53086,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &566 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -52091,7 +53116,7 @@ paths: - key - name - html_url - security_and_analysis: *377 + security_and_analysis: *389 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52175,7 +53200,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &457 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52693,7 +53718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -52701,9 +53726,9 @@ paths: application/json: schema: type: array - items: *378 + items: *390 examples: - default: *379 + default: *391 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52725,10 +53750,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - *17 - *19 - - &678 + - &690 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52747,7 +53772,7 @@ paths: application/json: schema: type: array - items: *158 + items: *168 examples: default: value: @@ -52794,7 +53819,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 requestBody: description: Request body required: true @@ -52815,30 +53840,20 @@ paths: - push - repository default: branch - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *147 + conditions: *392 rules: type: array description: An array of rules within the ruleset. - items: &382 + items: &394 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - *148 - *149 - *150 @@ -52849,6 +53864,16 @@ paths: - *155 - *156 - *157 + - *158 + - *159 + - *160 + - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 required: - name - enforcement @@ -52886,9 +53911,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: &381 + default: &393 value: id: 21 name: super cool ruleset @@ -52942,8 +53967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &680 + - *81 + - &692 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 @@ -52953,16 +53978,16 @@ paths: schema: type: string x-multi-segment: true - - *270 - - *94 - - &681 + - *284 + - *99 + - &693 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 - - &682 + - &694 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52982,7 +54007,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &695 title: Rule Suites description: Response type: array @@ -53038,7 +54063,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &684 + default: &696 value: - id: 21 actor_id: 12 @@ -53081,8 +54106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &685 + - *81 + - &697 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53098,7 +54123,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &698 title: Rule Suite description: Response type: object @@ -53205,7 +54230,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &687 + default: &699 value: id: 21 actor_id: 12 @@ -53266,7 +54291,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53278,9 +54303,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *381 + default: *393 '404': *6 '500': *38 put: @@ -53298,7 +54323,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53324,16 +54349,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *147 + conditions: *392 rules: description: An array of rules within the ruleset. type: array - items: *382 + items: *394 examples: default: value: @@ -53368,9 +54393,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *381 + default: *393 '404': *6 '500': *38 delete: @@ -53388,7 +54413,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53411,7 +54436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *81 - *17 - *19 - name: ruleset_id @@ -53427,9 +54452,9 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: - default: *383 + default: *395 '404': *6 '500': *38 x-github: @@ -53448,7 +54473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53466,7 +54491,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *396 examples: default: value: @@ -53528,15 +54553,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *76 - - *385 - - *386 - - *387 - - *388 - - *99 + - *81 + - *397 + - *398 + - *399 + - *400 + - *104 - *19 - *17 - - &689 + - &701 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 @@ -53546,7 +54571,7 @@ paths: required: false schema: type: string - - &690 + - &702 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 @@ -53556,10 +54581,10 @@ paths: required: false schema: type: string - - *389 - - *390 - - *391 - - *392 + - *401 + - *402 + - *403 + - *404 responses: '200': description: Response @@ -53567,13 +54592,13 @@ paths: application/json: schema: type: array - items: *393 + items: *405 examples: - default: *394 + default: *406 headers: Link: *41 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53598,15 +54623,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *395 + schema: *407 examples: - default: *396 + default: *408 '403': *27 '404': *6 patch: @@ -53627,7 +54652,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *81 requestBody: required: true content: @@ -53635,7 +54660,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *175 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53661,7 +54686,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *175 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53697,7 +54722,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 "/orgs/{org}/security-advisories": get: @@ -53715,8 +54740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *76 - - *99 + - *81 + - *104 - name: sort description: The property to sort the results by. in: query @@ -53728,8 +54753,8 @@ paths: - updated - published default: created - - *97 - - *98 + - *102 + - *103 - name: per_page description: The number of advisories to return per page. 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)." @@ -53759,7 +54784,7 @@ paths: application/json: schema: type: array - items: &711 + items: &723 description: A repository security advisory. type: object properties: @@ -53967,7 +54992,7 @@ paths: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: - array @@ -54003,7 +55028,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *409 credits_detailed: type: - array @@ -54014,7 +55039,7 @@ paths: type: object properties: user: *4 - type: *397 + type: *409 state: type: string description: The state of the user's acceptance of the @@ -54040,13 +55065,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *287 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *108 + - *113 type: - 'null' required: @@ -54078,7 +55103,7 @@ paths: - private_fork additionalProperties: false examples: - default: &712 + default: &724 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54457,7 +55482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *81 responses: '200': description: Response @@ -54465,9 +55490,9 @@ paths: application/json: schema: type: array - items: *344 + items: *356 examples: - default: *345 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54490,8 +55515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -54516,8 +55541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -54546,15 +55571,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *398 + schema: *410 examples: - default: *399 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54578,8 +55603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *76 - - *400 + - *81 + - *412 - *17 - *19 responses: @@ -54587,9 +55612,9 @@ paths: description: Success content: application/json: - schema: *401 + schema: *413 examples: - default: *402 + default: *414 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54611,15 +55636,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *403 + schema: *415 examples: - default: *404 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54641,15 +55666,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *405 + schema: *417 examples: - default: *406 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54669,7 +55694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Immutable releases settings response @@ -54719,7 +55744,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -54777,7 +55802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *81 - *19 - *17 responses: @@ -54795,9 +55820,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54816,7 +55841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *81 requestBody: required: true content: @@ -54865,8 +55890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *240 + - *81 + - *254 responses: '204': description: Response @@ -54888,8 +55913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *240 + - *81 + - *254 responses: '204': description: Response @@ -54912,7 +55937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -54930,9 +55955,9 @@ paths: type: integer network_configurations: type: array - items: *122 + items: *132 examples: - default: *407 + default: *419 headers: Link: *41 x-github: @@ -54953,7 +55978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -54995,9 +56020,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55017,16 +56042,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *124 + - *81 + - *134 responses: '200': description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 headers: Link: *41 x-github: @@ -55047,8 +56072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *124 + - *81 + - *134 requestBody: required: true content: @@ -55087,9 +56112,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *132 examples: - default: *123 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55108,8 +56133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *76 - - *124 + - *81 + - *134 responses: '204': description: Response @@ -55132,16 +56157,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *76 - - *408 + - *81 + - *420 responses: '200': description: Response content: application/json: - schema: *409 + schema: *421 examples: - default: *410 + default: *422 headers: Link: *41 x-github: @@ -55160,7 +56185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -55179,7 +56204,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &444 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55231,7 +56256,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &433 + default: &445 value: groups: - group_id: '123' @@ -55276,8 +56301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *76 - - *180 + - *81 + - *191 - 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`). @@ -55309,13 +56334,13 @@ paths: application/json: schema: type: array - items: *171 + items: *181 examples: - default: *172 + default: *182 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55333,7 +56358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *76 + - *81 - *17 - *19 responses: @@ -55343,9 +56368,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 headers: Link: *41 '403': *27 @@ -55367,7 +56392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *76 + - *81 requestBody: required: true content: @@ -55439,7 +56464,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &423 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55513,7 +56538,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *356 members_count: type: integer examples: @@ -55838,7 +56863,7 @@ paths: - repos_count - organization examples: - default: &412 + default: &424 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55908,16 +56933,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *76 - - *180 + - *81 + - *191 responses: '200': description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 x-github: githubCloudOnly: false @@ -55938,8 +56963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: false content: @@ -56002,16 +57027,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '201': description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 '422': *15 '403': *27 @@ -56036,8 +57061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -56063,9 +57088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *76 - - *180 - - *99 + - *81 + - *191 + - *104 - *17 - *19 - name: pinned @@ -56081,7 +57106,7 @@ paths: application/json: schema: type: array - items: &413 + items: &425 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56172,7 +57197,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *196 required: - author - body @@ -56192,7 +57217,7 @@ paths: - updated_at - url examples: - default: &755 + default: &767 value: - author: login: octocat @@ -56266,8 +57291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: true content: @@ -56301,9 +57326,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: &414 + default: &426 value: author: login: octocat @@ -56375,9 +57400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *76 - - *180 - - &415 + - *81 + - *191 + - &427 name: discussion_number description: The number that identifies the discussion. in: path @@ -56389,9 +57414,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *414 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56413,9 +57438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 requestBody: required: false content: @@ -56438,9 +57463,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: &756 + default: &768 value: author: login: octocat @@ -56510,9 +57535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 responses: '204': description: Response @@ -56538,10 +57563,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *76 - - *180 - - *415 - - *99 + - *81 + - *191 + - *427 + - *104 - *17 - *19 responses: @@ -56551,7 +57576,7 @@ paths: application/json: schema: type: array - items: &416 + items: &428 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56616,7 +57641,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *196 required: - author - body @@ -56631,7 +57656,7 @@ paths: - updated_at - url examples: - default: &757 + default: &769 value: - author: login: octocat @@ -56699,9 +57724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 requestBody: required: true content: @@ -56723,9 +57748,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: &417 + default: &429 value: author: login: octocat @@ -56791,10 +57816,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - &418 + - *81 + - *191 + - *427 + - &430 name: comment_number description: The number that identifies the comment. in: path @@ -56806,9 +57831,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *417 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56830,10 +57855,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 requestBody: required: true content: @@ -56855,9 +57880,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: &758 + default: &770 value: author: login: octocat @@ -56921,10 +57946,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 responses: '204': description: Response @@ -56950,10 +57975,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56979,7 +58004,7 @@ paths: application/json: schema: type: array - items: &419 + items: &431 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57023,7 +58048,7 @@ paths: - content - created_at examples: - default: &421 + default: &433 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57073,10 +58098,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *191 + - *427 + - *430 requestBody: required: true content: @@ -57109,9 +58134,9 @@ paths: team discussion comment content: application/json: - schema: *419 + schema: *431 examples: - default: &420 + default: &432 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57140,9 +58165,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57165,11 +58190,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *76 - - *180 - - *415 - - *418 - - &422 + - *81 + - *191 + - *427 + - *430 + - &434 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57201,9 +58226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 - 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. @@ -57229,9 +58254,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 x-github: @@ -57257,9 +58282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *191 + - *427 requestBody: required: true content: @@ -57291,16 +58316,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57323,10 +58348,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *76 - - *180 - - *415 - - *422 + - *81 + - *191 + - *427 + - *434 responses: '204': description: Response @@ -57349,16 +58374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '200': description: Response content: application/json: - schema: *423 + schema: *435 examples: - default: *424 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57377,8 +58402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: true content: @@ -57402,9 +58427,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *437 examples: - default: *426 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57423,8 +58448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '204': description: Response @@ -57448,8 +58473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -57459,9 +58484,9 @@ paths: application/json: schema: type: array - items: *328 + items: *340 examples: - default: *329 + default: *341 headers: Link: *41 x-github: @@ -57483,8 +58508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *76 - - *180 + - *81 + - *191 - name: role description: Filters members returned by their role in the team. in: query @@ -57507,7 +58532,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -57537,15 +58562,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *191 + - *188 responses: '200': description: Response content: application/json: - schema: &427 + schema: &439 title: Team Membership description: Team Membership type: object @@ -57573,7 +58598,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &759 + response-if-user-is-a-team-maintainer: &771 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57609,9 +58634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *191 + - *188 requestBody: required: false content: @@ -57636,9 +58661,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *439 examples: - response-if-users-membership-with-team-is-now-pending: &760 + response-if-users-membership-with-team-is-now-pending: &772 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57673,9 +58698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *191 + - *188 responses: '204': description: Response @@ -57700,8 +58725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -57711,7 +58736,7 @@ paths: application/json: schema: type: array - items: &428 + items: &440 title: Team Project description: A team's access to a project. type: object @@ -57780,7 +58805,7 @@ paths: - updated_at - permissions examples: - default: &761 + default: &773 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57843,9 +58868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *76 - - *180 - - &429 + - *81 + - *191 + - &441 name: project_id description: The unique identifier of the project. in: path @@ -57857,9 +58882,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *440 examples: - default: &762 + default: &774 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57921,9 +58946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *76 - - *180 - - *429 + - *81 + - *191 + - *441 requestBody: required: false content: @@ -57990,9 +59015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *76 - - *180 - - *429 + - *81 + - *191 + - *441 responses: '204': description: Response @@ -58019,8 +59044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -58030,9 +59055,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -58061,16 +59086,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *191 + - *442 + - *443 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &763 + schema: &775 title: Team Repository description: A team's access to a repository. type: object @@ -58096,7 +59121,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 forks: type: integer permissions: @@ -58711,10 +59736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *191 + - *442 + - *443 requestBody: required: false content: @@ -58759,10 +59784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *191 + - *442 + - *443 responses: '204': description: Response @@ -58788,16 +59813,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *76 - - *180 + - *81 + - *191 responses: '200': description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58819,8 +59844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *76 - - *180 + - *81 + - *191 requestBody: required: true content: @@ -58863,7 +59888,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: default: value: @@ -58895,8 +59920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *76 - - *180 + - *81 + - *191 - *17 - *19 responses: @@ -58906,9 +59931,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - response-if-child-teams-exist: &764 + response-if-child-teams-exist: &776 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58961,7 +59986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *76 + - *81 - name: security_product in: path description: The security feature to enable or disable. @@ -59035,7 +60060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &434 + - &446 name: card_id description: The unique identifier of the card. in: path @@ -59047,7 +60072,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &447 title: Project Card description: Project cards represent a scope of work. type: object @@ -59122,7 +60147,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &448 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59178,7 +60203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *434 + - *446 requestBody: required: false content: @@ -59208,9 +60233,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '304': *35 '403': *27 '401': *23 @@ -59237,7 +60262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *434 + - *446 responses: '204': description: Response @@ -59281,7 +60306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *434 + - *446 requestBody: required: true content: @@ -59394,7 +60419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &437 + - &449 name: column_id description: The unique identifier of the column. in: path @@ -59406,7 +60431,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &450 title: Project Column description: Project columns contain cards of work. type: object @@ -59460,7 +60485,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &451 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59495,7 +60520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *437 + - *449 requestBody: required: true content: @@ -59520,9 +60545,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *450 examples: - default: *439 + default: *451 '304': *35 '403': *27 '401': *23 @@ -59547,7 +60572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *437 + - *449 responses: '204': description: Response @@ -59576,7 +60601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *437 + - *449 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59597,7 +60622,7 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: default: value: @@ -59656,7 +60681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *437 + - *449 requestBody: required: true content: @@ -59700,9 +60725,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '304': *35 '403': *27 '401': *23 @@ -59712,8 +60737,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *235 + - *236 '503': description: Response content: @@ -59758,7 +60783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *437 + - *449 requestBody: required: true content: @@ -59819,15 +60844,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *429 + - *441 responses: '200': description: Response content: application/json: - schema: *362 + schema: *374 examples: - default: &440 + default: &452 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59884,7 +60909,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *429 + - *441 requestBody: required: false content: @@ -59933,9 +60958,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: - default: *440 + default: *452 '404': description: Not Found if the authenticated user does not have access to the project @@ -59956,7 +60981,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *453 '422': *7 x-github: githubCloudOnly: false @@ -59979,7 +61004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *429 + - *441 responses: '204': description: Delete Success @@ -60000,7 +61025,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *453 '404': *6 x-github: githubCloudOnly: false @@ -60024,7 +61049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *429 + - *441 - 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 @@ -60051,7 +61076,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '404': *6 @@ -60081,8 +61106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *429 - - *178 + - *441 + - *188 requestBody: required: false content: @@ -60136,8 +61161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *429 - - *178 + - *441 + - *188 responses: '204': description: Response @@ -60168,8 +61193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *429 - - *178 + - *441 + - *188 responses: '200': description: Response @@ -60239,7 +61264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *429 + - *441 - *17 - *19 responses: @@ -60249,7 +61274,7 @@ paths: application/json: schema: type: array - items: *438 + items: *450 examples: default: value: @@ -60287,7 +61312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *429 + - *441 requestBody: required: true content: @@ -60311,7 +61336,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *450 examples: default: value: @@ -60376,7 +61401,7 @@ paths: resources: type: object properties: - core: &442 + core: &454 title: Rate Limit type: object properties: @@ -60393,21 +61418,21 @@ paths: - remaining - reset - used - graphql: *442 - search: *442 - code_search: *442 - source_import: *442 - integration_manifest: *442 - code_scanning_upload: *442 - actions_runner_registration: *442 - scim: *442 - dependency_snapshots: *442 - dependency_sbom: *442 - code_scanning_autofix: *442 + graphql: *454 + search: *454 + code_search: *454 + source_import: *454 + integration_manifest: *454 + code_scanning_upload: *454 + actions_runner_registration: *454 + scim: *454 + dependency_snapshots: *454 + dependency_sbom: *454 + code_scanning_autofix: *454 required: - core - search - rate: *442 + rate: *454 required: - rate - resources @@ -60512,14 +61537,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *443 + schema: *455 examples: default-response: summary: Default response @@ -61024,7 +62049,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61042,8 +62067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -61301,10 +62326,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 - '307': &446 + default: *457 + '307': &458 description: Temporary Redirect content: application/json: @@ -61333,8 +62358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -61356,9 +62381,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *446 + '307': *458 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61380,11 +62405,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - - &461 + - &473 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61407,7 +62432,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &459 title: Artifact description: An artifact type: object @@ -61502,7 +62527,7 @@ paths: - expires_at - updated_at examples: - default: &462 + default: &474 value: total_count: 2 artifacts: @@ -61563,9 +62588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *430 - - *431 - - &448 + - *442 + - *443 + - &460 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61577,7 +62602,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *459 examples: default: value: @@ -61615,9 +62640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *430 - - *431 - - *448 + - *442 + - *443 + - *460 responses: '204': description: Response @@ -61641,9 +62666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *430 - - *431 - - *448 + - *442 + - *443 + - *460 - name: archive_format in: path required: true @@ -61657,7 +62682,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': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61680,14 +62705,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *449 + schema: *461 examples: default: value: @@ -61713,11 +62738,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: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - - &450 + - &462 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 @@ -61745,13 +62770,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *99 + - *104 responses: '200': description: Response content: application/json: - schema: &451 + schema: &463 title: Repository actions caches description: Repository actions caches type: object @@ -61801,7 +62826,7 @@ paths: - total_count - actions_caches examples: - default: &452 + default: &464 value: total_count: 1 actions_caches: @@ -61833,23 +62858,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: - - *430 - - *431 + - *442 + - *443 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *450 + - *462 responses: '200': description: Response content: application/json: - schema: *451 + schema: *463 examples: - default: *452 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61869,8 +62894,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: - - *430 - - *431 + - *442 + - *443 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61901,9 +62926,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: - - *430 - - *431 - - &453 + - *442 + - *443 + - &465 name: job_id description: The unique identifier of the job. in: path @@ -61915,7 +62940,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &477 title: Job description: Information of a job execution in a workflow run type: object @@ -62262,9 +63287,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: - - *430 - - *431 - - *453 + - *442 + - *443 + - *465 responses: '302': description: Response @@ -62292,9 +63317,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: - - *430 - - *431 - - *453 + - *442 + - *443 + - *465 requestBody: required: false content: @@ -62316,7 +63341,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -62340,8 +63365,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Status response @@ -62391,8 +63416,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -62426,7 +63451,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -62455,8 +63480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -62474,7 +63499,7 @@ paths: type: integer secrets: type: array - items: &467 + items: &479 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62495,7 +63520,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &480 value: total_count: 2 secrets: @@ -62528,9 +63553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *430 - - *431 - - *454 + - *442 + - *443 + - *466 - *19 responses: '200': @@ -62547,7 +63572,7 @@ paths: type: integer variables: type: array - items: &471 + items: &483 title: Actions Variable type: object properties: @@ -62581,7 +63606,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &484 value: total_count: 2 variables: @@ -62614,8 +63639,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -62624,12 +63649,12 @@ paths: schema: type: object properties: - enabled: &455 + enabled: &467 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *49 - selected_actions_url: *233 - sha_pinning_required: *50 + allowed_actions: *54 + selected_actions_url: *247 + sha_pinning_required: *55 required: - enabled examples: @@ -62659,8 +63684,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -62671,9 +63696,9 @@ paths: schema: type: object properties: - enabled: *455 - allowed_actions: *49 - sha_pinning_required: *50 + enabled: *467 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled examples: @@ -62704,14 +63729,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: &456 + schema: &468 type: object properties: access_level: @@ -62729,7 +63754,7 @@ paths: required: - access_level examples: - default: &457 + default: &469 value: access_level: organization x-github: @@ -62754,15 +63779,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: application/json: - schema: *456 + schema: *468 examples: - default: *457 + default: *469 responses: '204': description: Response @@ -62786,14 +63811,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *235 + schema: *249 examples: default: value: @@ -62817,8 +63842,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Empty response for successful settings update @@ -62828,7 +63853,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *250 examples: default: summary: Set retention days @@ -62852,16 +63877,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *51 + schema: *56 examples: - default: *237 + default: *251 '404': *6 x-github: enabledForGitHubApps: true @@ -62880,8 +63905,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -62891,7 +63916,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -62915,16 +63940,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *238 + schema: *252 examples: - default: *52 + default: *57 '403': *27 '404': *6 x-github: @@ -62944,15 +63969,15 @@ 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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: application/json: - schema: *239 + schema: *253 examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -62976,16 +64001,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *54 + schema: *59 examples: - default: *55 + default: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63008,8 +64033,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -63017,9 +64042,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63041,16 +64066,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *242 + schema: *256 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63071,8 +64096,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Success response @@ -63083,9 +64108,9 @@ paths: required: true content: application/json: - schema: *243 + schema: *257 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63112,8 +64137,8 @@ paths: in: query schema: type: string - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -63131,9 +64156,9 @@ paths: type: integer runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -63157,8 +64182,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -63166,9 +64191,9 @@ paths: application/json: schema: type: array - items: *247 + items: *261 examples: - default: *248 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63190,8 +64215,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -63234,10 +64259,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *263 '404': *6 '422': *7 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63265,16 +64290,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *250 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63302,16 +64327,16 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *251 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63333,17 +64358,17 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: *252 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63364,9 +64389,9 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: '204': description: Response @@ -63392,11 +64417,11 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: - '200': *70 + '200': *75 '404': *6 x-github: githubCloudOnly: false @@ -63418,9 +64443,9 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 requestBody: required: true content: @@ -63444,7 +64469,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63468,9 +64493,9 @@ 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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 requestBody: required: true content: @@ -63495,7 +64520,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63519,11 +64544,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: - - *430 - - *431 - - *64 + - *442 + - *443 + - *69 responses: - '200': *253 + '200': *267 '404': *6 x-github: githubCloudOnly: false @@ -63550,12 +64575,12 @@ 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: - - *430 - - *431 - - *64 - - *254 + - *442 + - *443 + - *69 + - *268 responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63581,9 +64606,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: - - *430 - - *431 - - &475 + - *442 + - *443 + - &487 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. @@ -63591,7 +64616,7 @@ paths: required: false schema: type: string - - &476 + - &488 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63599,7 +64624,7 @@ paths: required: false schema: type: string - - &477 + - &489 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63608,7 +64633,7 @@ paths: required: false schema: type: string - - &478 + - &490 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 @@ -63635,7 +64660,7 @@ paths: - pending - *17 - *19 - - &479 + - &491 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)." @@ -63644,7 +64669,7 @@ paths: schema: type: string format: date-time - - &458 + - &470 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63653,13 +64678,13 @@ paths: schema: type: boolean default: false - - &480 + - &492 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &481 + - &493 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63682,7 +64707,7 @@ paths: type: integer workflow_runs: type: array - items: &459 + items: &471 title: Workflow Run description: An invocation of a workflow type: object @@ -63799,7 +64824,7 @@ paths: type: - array - 'null' - items: *187 + items: *198 created_at: type: string format: date-time @@ -63860,7 +64885,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &515 title: Simple Commit description: A commit. type: object @@ -63934,8 +64959,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *260 + head_repository: *260 head_repository_id: type: integer examples: @@ -63975,7 +65000,7 @@ paths: - workflow_url - pull_requests examples: - default: &482 + default: &494 value: total_count: 1 workflow_runs: @@ -64211,24 +65236,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *430 - - *431 - - &460 + - *442 + - *443 + - &472 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *458 + - *470 responses: '200': description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: &463 + default: &475 value: id: 30433642 name: Build @@ -64469,9 +65494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '204': description: Response @@ -64494,9 +65519,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '200': description: Response @@ -64624,15 +65649,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -64659,12 +65684,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 - *17 - *19 - - *461 + - *473 responses: '200': description: Response @@ -64680,9 +65705,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *459 examples: - default: *462 + default: *474 headers: Link: *41 x-github: @@ -64706,25 +65731,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *430 - - *431 - - *460 - - &464 + - *442 + - *443 + - *472 + - &476 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *458 + - *470 responses: '200': description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *463 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,10 +65772,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: - - *430 - - *431 - - *460 - - *464 + - *442 + - *443 + - *472 + - *476 - *17 - *19 responses: @@ -64768,9 +65793,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *477 examples: - default: &466 + default: &478 value: total_count: 1 jobs: @@ -64883,10 +65908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *430 - - *431 - - *460 - - *464 + - *442 + - *443 + - *472 + - *476 responses: '302': description: Response @@ -64914,19 +65939,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '202': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64949,9 +65974,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: true content: @@ -65018,19 +66043,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '202': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65053,9 +66078,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 - 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 @@ -65085,9 +66110,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *477 examples: - default: *466 + default: *478 headers: Link: *41 x-github: @@ -65112,9 +66137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '302': description: Response @@ -65141,9 +66166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '204': description: Response @@ -65170,9 +66195,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '200': description: Response @@ -65241,7 +66266,7 @@ paths: items: type: object properties: - type: &583 + type: &595 type: string description: The type of reviewer. enum: @@ -65252,7 +66277,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *287 required: - environment - wait_timer @@ -65327,9 +66352,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: true content: @@ -65379,7 +66404,7 @@ paths: application/json: schema: type: array - items: &569 + items: &581 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65491,7 +66516,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &582 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65547,9 +66572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: false content: @@ -65571,7 +66596,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -65594,9 +66619,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: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 requestBody: required: false content: @@ -65618,7 +66643,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -65651,9 +66676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *430 - - *431 - - *460 + - *442 + - *443 + - *472 responses: '200': description: Response @@ -65790,8 +66815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -65809,9 +66834,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *479 examples: - default: *468 + default: *480 headers: Link: *41 x-github: @@ -65836,16 +66861,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *469 + schema: *481 examples: - default: *470 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65867,17 +66892,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '200': description: Response content: application/json: - schema: *467 + schema: *479 examples: - default: &596 + default: &608 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65903,9 +66928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 requestBody: required: true content: @@ -65936,7 +66961,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -65962,9 +66987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '204': description: Response @@ -65989,9 +67014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *430 - - *431 - - *454 + - *442 + - *443 + - *466 - *19 responses: '200': @@ -66008,9 +67033,9 @@ paths: type: integer variables: type: array - items: *471 + items: *483 examples: - default: *472 + default: *484 headers: Link: *41 x-github: @@ -66033,8 +67058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -66061,7 +67086,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -66086,17 +67111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *442 + - *443 + - *273 responses: '200': description: Response content: application/json: - schema: *471 + schema: *483 examples: - default: &597 + default: &609 value: name: USERNAME value: octocat @@ -66122,9 +67147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *442 + - *443 + - *273 requestBody: required: true content: @@ -66166,9 +67191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *442 + - *443 + - *273 responses: '204': description: Response @@ -66193,8 +67218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -66212,7 +67237,7 @@ paths: type: integer workflows: type: array - items: &473 + items: &485 title: Workflow description: A GitHub Actions workflow type: object @@ -66330,9 +67355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *430 - - *431 - - &474 + - *442 + - *443 + - &486 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66347,7 +67372,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *485 examples: default: value: @@ -66380,9 +67405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '204': description: Response @@ -66407,9 +67432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '204': description: Response @@ -66460,9 +67485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '204': description: Response @@ -66489,19 +67514,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: - - *430 - - *431 - - *474 - - *475 - - *476 - - *477 - - *478 + - *442 + - *443 + - *486 + - *487 + - *488 + - *489 + - *490 - *17 - *19 - - *479 - - *458 - - *480 - - *481 + - *491 + - *470 + - *492 + - *493 responses: '200': description: Response @@ -66517,9 +67542,9 @@ paths: type: integer workflow_runs: type: array - items: *459 + items: *471 examples: - default: *482 + default: *494 headers: Link: *41 x-github: @@ -66552,9 +67577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *430 - - *431 - - *474 + - *442 + - *443 + - *486 responses: '200': description: Response @@ -66615,12 +67640,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *430 - - *431 - - *99 + - *442 + - *443 + - *104 - *17 - - *97 - - *98 + - *102 + - *103 - name: ref description: |- The Git reference for the activities you want to list. @@ -66784,8 +67809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -66797,7 +67822,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '404': *6 @@ -66822,8 +67847,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: - - *430 - - *431 + - *442 + - *443 - name: assignee in: path required: true @@ -66859,8 +67884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -66972,11 +67997,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *430 - - *431 + - *442 + - *443 - *17 - - *97 - - *98 + - *102 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -67029,7 +68054,7 @@ paths: initiator: type: string examples: - default: *483 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67049,8 +68074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -67058,7 +68083,7 @@ paths: application/json: schema: type: array - items: &484 + items: &496 title: Autolink reference description: An autolink reference. type: object @@ -67117,8 +68142,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -67157,9 +68182,9 @@ paths: description: response content: application/json: - schema: *484 + schema: *496 examples: - default: &485 + default: &497 value: id: 1 key_prefix: TICKET- @@ -67190,9 +68215,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: - - *430 - - *431 - - &486 + - *442 + - *443 + - &498 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67204,9 +68229,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *496 examples: - default: *485 + default: *497 '404': *6 x-github: githubCloudOnly: false @@ -67226,9 +68251,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: - - *430 - - *431 - - *486 + - *442 + - *443 + - *498 responses: '204': description: Response @@ -67252,8 +68277,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response if Dependabot is enabled @@ -67303,8 +68328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -67325,8 +68350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -67346,8 +68371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *430 - - *431 + - *442 + - *443 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67385,7 +68410,7 @@ paths: - url protected: type: boolean - protection: &488 + protection: &500 title: Branch Protection description: Branch Protection type: object @@ -67428,7 +68453,7 @@ paths: required: - contexts - checks - enforce_admins: &491 + enforce_admins: &503 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67445,7 +68470,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &493 + required_pull_request_reviews: &505 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67467,7 +68492,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *287 apps: description: The list of apps with review dismissal access. @@ -67499,7 +68524,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *287 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67529,7 +68554,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &490 + restrictions: &502 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67592,7 +68617,7 @@ paths: type: string teams: type: array - items: *273 + items: *287 apps: type: array items: @@ -67822,9 +68847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *430 - - *431 - - &489 + - *442 + - *443 + - &501 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). @@ -67838,14 +68863,14 @@ paths: description: Response content: application/json: - schema: &499 + schema: &511 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &557 title: Commit description: Commit type: object @@ -67884,7 +68909,7 @@ paths: author: anyOf: - type: 'null' - - &487 + - &499 title: Git User description: Metaproperties for Git author/committer information. @@ -67905,7 +68930,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *499 message: type: string examples: @@ -67929,7 +68954,7 @@ paths: required: - sha - url - verification: &603 + verification: &615 title: Verification type: object properties: @@ -67965,14 +68990,14 @@ paths: author: oneOf: - *4 - - *257 + - *271 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *271 type: - 'null' - object @@ -68009,7 +69034,7 @@ paths: type: integer files: type: array - items: &556 + items: &568 title: Diff Entry description: Diff Entry type: object @@ -68105,7 +69130,7 @@ paths: - self protected: type: boolean - protection: *488 + protection: *500 protection_url: type: string format: uri @@ -68214,7 +69239,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *456 '404': *6 x-github: githubCloudOnly: false @@ -68236,15 +69261,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *488 + schema: *500 examples: default: value: @@ -68438,9 +69463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -68700,7 +69725,7 @@ paths: url: type: string format: uri - required_status_checks: &496 + required_status_checks: &508 title: Status Check Policy description: Status Check Policy type: object @@ -68781,7 +69806,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *287 apps: type: array items: *5 @@ -68799,7 +69824,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *287 apps: type: array items: *5 @@ -68859,7 +69884,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *490 + restrictions: *502 required_conversation_resolution: type: object properties: @@ -68971,9 +69996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -68998,17 +70023,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: &492 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69030,17 +70055,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: *492 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69059,9 +70084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69086,17 +70111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *493 + schema: *505 examples: - default: &494 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69192,9 +70217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69292,9 +70317,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *505 examples: - default: *494 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -69315,9 +70340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69344,17 +70369,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: &495 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69377,17 +70402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *491 + schema: *503 examples: - default: *495 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -69407,9 +70432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69434,17 +70459,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *496 + schema: *508 examples: - default: &497 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69470,9 +70495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69524,9 +70549,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *508 examples: - default: *497 + default: *509 '404': *6 '422': *15 x-github: @@ -69548,9 +70573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69574,9 +70599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -69610,9 +70635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69679,9 +70704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -69745,9 +70770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: content: application/json: @@ -69813,15 +70838,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response content: application/json: - schema: *490 + schema: *502 examples: default: value: @@ -69912,9 +70937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '204': description: Response @@ -69937,9 +70962,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: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -69949,7 +70974,7 @@ paths: type: array items: *5 examples: - default: &498 + default: &510 value: - id: 1 slug: octoapp @@ -70006,9 +71031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70042,7 +71067,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -70063,9 +71088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70099,7 +71124,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -70120,9 +71145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70156,7 +71181,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -70178,9 +71203,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: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -70188,9 +71213,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -70210,9 +71235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -70248,9 +71273,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '422': *15 x-github: githubCloudOnly: false @@ -70271,9 +71296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: false content: @@ -70309,9 +71334,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '422': *15 x-github: githubCloudOnly: false @@ -70332,9 +71357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: content: application/json: @@ -70369,9 +71394,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 '422': *15 x-github: githubCloudOnly: false @@ -70393,9 +71418,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: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 responses: '200': description: Response @@ -70405,7 +71430,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '404': *6 x-github: githubCloudOnly: false @@ -70429,9 +71454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70464,7 +71489,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -70489,9 +71514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70524,7 +71549,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -70549,9 +71574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70584,7 +71609,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '422': *15 x-github: githubCloudOnly: false @@ -70611,9 +71636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 requestBody: required: true content: @@ -70635,7 +71660,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *511 examples: default: value: @@ -70749,12 +71774,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *95 + - *442 + - *443 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -70764,9 +71789,9 @@ paths: application/json: schema: type: array - items: *268 + items: *282 examples: - default: *269 + default: *283 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70786,8 +71811,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_request_number in: path required: true @@ -70801,7 +71826,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *282 examples: default: value: @@ -70860,12 +71885,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *95 + - *442 + - *443 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -70875,9 +71900,9 @@ paths: application/json: schema: type: array - items: *271 + items: *285 examples: - default: *272 + default: *286 '404': *6 '403': *27 '500': *38 @@ -70901,8 +71926,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_request_number in: path required: true @@ -70914,7 +71939,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *285 examples: default: value: @@ -70972,8 +71997,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_request_number in: path required: true @@ -71044,8 +72069,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *442 + - *443 - name: bypass_response_id in: path required: true @@ -71078,8 +72103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -71358,7 +72383,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &512 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71493,8 +72518,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *198 + deployment: &829 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71781,9 +72806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *430 - - *431 - - &501 + - *442 + - *443 + - &513 name: check_run_id description: The unique identifier of the check run. in: path @@ -71795,9 +72820,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *512 examples: - default: &502 + default: &514 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71897,9 +72922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *430 - - *431 - - *501 + - *442 + - *443 + - *513 requestBody: required: true content: @@ -72139,9 +73164,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *512 examples: - default: *502 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +73186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *430 - - *431 - - *501 + - *442 + - *443 + - *513 - *17 - *19 responses: @@ -72273,15 +73298,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *430 - - *431 - - *501 + - *442 + - *443 + - *513 responses: '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -72319,8 +73344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -72342,7 +73367,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &516 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72424,12 +73449,12 @@ paths: type: - array - 'null' - items: *187 + items: *198 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *260 created_at: type: - string @@ -72440,7 +73465,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *515 latest_check_runs_count: type: integer check_runs_url: @@ -72468,7 +73493,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &517 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72759,9 +73784,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *516 examples: - default: *505 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72780,8 +73805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -72842,7 +73867,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *260 examples: default: value: @@ -73090,9 +74115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *430 - - *431 - - &506 + - *442 + - *443 + - &518 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73104,9 +74129,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *516 examples: - default: *505 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,17 +74154,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: - - *430 - - *431 - - *506 - - &551 + - *442 + - *443 + - *518 + - &563 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &564 name: status description: Returns check runs with the specified `status`. in: query @@ -73178,9 +74203,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *512 examples: - default: &553 + default: &565 value: total_count: 1 check_runs: @@ -73282,15 +74307,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *430 - - *431 - - *506 + - *442 + - *443 + - *518 responses: '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -73317,30 +74342,30 @@ 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: - - *430 - - *431 - - *277 - - *278 + - *442 + - *443 + - *291 + - *292 - *19 - *17 - - &522 + - &534 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: *507 - - &523 + schema: *519 + - &535 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *99 - - *97 - - *98 + - *104 + - *102 + - *103 - name: sort description: The property by which to sort the results. in: query @@ -73356,13 +74381,13 @@ paths: be returned. in: query required: false - schema: *279 + schema: *293 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *508 + schema: *520 responses: '200': description: Response @@ -73373,24 +74398,24 @@ paths: items: type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 - state: *102 - fixed_at: *119 + number: *119 + created_at: *126 + updated_at: *127 + url: *124 + html_url: *125 + instances_url: *521 + state: *107 + fixed_at: *129 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 - rule: *512 - tool: *513 - most_recent_instance: *514 + dismissed_at: *128 + dismissed_reason: *522 + dismissed_comment: *523 + rule: *524 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: anyOf: - type: 'null' @@ -73513,14 +74538,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &527 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +74565,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: - - *430 - - *431 - - &516 + - *442 + - *443 + - &528 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73550,30 +74575,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *109 + schema: *119 responses: '200': description: Response content: application/json: - schema: &517 + schema: &529 type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 - state: *102 - fixed_at: *119 + number: *119 + created_at: *126 + updated_at: *127 + url: *124 + html_url: *125 + instances_url: *521 + state: *107 + fixed_at: *129 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_at: *128 + dismissed_reason: *522 + dismissed_comment: *523 rule: type: object properties: @@ -73635,8 +74660,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *525 + most_recent_instance: *526 dismissal_approved_by: anyOf: - type: 'null' @@ -73732,9 +74757,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73752,9 +74777,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 requestBody: required: true content: @@ -73769,8 +74794,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *522 + dismissed_comment: *523 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73789,7 +74814,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *529 examples: default: value: @@ -73865,14 +74890,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &533 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73892,15 +74917,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 responses: '200': description: Response content: application/json: - schema: &518 + schema: &530 type: object properties: status: @@ -73927,13 +74952,13 @@ paths: - description - started_at examples: - default: &519 + default: &531 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &532 description: Bad Request content: application/json: @@ -73944,9 +74969,9 @@ 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': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,29 +74994,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 responses: '200': description: OK content: application/json: - schema: *518 + schema: *530 examples: - default: *519 + default: *531 '202': description: Accepted content: application/json: - schema: *518 + schema: *530 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *532 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74001,7 +75026,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74023,9 +75048,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 requestBody: required: false content: @@ -74071,12 +75096,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *532 + '403': *533 '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74096,13 +75121,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 - *19 - *17 - - *522 - - *523 + - *534 + - *535 responses: '200': description: Response @@ -74110,7 +75135,7 @@ paths: application/json: schema: type: array - items: *514 + items: *526 examples: default: value: @@ -74149,9 +75174,9 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74183,30 +75208,30 @@ 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: - - *430 - - *431 - - *277 - - *278 + - *442 + - *443 + - *291 + - *292 - *19 - *17 - - *523 + - *535 - 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: *507 + schema: *519 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &538 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *99 + - *104 - name: sort description: The property by which to sort the results. in: query @@ -74223,23 +75248,23 @@ paths: application/json: schema: type: array - items: &527 + items: &539 type: object properties: - ref: *507 - commit_sha: &535 + ref: *519 + commit_sha: &547 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: *524 + analysis_key: *536 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *537 error: type: string examples: @@ -74264,8 +75289,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *538 + tool: *525 deletable: type: boolean warning: @@ -74327,9 +75352,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74363,8 +75388,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: - - *430 - - *431 + - *442 + - *443 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74377,7 +75402,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *539 examples: response: summary: application/json response @@ -74431,14 +75456,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *527 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74518,8 +75543,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: - - *430 - - *431 + - *442 + - *443 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74575,9 +75600,9 @@ 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': *521 + '403': *533 '404': *6 - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74597,8 +75622,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -74606,7 +75631,7 @@ paths: application/json: schema: type: array - items: &528 + items: &540 title: CodeQL Database description: A CodeQL database. type: object @@ -74718,9 +75743,9 @@ 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': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74747,8 +75772,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: - - *430 - - *431 + - *442 + - *443 - name: language in: path description: The language of the CodeQL database. @@ -74760,7 +75785,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *540 examples: default: value: @@ -74792,11 +75817,11 @@ 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': &558 + '302': &570 description: Found - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74816,8 +75841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *430 - - *431 + - *442 + - *443 - name: language in: path description: The language of the CodeQL database. @@ -74827,9 +75852,9 @@ paths: responses: '204': description: Response - '403': *521 + '403': *533 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +75880,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -74865,7 +75890,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &541 type: string description: The language targeted by the CodeQL query enum: @@ -74944,7 +75969,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &545 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74952,9 +75977,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *108 + controller_repo: *113 actor: *4 - query_language: *529 + query_language: *541 query_pack_url: type: string description: The download url for the query pack. @@ -75002,7 +76027,7 @@ paths: items: type: object properties: - repository: &530 + repository: &542 title: Repository Identifier description: Repository Identifier type: object @@ -75044,7 +76069,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &546 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75076,7 +76101,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &531 + access_mismatch_repos: &543 type: object properties: repository_count: @@ -75091,7 +76116,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: *530 + items: *542 required: - repository_count - repositories @@ -75114,8 +76139,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *543 + over_limit_repos: *543 required: - access_mismatch_repos - not_found_repos @@ -75131,7 +76156,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &544 summary: Default response value: id: 1 @@ -75283,17 +76308,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *544 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *544 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75314,8 +76339,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: - - *430 - - *431 + - *442 + - *443 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75327,11 +76352,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *545 examples: - default: *532 + default: *544 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,7 +76377,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: - - *430 + - *442 - name: repo in: path description: The name of the controller repository. @@ -75386,8 +76411,8 @@ paths: schema: type: object properties: - repository: *108 - analysis_status: *534 + repository: *113 + analysis_status: *546 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75491,7 +76516,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75512,8 +76537,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -75606,9 +76631,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *527 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75627,8 +76652,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -75697,7 +76722,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -75722,7 +76747,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *533 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75736,7 +76761,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,8 +76818,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -75802,7 +76827,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *547 ref: type: string description: |- @@ -75862,7 +76887,7 @@ paths: schema: type: object properties: - id: *526 + id: *538 url: type: string description: The REST API URL for checking the status of the upload. @@ -75876,11 +76901,11 @@ 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': *521 + '403': *533 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75899,8 +76924,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: - - *430 - - *431 + - *442 + - *443 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75948,10 +76973,10 @@ 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': *515 + '403': *527 '404': description: Not Found if the sarif id does not match any upload - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75973,8 +76998,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -75998,7 +77023,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *103 + configuration: *108 examples: default: value: @@ -76030,7 +77055,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': *129 + '204': *139 '304': *35 '403': *27 '404': *6 @@ -76055,8 +77080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *430 - - *431 + - *442 + - *443 - 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 @@ -76184,8 +77209,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -76201,7 +77226,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *348 examples: default: value: @@ -76499,8 +77524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -76564,22 +77589,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76603,8 +77628,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -76668,8 +77693,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: - - *430 - - *431 + - *442 + - *443 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76706,9 +77731,9 @@ paths: type: integer machines: type: array - items: *537 + items: *549 examples: - default: &771 + default: &783 value: total_count: 2 machines: @@ -76748,8 +77773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *430 - - *431 + - *442 + - *443 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76836,8 +77861,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: - - *430 - - *431 + - *442 + - *443 - 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 @@ -76885,7 +77910,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76906,8 +77931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -76925,7 +77950,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &553 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76946,7 +77971,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *550 headers: Link: *41 x-github: @@ -76969,16 +77994,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *539 + schema: *551 examples: - default: *540 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76998,17 +78023,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '200': description: Response content: application/json: - schema: *541 + schema: *553 examples: - default: *542 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +78053,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: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 requestBody: required: true content: @@ -77058,7 +78083,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -77082,9 +78107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '204': description: Response @@ -77112,8 +78137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *430 - - *431 + - *442 + - *443 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77151,7 +78176,7 @@ paths: application/json: schema: type: array - items: &543 + items: &555 title: Collaborator description: Collaborator type: object @@ -77344,9 +78369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 responses: '204': description: Response if user is a collaborator @@ -77392,9 +78417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 requestBody: required: false content: @@ -77420,7 +78445,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &616 + schema: &628 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77432,7 +78457,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *260 invitee: anyOf: - type: 'null' @@ -77608,7 +78633,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *223 + schema: *235 '403': *27 x-github: triggersNotification: true @@ -77648,9 +78673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77681,9 +78706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *430 - - *431 - - *178 + - *442 + - *443 + - *188 responses: '200': description: if user has admin permissions @@ -77703,7 +78728,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *555 required: - permission - role_name @@ -77757,8 +78782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -77768,7 +78793,7 @@ paths: application/json: schema: type: array - items: &544 + items: &556 title: Commit Comment description: Commit Comment type: object @@ -77809,8 +78834,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *195 + reactions: *196 required: - url - html_url @@ -77826,7 +78851,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &559 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77885,17 +78910,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '200': description: Response content: application/json: - schema: *544 + schema: *556 examples: - default: &548 + default: &560 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77952,9 +78977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -77976,7 +79001,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *556 examples: default: value: @@ -78027,9 +79052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '204': description: Response @@ -78050,9 +79075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 - 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. @@ -78078,9 +79103,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -78101,9 +79126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -78135,16 +79160,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -78166,10 +79191,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *442 + - *443 + - *209 + - *434 responses: '204': description: Response @@ -78218,8 +79243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *430 - - *431 + - *442 + - *443 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78275,9 +79300,9 @@ paths: application/json: schema: type: array - items: *545 + items: *557 examples: - default: &662 + default: &674 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78351,7 +79376,7 @@ paths: '500': *38 '400': *14 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78371,9 +79396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *430 - - *431 - - &546 + - *442 + - *443 + - &558 name: commit_sha description: The SHA of the commit. in: path @@ -78420,7 +79445,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78445,9 +79470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 - *17 - *19 responses: @@ -78457,9 +79482,9 @@ paths: application/json: schema: type: array - items: *544 + items: *556 examples: - default: *547 + default: *559 headers: Link: *41 x-github: @@ -78487,9 +79512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 requestBody: required: true content: @@ -78524,9 +79549,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *556 examples: - default: *548 + default: *560 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78554,9 +79579,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: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 - *17 - *19 responses: @@ -78566,9 +79591,9 @@ paths: application/json: schema: type: array - items: *549 + items: *561 examples: - default: &654 + default: &666 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79048,7 +80073,7 @@ paths: draft: false headers: Link: *41 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79105,11 +80130,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *430 - - *431 + - *442 + - *443 - *19 - *17 - - &550 + - &562 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)" @@ -79124,9 +80149,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *557 examples: - default: &642 + default: &654 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79213,8 +80238,8 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *163 - '409': *107 + '503': *173 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79239,11 +80264,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: - - *430 - - *431 - - *550 - - *551 - - *552 + - *442 + - *443 + - *562 + - *563 + - *564 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79277,9 +80302,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *512 examples: - default: *553 + default: *565 headers: Link: *41 x-github: @@ -79304,9 +80329,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: - - *430 - - *431 - - *550 + - *442 + - *443 + - *562 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79314,7 +80339,7 @@ paths: schema: type: integer example: 1 - - *551 + - *563 - *17 - *19 responses: @@ -79332,7 +80357,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *516 examples: default: value: @@ -79532,9 +80557,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: - - *430 - - *431 - - *550 + - *442 + - *443 + - *562 - *17 - *19 responses: @@ -79605,7 +80630,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *260 commit_url: type: string format: uri @@ -79736,9 +80761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *430 - - *431 - - *550 + - *442 + - *443 + - *562 - *17 - *19 responses: @@ -79748,7 +80773,7 @@ paths: application/json: schema: type: array - items: &716 + items: &728 title: Status description: The status of a commit. type: object @@ -79829,7 +80854,7 @@ paths: site_admin: false headers: Link: *41 - '301': *444 + '301': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79857,8 +80882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -79891,11 +80916,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *566 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &567 title: Community Health File type: object properties: @@ -79911,23 +80936,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 contributing: anyOf: - type: 'null' - - *555 + - *567 readme: anyOf: - type: 'null' - - *555 + - *567 issue_template: anyOf: - type: 'null' - - *555 + - *567 pull_request_template: anyOf: - type: 'null' - - *555 + - *567 required: - code_of_conduct - code_of_conduct_file @@ -80056,8 +81081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *430 - - *431 + - *442 + - *443 - *19 - *17 - name: basehead @@ -80105,8 +81130,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *557 + merge_base_commit: *557 status: type: string enum: @@ -80130,10 +81155,10 @@ paths: - 6 commits: type: array - items: *545 + items: *557 files: type: array - items: *556 + items: *568 required: - url - html_url @@ -80377,7 +81402,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80419,8 +81444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *430 - - *431 + - *442 + - *443 - name: path description: path parameter in: path @@ -80573,7 +81598,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &569 summary: Response if content is a file value: type: file @@ -80710,7 +81735,7 @@ paths: - size - type - url - - &667 + - &679 title: Content File description: Content File type: object @@ -80928,7 +81953,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *569 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80997,7 +82022,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *570 '304': *35 x-github: githubCloudOnly: false @@ -81020,8 +82045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *430 - - *431 + - *442 + - *443 - name: path description: path parameter in: path @@ -81116,7 +82141,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &571 title: File Commit description: File Commit type: object @@ -81272,7 +82297,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *571 examples: example-for-creating-a-file: value: @@ -81326,7 +82351,7 @@ paths: schema: oneOf: - *3 - - &598 + - &610 description: Repository rule violation was detected type: object properties: @@ -81347,7 +82372,7 @@ paths: items: type: object properties: - placeholder_id: &708 + placeholder_id: &720 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81379,8 +82404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *430 - - *431 + - *442 + - *443 - name: path description: path parameter in: path @@ -81441,7 +82466,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *571 examples: default: value: @@ -81475,8 +82500,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *107 - '503': *163 + '409': *112 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81496,8 +82521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *430 - - *431 + - *442 + - *443 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81621,31 +82646,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *430 - - *431 - - *294 - - *295 - - *296 - - *297 + - *442 + - *443 + - *308 + - *309 + - *310 + - *311 - 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 - - *298 - - *560 - - *299 - - *300 - - *99 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 + - *312 + - *572 + - *313 + - *314 + - *104 - 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)." @@ -81654,10 +82671,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 - - *301 - - *302 + - *102 + - *103 responses: '200': description: Response @@ -81665,11 +82680,11 @@ paths: application/json: schema: type: array - items: &563 + items: &575 type: object description: A Dependabot alert. properties: - number: *109 + number: *119 state: type: string description: The state of the Dependabot alert. @@ -81684,7 +82699,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *110 + package: *120 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81715,13 +82730,13 @@ paths: - direct - transitive - - security_advisory: *561 - security_vulnerability: *113 - url: *114 - html_url: *115 - created_at: *116 - updated_at: *117 - dismissed_at: *118 + security_advisory: *573 + security_vulnerability: *123 + url: *124 + html_url: *125 + created_at: *126 + updated_at: *127 + dismissed_at: *128 dismissed_by: anyOf: - type: 'null' @@ -81745,8 +82760,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: *562 + fixed_at: *129 + auto_dismissed_at: *574 required: - number - state @@ -81976,9 +82991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *430 - - *431 - - &564 + - *442 + - *443 + - &576 name: alert_number in: path description: |- @@ -81987,13 +83002,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *109 + schema: *119 responses: '200': description: Response content: application/json: - schema: *563 + schema: *575 examples: default: value: @@ -82106,9 +83121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *430 - - *431 - - *564 + - *442 + - *443 + - *576 requestBody: required: true content: @@ -82153,7 +83168,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *575 examples: default: value: @@ -82259,7 +83274,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *7 x-github: githubCloudOnly: false @@ -82282,8 +83297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -82301,7 +83316,7 @@ paths: type: integer secrets: type: array - items: &567 + items: &579 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82355,16 +83370,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *565 + schema: *577 examples: - default: *566 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82384,15 +83399,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '200': description: Response content: application/json: - schema: *567 + schema: *579 examples: default: value: @@ -82418,9 +83433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 requestBody: required: true content: @@ -82448,7 +83463,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -82472,9 +83487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *442 + - *443 + - *270 responses: '204': description: Response @@ -82496,8 +83511,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: - - *430 - - *431 + - *442 + - *443 - 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 @@ -82671,8 +83686,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -82932,8 +83947,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -83016,7 +84031,7 @@ paths: - version - url additionalProperties: false - metadata: &568 + metadata: &580 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83055,7 +84070,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *568 + metadata: *580 resolved: type: object description: A collection of resolved package dependencies. @@ -83069,7 +84084,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *568 + metadata: *580 relationship: type: string description: A notation of whether a dependency is requested @@ -83202,8 +84217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *430 - - *431 + - *442 + - *443 - name: sha description: The SHA recorded at creation time. in: query @@ -83244,9 +84259,9 @@ paths: application/json: schema: type: array - items: *569 + items: *581 examples: - default: *570 + default: *582 headers: Link: *41 x-github: @@ -83312,8 +84327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -83395,7 +84410,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *581 examples: simple-example: summary: Simple example @@ -83468,9 +84483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *430 - - *431 - - &571 + - *442 + - *443 + - &583 name: deployment_id description: deployment_id parameter in: path @@ -83482,7 +84497,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *581 examples: default: value: @@ -83547,9 +84562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 responses: '204': description: Response @@ -83571,9 +84586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 - *17 - *19 responses: @@ -83583,7 +84598,7 @@ paths: application/json: schema: type: array - items: &572 + items: &584 title: Deployment Status description: The status of a deployment. type: object @@ -83747,9 +84762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 requestBody: required: true content: @@ -83824,9 +84839,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *584 examples: - default: &573 + default: &585 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83882,9 +84897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *430 - - *431 - - *571 + - *442 + - *443 + - *583 - name: status_id in: path required: true @@ -83895,9 +84910,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *584 examples: - default: *573 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -83924,12 +84939,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *574 - - *575 - - *576 - - *577 + - *442 + - *443 + - *586 + - *587 + - *588 + - *589 - *17 - *19 responses: @@ -83939,9 +84954,9 @@ paths: application/json: schema: type: array - items: *578 + items: *590 examples: - default: *579 + default: *591 '404': *6 '403': *27 '500': *38 @@ -83965,8 +84980,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -83978,7 +84993,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *578 + schema: *590 examples: default: value: @@ -84034,8 +85049,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -84094,12 +85109,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *580 + - *442 + - *443 + - *97 + - *98 + - *99 + - *592 - *17 - *19 responses: @@ -84109,9 +85124,9 @@ paths: application/json: schema: type: array - items: *581 + items: *593 examples: - default: *582 + default: *594 '404': *6 '403': *27 '500': *38 @@ -84136,8 +85151,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -84149,7 +85164,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *581 + schema: *593 examples: default: value: @@ -84207,8 +85222,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: alert_number in: path required: true @@ -84277,8 +85292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -84335,8 +85350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -84354,7 +85369,7 @@ paths: - 5 environments: type: array - items: &584 + items: &596 title: Environment description: Details of a deployment environment type: object @@ -84416,7 +85431,7 @@ paths: type: string examples: - wait_timer - wait_timer: &586 + wait_timer: &598 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84458,11 +85473,11 @@ paths: items: type: object properties: - type: *583 + type: *595 reviewer: anyOf: - *4 - - *273 + - *287 required: - id - node_id @@ -84485,7 +85500,7 @@ paths: - id - node_id - type - deployment_branch_policy: &587 + deployment_branch_policy: &599 type: - object - 'null' @@ -84602,9 +85617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *430 - - *431 - - &585 + - *442 + - *443 + - &597 name: environment_name in: path required: true @@ -84617,9 +85632,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *596 examples: - default: &588 + default: &600 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84703,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 requestBody: required: false content: @@ -84715,7 +85730,7 @@ paths: - object - 'null' properties: - wait_timer: *586 + wait_timer: *598 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84734,14 +85749,14 @@ paths: items: type: object properties: - type: *583 + type: *595 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *587 + deployment_branch_policy: *599 additionalProperties: false examples: default: @@ -84761,9 +85776,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *596 examples: - default: *588 + default: *600 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84787,9 +85802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 responses: '204': description: Default response @@ -84814,9 +85829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 - *17 - *19 responses: @@ -84835,7 +85850,7 @@ paths: - 2 branch_policies: type: array - items: &589 + items: &601 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84896,9 +85911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 requestBody: required: true content: @@ -84946,9 +85961,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *601 examples: - example-wildcard: &590 + example-wildcard: &602 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84990,10 +86005,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - &591 + - *442 + - *443 + - *597 + - &603 name: branch_policy_id in: path required: true @@ -85005,9 +86020,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *601 examples: - default: *590 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85026,10 +86041,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - *591 + - *442 + - *443 + - *597 + - *603 requestBody: required: true content: @@ -85058,9 +86073,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *601 examples: - default: *590 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85079,10 +86094,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - *591 + - *442 + - *443 + - *597 + - *603 responses: '204': description: Response @@ -85107,9 +86122,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: - - *585 - - *431 - - *430 + - *597 + - *443 + - *442 responses: '200': description: List of deployment protection rules @@ -85126,7 +86141,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &592 + items: &604 title: Deployment protection rule description: Deployment protection rule type: object @@ -85148,7 +86163,7 @@ paths: for the environment. examples: - true - app: &593 + app: &605 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85251,9 +86266,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: - - *585 - - *431 - - *430 + - *597 + - *443 + - *442 requestBody: content: application/json: @@ -85274,9 +86289,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *592 + schema: *604 examples: - default: &594 + default: &606 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85311,9 +86326,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: - - *585 - - *431 - - *430 + - *597 + - *443 + - *442 - *19 - *17 responses: @@ -85333,7 +86348,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *593 + items: *605 examples: default: value: @@ -85368,10 +86383,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: - - *430 - - *431 - - *585 - - &595 + - *442 + - *443 + - *597 + - &607 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85383,9 +86398,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *604 examples: - default: *594 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85406,10 +86421,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: - - *585 - - *431 - - *430 - - *595 + - *597 + - *443 + - *442 + - *607 responses: '204': description: Response @@ -85435,9 +86450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 - *17 - *19 responses: @@ -85455,9 +86470,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *479 examples: - default: *468 + default: *480 headers: Link: *41 x-github: @@ -85482,17 +86497,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 responses: '200': description: Response content: application/json: - schema: *469 + schema: *481 examples: - default: *470 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85514,18 +86529,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *442 + - *443 + - *597 + - *270 responses: '200': description: Response content: application/json: - schema: *467 + schema: *479 examples: - default: *596 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85547,10 +86562,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *442 + - *443 + - *597 + - *270 requestBody: required: true content: @@ -85581,7 +86596,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -85607,10 +86622,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *442 + - *443 + - *597 + - *270 responses: '204': description: Default response @@ -85635,10 +86650,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *430 - - *431 - - *585 - - *454 + - *442 + - *443 + - *597 + - *466 - *19 responses: '200': @@ -85655,9 +86670,9 @@ paths: type: integer variables: type: array - items: *471 + items: *483 examples: - default: *472 + default: *484 headers: Link: *41 x-github: @@ -85680,9 +86695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *430 - - *431 - - *585 + - *442 + - *443 + - *597 requestBody: required: true content: @@ -85709,7 +86724,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -85734,18 +86749,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *430 - - *431 - - *585 - - *259 + - *442 + - *443 + - *597 + - *273 responses: '200': description: Response content: application/json: - schema: *471 + schema: *483 examples: - default: *597 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85766,10 +86781,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *430 - - *431 - - *259 - - *585 + - *442 + - *443 + - *273 + - *597 requestBody: required: true content: @@ -85811,10 +86826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *430 - - *431 - - *259 - - *585 + - *442 + - *443 + - *273 + - *597 responses: '204': description: Response @@ -85836,8 +86851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -85847,7 +86862,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: 200-response: value: @@ -85905,8 +86920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *430 - - *431 + - *442 + - *443 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85928,7 +86943,7 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: default: value: @@ -86065,8 +87080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -86099,9 +87114,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 '400': *14 '422': *15 '403': *27 @@ -86122,8 +87137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -86174,7 +87189,7 @@ paths: schema: type: string '404': *6 - '409': *107 + '409': *112 '403': *27 '422': description: Validation failed @@ -86182,8 +87197,8 @@ paths: application/json: schema: oneOf: - - *223 - - *598 + - *235 + - *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86208,8 +87223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *430 - - *431 + - *442 + - *443 - name: file_sha in: path required: true @@ -86261,7 +87276,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86309,8 +87324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -86419,7 +87434,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &611 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86596,7 +87611,7 @@ paths: type: string '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86646,15 +87661,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *430 - - *431 - - *546 + - *442 + - *443 + - *558 responses: '200': description: Response content: application/json: - schema: *599 + schema: *611 examples: default: value: @@ -86685,7 +87700,7 @@ paths: payload: verified_at: '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86710,9 +87725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *430 - - *431 - - &600 + - *442 + - *443 + - &612 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. @@ -86729,7 +87744,7 @@ paths: application/json: schema: type: array - items: &601 + items: &613 title: Git Reference description: Git references within a repository type: object @@ -86784,7 +87799,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *41 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86805,17 +87820,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *430 - - *431 - - *600 + - *442 + - *443 + - *612 responses: '200': description: Response content: application/json: - schema: *601 + schema: *613 examples: - default: &602 + default: &614 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86825,7 +87840,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86844,8 +87859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -86874,16 +87889,16 @@ paths: description: Response content: application/json: - schema: *601 + schema: *613 examples: - default: *602 + default: *614 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86902,9 +87917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *430 - - *431 - - *600 + - *442 + - *443 + - *612 requestBody: required: true content: @@ -86933,11 +87948,11 @@ paths: description: Response content: application/json: - schema: *601 + schema: *613 examples: - default: *602 + default: *614 '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86953,16 +87968,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *430 - - *431 - - *600 + - *442 + - *443 + - *612 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87010,8 +88025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -87078,7 +88093,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &616 title: Git Tag description: Metadata for a Git tag type: object @@ -87134,7 +88149,7 @@ paths: - sha - type - url - verification: *603 + verification: *615 required: - sha - url @@ -87144,7 +88159,7 @@ paths: - tag - message examples: - default: &605 + default: &617 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87171,7 +88186,7 @@ paths: schema: type: string '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87217,8 +88232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *430 - - *431 + - *442 + - *443 - name: tag_sha in: path required: true @@ -87229,11 +88244,11 @@ paths: description: Response content: application/json: - schema: *604 + schema: *616 examples: - default: *605 + default: *617 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87255,8 +88270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -87330,7 +88345,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &618 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87409,7 +88424,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87432,8 +88447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *430 - - *431 + - *442 + - *443 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87456,7 +88471,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *618 examples: default-response: summary: Default response @@ -87497,7 +88512,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87515,8 +88530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -87526,7 +88541,7 @@ paths: application/json: schema: type: array - items: &607 + items: &619 title: Webhook description: Webhooks for repositories. type: object @@ -87589,7 +88604,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &860 title: Hook Response type: object properties: @@ -87666,8 +88681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -87720,9 +88735,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *619 examples: - default: &608 + default: &620 value: type: Repository id: 12345678 @@ -87770,17 +88785,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '200': description: Response content: application/json: - schema: *607 + schema: *619 examples: - default: *608 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -87800,9 +88815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 requestBody: required: true content: @@ -87847,9 +88862,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *619 examples: - default: *608 + default: *620 '422': *15 '404': *6 x-github: @@ -87870,9 +88885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '204': description: Response @@ -87896,9 +88911,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '200': description: Response @@ -87925,9 +88940,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 requestBody: required: false content: @@ -87971,11 +88986,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 - *17 - - *309 + - *321 responses: '200': description: Response @@ -87983,9 +88998,9 @@ paths: application/json: schema: type: array - items: *310 + items: *322 examples: - default: *311 + default: *323 '400': *14 '422': *15 x-github: @@ -88004,18 +89019,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *324 examples: - default: *313 + default: *325 '400': *14 '422': *15 x-github: @@ -88034,9 +89049,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: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 - *16 responses: '202': *37 @@ -88059,9 +89074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '204': description: Response @@ -88086,9 +89101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *430 - - *431 - - *308 + - *442 + - *443 + - *320 responses: '204': description: Response @@ -88111,8 +89126,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response if immutable releases are enabled @@ -88160,11 +89175,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 - '409': *107 + '204': *139 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88181,11 +89196,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 - '409': *107 + '204': *139 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88239,14 +89254,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: &609 + schema: &621 title: Import description: A repository import from an external source. type: object @@ -88353,7 +89368,7 @@ paths: - html_url - authors_url examples: - default: &612 + default: &624 value: vcs: subversion use_lfs: true @@ -88369,7 +89384,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': &610 + '503': &622 description: Unavailable due to service under maintenance. content: application/json: @@ -88398,8 +89413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -88447,7 +89462,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *621 examples: default: value: @@ -88472,7 +89487,7 @@ paths: type: string '422': *15 '404': *6 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88500,8 +89515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -88553,7 +89568,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *621 examples: example-1: summary: Example 1 @@ -88601,7 +89616,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': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88624,12 +89639,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,9 +89670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *430 - - *431 - - &793 + - *442 + - *443 + - &804 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88671,7 +89686,7 @@ paths: application/json: schema: type: array - items: &611 + items: &623 title: Porter Author description: Porter Author type: object @@ -88725,7 +89740,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': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88750,8 +89765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *430 - - *431 + - *442 + - *443 - name: author_id in: path required: true @@ -88781,7 +89796,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *623 examples: default: value: @@ -88794,7 +89809,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88818,8 +89833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -88860,7 +89875,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88888,8 +89903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -88916,11 +89931,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *621 examples: - default: *612 + default: *624 '422': *15 - '503': *610 + '503': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88943,8 +89958,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -88952,8 +89967,8 @@ paths: application/json: schema: *20 examples: - default: *613 - '301': *444 + default: *625 + '301': *456 '404': *6 x-github: githubCloudOnly: false @@ -88973,8 +89988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -88982,12 +89997,12 @@ paths: application/json: schema: anyOf: - - *326 + - *338 - type: object properties: {} additionalProperties: false examples: - default: &615 + default: &627 value: limit: collaborators_only origin: repository @@ -89012,13 +90027,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: application/json: - schema: *614 + schema: *626 examples: default: summary: Example request body @@ -89030,9 +90045,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *338 examples: - default: *615 + default: *627 '409': description: Response x-github: @@ -89054,8 +90069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -89078,8 +90093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -89089,9 +90104,9 @@ paths: application/json: schema: type: array - items: *616 + items: *628 examples: - default: &786 + default: &797 value: - id: 1 repository: @@ -89222,9 +90237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *430 - - *431 - - *330 + - *442 + - *443 + - *342 requestBody: required: false content: @@ -89253,7 +90268,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *628 examples: default: value: @@ -89384,9 +90399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *430 - - *431 - - *330 + - *442 + - *443 + - *342 responses: '204': description: Response @@ -89417,8 +90432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *430 - - *431 + - *442 + - *443 - 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 @@ -89466,7 +90481,7 @@ paths: required: false schema: type: string - - *334 + - *346 - name: sort description: What to sort results by. in: query @@ -89478,8 +90493,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - *17 - *19 responses: @@ -89489,9 +90504,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: &623 + default: &635 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89639,7 +90654,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *444 + '301': *456 '422': *15 '404': *6 x-github: @@ -89668,8 +90683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -89759,9 +90774,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: &620 + default: &632 value: id: 1 node_id: MDU6SXNzdWUx @@ -89915,9 +90930,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *163 + '503': *173 '404': *6 - '410': *441 + '410': *453 x-github: triggersNotification: true githubCloudOnly: false @@ -89945,9 +90960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *430 - - *431 - - *206 + - *442 + - *443 + - *217 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +90972,7 @@ paths: enum: - asc - desc - - *189 + - *200 - *17 - *19 responses: @@ -89967,9 +90982,9 @@ paths: application/json: schema: type: array - items: *617 + items: *629 examples: - default: &622 + default: &634 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90027,17 +91042,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '200': description: Response content: application/json: - schema: *617 + schema: *629 examples: - default: &618 + default: &630 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90091,9 +91106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -90115,9 +91130,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *629 examples: - default: *618 + default: *630 '422': *15 x-github: githubCloudOnly: false @@ -90135,9 +91150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '204': description: Response @@ -90157,9 +91172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 - 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. @@ -90185,9 +91200,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -90208,9 +91223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -90242,16 +91257,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -90273,10 +91288,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *442 + - *443 + - *209 + - *434 responses: '204': description: Response @@ -90296,8 +91311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -90307,7 +91322,7 @@ paths: application/json: schema: type: array - items: &619 + items: &631 title: Issue Event description: Issue Event type: object @@ -90354,7 +91369,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *194 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +91402,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *287 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +91469,7 @@ paths: required: - from - to - author_association: *184 + author_association: *195 lock_reason: type: - string @@ -90646,8 +91661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *430 - - *431 + - *442 + - *443 - name: event_id in: path required: true @@ -90658,7 +91673,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *631 examples: default: value: @@ -90851,7 +91866,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *441 + '410': *453 '403': *27 x-github: githubCloudOnly: false @@ -90885,9 +91900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *430 - - *431 - - &621 + - *442 + - *443 + - &633 name: issue_number description: The number that identifies the issue. in: path @@ -90899,12 +91914,12 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 - '301': *444 + default: *632 + '301': *456 '404': *6 - '410': *441 + '410': *453 '304': *35 x-github: githubCloudOnly: false @@ -90929,9 +91944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -91050,15 +92065,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 '422': *15 - '503': *163 + '503': *173 '403': *27 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91076,9 +92091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -91104,9 +92119,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91122,9 +92137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: content: application/json: @@ -91149,9 +92164,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +92188,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - name: assignee in: path required: true @@ -91215,10 +92230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *430 - - *431 - - *621 - - *189 + - *442 + - *443 + - *633 + - *200 - *17 - *19 responses: @@ -91228,13 +92243,13 @@ paths: application/json: schema: type: array - items: *617 + items: *629 examples: - default: *622 + default: *634 headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,9 +92278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -91287,16 +92302,16 @@ paths: description: Response content: application/json: - schema: *617 + schema: *629 examples: - default: *618 + default: *630 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *441 + '410': *453 '422': *15 '404': *6 x-github: @@ -91324,9 +92339,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -91336,14 +92351,14 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *623 + default: *635 headers: Link: *41 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91371,9 +92386,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -91395,17 +92410,17 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *456 '403': *27 - '410': *441 + '410': *453 '422': *15 '404': *6 x-github: @@ -91436,9 +92451,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91450,15 +92465,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 - '301': *444 + default: *632 + '301': *456 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *453 x-github: triggersNotification: true githubCloudOnly: false @@ -91484,9 +92499,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: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -91496,14 +92511,14 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *623 + default: *635 headers: Link: *41 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91520,9 +92535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -91536,7 +92551,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &625 + - &637 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91585,7 +92600,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &638 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91713,7 +92728,7 @@ paths: - performed_via_github_app - assignee - assigner - - &627 + - &639 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91759,7 +92774,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &640 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91805,7 +92820,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &641 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91854,7 +92869,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &642 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91883,7 +92898,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *287 requested_reviewer: *4 required: - review_requester @@ -91896,7 +92911,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &643 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91925,7 +92940,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *287 requested_reviewer: *4 required: - review_requester @@ -91938,7 +92953,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &644 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91994,7 +93009,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &645 title: Locked Issue Event description: Locked Issue Event type: object @@ -92039,7 +93054,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &634 + - &646 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92100,7 +93115,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &635 + - &647 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92161,7 +93176,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &636 + - &648 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92222,7 +93237,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &637 + - &649 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92315,7 +93330,7 @@ paths: color: red headers: Link: *41 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +93347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -92344,9 +93359,9 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: &624 + default: &636 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92364,9 +93379,9 @@ paths: default: false headers: Link: *41 - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92383,9 +93398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -92444,12 +93459,12 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 - '301': *444 + default: *636 + '301': *456 '404': *6 - '410': *441 + '410': *453 '422': *15 x-github: githubCloudOnly: false @@ -92466,9 +93481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -92528,12 +93543,12 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 - '301': *444 + default: *636 + '301': *456 '404': *6 - '410': *441 + '410': *453 '422': *15 x-github: githubCloudOnly: false @@ -92550,15 +93565,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 responses: '204': description: Response - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92577,9 +93592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - name: name in: path required: true @@ -92592,7 +93607,7 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: default: value: @@ -92603,9 +93618,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,9 +93640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: false content: @@ -92656,7 +93671,7 @@ paths: '204': description: Response '403': *27 - '410': *441 + '410': *453 '404': *6 '422': *15 x-github: @@ -92674,9 +93689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 responses: '204': description: Response @@ -92706,20 +93721,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 responses: '200': description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 - '301': *444 + default: *632 + '301': *456 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92736,9 +93751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - 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. @@ -92764,13 +93779,13 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92788,9 +93803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -92822,16 +93837,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -92853,10 +93868,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *430 - - *431 - - *621 - - *422 + - *442 + - *443 + - *633 + - *434 responses: '204': description: Response @@ -92885,9 +93900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -92909,9 +93924,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92944,9 +93959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -92956,13 +93971,13 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *623 + default: *635 headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92990,9 +94005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -93019,16 +94034,16 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *441 + '410': *453 '422': *15 '404': *6 x-github: @@ -93048,9 +94063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 requestBody: required: true content: @@ -93081,13 +94096,13 @@ paths: description: Response content: application/json: - schema: *183 + schema: *194 examples: - default: *620 + default: *632 '403': *27 '404': *6 '422': *7 - '503': *163 + '503': *173 x-github: triggersNotification: true githubCloudOnly: false @@ -93105,9 +94120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *430 - - *431 - - *621 + - *442 + - *443 + - *633 - *17 - *19 responses: @@ -93122,19 +94137,19 @@ paths: description: Timeline Event type: object anyOf: - - *625 - - *626 - - *627 - - *628 - - *629 - - *630 - - *631 - - *632 - - *633 - - *634 - - *635 - - *636 - *637 + - *638 + - *639 + - *640 + - *641 + - *642 + - *643 + - *644 + - *645 + - *646 + - *647 + - *648 + - *649 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93182,12 +94197,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *195 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *196 required: - event - actor @@ -93218,7 +94233,7 @@ paths: properties: type: type: string - issue: *183 + issue: *194 required: - event - created_at @@ -93440,7 +94455,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *195 required: - event - id @@ -93463,7 +94478,7 @@ paths: type: string comments: type: array - items: &656 + items: &668 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93568,7 +94583,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *195 _links: type: object properties: @@ -93663,7 +94678,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *196 body_html: type: string examples: @@ -93701,7 +94716,7 @@ paths: type: string comments: type: array - items: *544 + items: *556 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93976,7 +94991,7 @@ paths: headers: Link: *41 '404': *6 - '410': *441 + '410': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93993,8 +95008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -94004,7 +95019,7 @@ paths: application/json: schema: type: array - items: &638 + items: &650 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94072,8 +95087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94109,9 +95124,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: &639 + default: &651 value: id: 1 key: ssh-rsa AAA... @@ -94145,9 +95160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *430 - - *431 - - &640 + - *442 + - *443 + - &652 name: key_id description: The unique identifier of the key. in: path @@ -94159,9 +95174,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: *639 + default: *651 '404': *6 x-github: githubCloudOnly: false @@ -94179,9 +95194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *430 - - *431 - - *640 + - *442 + - *443 + - *652 responses: '204': description: Response @@ -94201,8 +95216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -94212,9 +95227,9 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 + default: *636 headers: Link: *41 '404': *6 @@ -94235,8 +95250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94272,9 +95287,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *193 examples: - default: &641 + default: &653 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94306,8 +95321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *430 - - *431 + - *442 + - *443 - name: name in: path required: true @@ -94318,9 +95333,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *193 examples: - default: *641 + default: *653 '404': *6 x-github: githubCloudOnly: false @@ -94337,8 +95352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *430 - - *431 + - *442 + - *443 - name: name in: path required: true @@ -94377,7 +95392,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *193 examples: default: value: @@ -94403,8 +95418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *430 - - *431 + - *442 + - *443 - name: name in: path required: true @@ -94430,8 +95445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -94467,8 +95482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '202': *37 '403': @@ -94496,8 +95511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -94523,9 +95538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *430 - - *431 - - *522 + - *442 + - *443 + - *534 responses: '200': description: Response @@ -94591,7 +95606,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 required: - _links - git_url @@ -94672,8 +95687,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94738,8 +95753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94773,9 +95788,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *557 examples: - default: *642 + default: *654 '204': description: Response when already merged '404': @@ -94800,8 +95815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *430 - - *431 + - *442 + - *443 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94842,7 +95857,7 @@ paths: application/json: schema: type: array - items: *368 + items: *380 examples: default: value: @@ -94898,8 +95913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -94939,9 +95954,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *380 examples: - default: &643 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95000,9 +96015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *430 - - *431 - - &644 + - *442 + - *443 + - &656 name: milestone_number description: The number that identifies the milestone. in: path @@ -95014,9 +96029,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *380 examples: - default: *643 + default: *655 '404': *6 x-github: githubCloudOnly: false @@ -95033,9 +96048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *430 - - *431 - - *644 + - *442 + - *443 + - *656 requestBody: required: false content: @@ -95073,9 +96088,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *380 examples: - default: *643 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95091,9 +96106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *430 - - *431 - - *644 + - *442 + - *443 + - *656 responses: '204': description: Response @@ -95114,9 +96129,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: - - *430 - - *431 - - *644 + - *442 + - *443 + - *656 - *17 - *19 responses: @@ -95126,9 +96141,9 @@ paths: application/json: schema: type: array - items: *182 + items: *193 examples: - default: *624 + default: *636 headers: Link: *41 x-github: @@ -95147,12 +96162,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: - - *430 - - *431 - - *645 - - *646 - - *189 - - *647 + - *442 + - *443 + - *657 + - *658 + - *200 + - *659 - *17 - *19 responses: @@ -95162,9 +96177,9 @@ paths: application/json: schema: type: array - items: *209 + items: *220 examples: - default: *648 + default: *660 headers: Link: *41 x-github: @@ -95188,8 +96203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -95247,14 +96262,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: &649 + schema: &661 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95398,7 +96413,7 @@ paths: - custom_404 - public examples: - default: &650 + default: &662 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95439,8 +96454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -95495,11 +96510,11 @@ paths: description: Response content: application/json: - schema: *649 + schema: *661 examples: - default: *650 + default: *662 '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95520,8 +96535,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -95608,7 +96623,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95629,14 +96644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95656,8 +96671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -95667,7 +96682,7 @@ paths: application/json: schema: type: array - items: &651 + items: &663 title: Page Build description: Page Build type: object @@ -95759,8 +96774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *430 - - *431 + - *442 + - *443 responses: '201': description: Response @@ -95807,16 +96822,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *651 + schema: *663 examples: - default: &652 + default: &664 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95864,8 +96879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *430 - - *431 + - *442 + - *443 - name: build_id in: path required: true @@ -95876,9 +96891,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *663 examples: - default: *652 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95898,8 +96913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96007,9 +97022,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: - - *430 - - *431 - - &653 + - *442 + - *443 + - &665 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96067,11 +97082,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *430 - - *431 - - *653 + - *442 + - *443 + - *665 responses: - '204': *129 + '204': *139 '404': *6 x-github: githubCloudOnly: false @@ -96096,8 +97111,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -96365,7 +97380,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -96392,8 +97407,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Private vulnerability reporting status @@ -96430,10 +97445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 + '204': *139 '422': *14 x-github: githubCloudOnly: false @@ -96452,10 +97467,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *442 + - *443 responses: - '204': *129 + '204': *139 '422': *14 x-github: githubCloudOnly: false @@ -96476,8 +97491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *430 - - *431 + - *442 + - *443 - name: state description: Indicates the state of the projects to return. in: query @@ -96498,7 +97513,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -96538,7 +97553,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *453 '422': *7 x-github: githubCloudOnly: false @@ -96561,8 +97576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96588,13 +97603,13 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: - default: *440 + default: *452 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *453 '422': *7 x-github: githubCloudOnly: false @@ -96617,8 +97632,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -96626,7 +97641,7 @@ paths: application/json: schema: type: array - items: *376 + items: *388 examples: default: value: @@ -96657,8 +97672,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96670,7 +97685,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *376 + items: *388 required: - properties examples: @@ -96720,8 +97735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *430 - - *431 + - *442 + - *443 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96781,9 +97796,9 @@ paths: application/json: schema: type: array - items: *549 + items: *561 examples: - default: *654 + default: *666 headers: Link: *41 '304': *35 @@ -96815,8 +97830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -96883,7 +97898,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &670 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97012,7 +98027,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *380 active_lock_reason: type: - string @@ -97067,7 +98082,7 @@ paths: type: - array - 'null' - items: *344 + items: *356 head: type: object properties: @@ -97075,7 +98090,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: *4 @@ -97092,7 +98107,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: *4 @@ -97105,14 +98120,14 @@ paths: _links: type: object properties: - comments: *369 - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + comments: *381 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -97122,8 +98137,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: *655 + author_association: *195 + auto_merge: *667 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97225,7 +98240,7 @@ paths: - merged_by - review_comments examples: - default: &659 + default: &671 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97752,8 +98767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *430 - - *431 + - *442 + - *443 - name: sort in: query required: false @@ -97772,7 +98787,7 @@ paths: enum: - asc - desc - - *189 + - *200 - *17 - *19 responses: @@ -97782,9 +98797,9 @@ paths: application/json: schema: type: array - items: *656 + items: *668 examples: - default: &661 + default: &673 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97861,17 +98876,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '200': description: Response content: application/json: - schema: *656 + schema: *668 examples: - default: &657 + default: &669 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97946,9 +98961,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -97970,9 +98985,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *668 examples: - default: *657 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97988,9 +99003,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 responses: '204': description: Response @@ -98011,9 +99026,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 - 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. @@ -98039,9 +99054,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -98062,9 +99077,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: - - *430 - - *431 - - *198 + - *442 + - *443 + - *209 requestBody: required: true content: @@ -98096,16 +99111,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -98127,10 +99142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *442 + - *443 + - *209 + - *434 responses: '204': description: Response @@ -98173,9 +99188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *430 - - *431 - - &660 + - *442 + - *443 + - &672 name: pull_number description: The number that identifies the pull request. in: path @@ -98188,9 +99203,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *658 + schema: *670 examples: - default: *659 + default: *671 '304': *35 '404': *6 '406': @@ -98199,7 +99214,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98225,9 +99240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -98269,9 +99284,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *670 examples: - default: *659 + default: *671 '422': *15 '403': *27 x-github: @@ -98293,9 +99308,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: true content: @@ -98356,21 +99371,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98396,10 +99411,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: - - *430 - - *431 - - *660 - - *206 + - *442 + - *443 + - *672 + - *217 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +99424,7 @@ paths: enum: - asc - desc - - *189 + - *200 - *17 - *19 responses: @@ -98419,9 +99434,9 @@ paths: application/json: schema: type: array - items: *656 + items: *668 examples: - default: *661 + default: *673 headers: Link: *41 x-github: @@ -98454,9 +99469,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: true content: @@ -98562,7 +99577,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *668 examples: example-for-a-multi-line-comment: value: @@ -98650,10 +99665,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: - - *430 - - *431 - - *660 - - *198 + - *442 + - *443 + - *672 + - *209 requestBody: required: true content: @@ -98675,7 +99690,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *668 examples: default: value: @@ -98761,9 +99776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 - *17 - *19 responses: @@ -98773,9 +99788,9 @@ paths: application/json: schema: type: array - items: *545 + items: *557 examples: - default: *662 + default: *674 headers: Link: *41 x-github: @@ -98805,9 +99820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 - *17 - *19 responses: @@ -98817,7 +99832,7 @@ paths: application/json: schema: type: array - items: *556 + items: *568 examples: default: value: @@ -98836,7 +99851,7 @@ paths: Link: *41 '422': *15 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98855,9 +99870,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 responses: '204': description: Response if pull request has been merged @@ -98880,9 +99895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -98994,9 +100009,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 responses: '200': description: Response @@ -99012,7 +100027,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *287 required: - users - teams @@ -99071,9 +100086,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -99110,7 +100125,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *561 examples: default: value: @@ -99646,9 +100661,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: true content: @@ -99682,7 +100697,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *561 examples: default: value: @@ -100187,9 +101202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 - *17 - *19 responses: @@ -100199,7 +101214,7 @@ paths: application/json: schema: type: array - items: &663 + items: &675 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100273,7 +101288,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *195 required: - id - node_id @@ -100355,9 +101370,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: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -100447,9 +101462,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: &665 + default: &677 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100512,10 +101527,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: - - *430 - - *431 - - *660 - - &664 + - *442 + - *443 + - *672 + - &676 name: review_id description: The unique identifier of the review. in: path @@ -100527,9 +101542,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: &666 + default: &678 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100588,10 +101603,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 requestBody: required: true content: @@ -100614,7 +101629,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: default: value: @@ -100676,18 +101691,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 responses: '200': description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: *665 + default: *677 '422': *7 '404': *6 x-github: @@ -100714,10 +101729,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 - *17 - *19 responses: @@ -100811,13 +101826,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *195 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *381 + html: *381 + pull_request: *381 required: - self - html @@ -100826,7 +101841,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *196 side: description: The side of the first line of the range for a multi-line comment. @@ -100975,10 +101990,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 requestBody: required: true content: @@ -101007,7 +102022,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: default: value: @@ -101070,10 +102085,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: - - *430 - - *431 - - *660 - - *664 + - *442 + - *443 + - *672 + - *676 requestBody: required: true content: @@ -101108,9 +102123,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *675 examples: - default: *666 + default: *678 '404': *6 '422': *7 '403': *27 @@ -101132,9 +102147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *430 - - *431 - - *660 + - *442 + - *443 + - *672 requestBody: required: false content: @@ -101198,8 +102213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *430 - - *431 + - *442 + - *443 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101212,9 +102227,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *679 examples: - default: &668 + default: &680 value: type: file encoding: base64 @@ -101256,8 +102271,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: - - *430 - - *431 + - *442 + - *443 - name: dir description: The alternate path to look for a README file in: path @@ -101277,9 +102292,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *679 examples: - default: *668 + default: *680 '404': *6 '422': *15 x-github: @@ -101301,8 +102316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -101312,7 +102327,7 @@ paths: application/json: schema: type: array - items: *669 + items: *681 examples: default: value: @@ -101406,8 +102421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -101483,9 +102498,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: &673 + default: &685 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101590,9 +102605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *430 - - *431 - - &671 + - *442 + - *443 + - &683 name: asset_id description: The unique identifier of the asset. in: path @@ -101604,9 +102619,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *682 examples: - default: &672 + default: &684 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 @@ -101641,7 +102656,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101657,9 +102672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *430 - - *431 - - *671 + - *442 + - *443 + - *683 requestBody: required: false content: @@ -101688,9 +102703,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *682 examples: - default: *672 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101706,9 +102721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *430 - - *431 - - *671 + - *442 + - *443 + - *683 responses: '204': description: Response @@ -101732,8 +102747,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -101819,16 +102834,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: *673 + default: *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101845,8 +102860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *430 - - *431 + - *442 + - *443 - name: tag description: tag parameter in: path @@ -101859,9 +102874,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: *673 + default: *685 '404': *6 x-github: githubCloudOnly: false @@ -101883,9 +102898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *430 - - *431 - - &674 + - *442 + - *443 + - &686 name: release_id description: The unique identifier of the release. in: path @@ -101899,9 +102914,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: *669 + schema: *681 examples: - default: *673 + default: *685 '401': description: Unauthorized x-github: @@ -101919,9 +102934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 requestBody: required: false content: @@ -101985,9 +103000,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *681 examples: - default: *673 + default: *685 '404': description: Not Found if the discussion category name is invalid content: @@ -102008,9 +103023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 responses: '204': description: Response @@ -102030,9 +103045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 - *17 - *19 responses: @@ -102042,7 +103057,7 @@ paths: application/json: schema: type: array - items: *670 + items: *682 examples: default: value: @@ -102124,9 +103139,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: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 - name: name in: query required: true @@ -102152,7 +103167,7 @@ paths: description: Response for successful upload content: application/json: - schema: *670 + schema: *682 examples: response-for-successful-upload: value: @@ -102207,9 +103222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 - 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. @@ -102233,9 +103248,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 '404': *6 @@ -102256,9 +103271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *430 - - *431 - - *674 + - *442 + - *443 + - *686 requestBody: required: true content: @@ -102288,16 +103303,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '201': description: Reaction created content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -102319,10 +103334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *430 - - *431 - - *674 - - *422 + - *442 + - *443 + - *686 + - *434 responses: '204': description: Response @@ -102346,9 +103361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *430 - - *431 - - *489 + - *442 + - *443 + - *501 - *17 - *19 responses: @@ -102364,8 +103379,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *138 - - &675 + - *148 + - &687 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102385,68 +103400,68 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *139 - - *675 + - *149 + - *687 - allOf: - - *140 - - *675 + - *150 + - *687 - allOf: - - *141 - - *675 + - *151 + - *687 - allOf: - - *676 - - *675 + - *688 + - *687 - allOf: - - *142 - - *675 + - *152 + - *687 - allOf: - - *143 - - *675 + - *153 + - *687 - allOf: - - *144 - - *675 + - *154 + - *687 - allOf: - - *145 - - *675 + - *155 + - *687 - allOf: - - *146 - - *675 + - *156 + - *687 - allOf: - - *147 - - *675 + - *157 + - *687 - allOf: - - *148 - - *675 + - *158 + - *687 - allOf: - - *149 - - *675 + - *159 + - *687 - allOf: - - *150 - - *675 + - *160 + - *687 - allOf: - - *151 - - *675 + - *161 + - *687 - allOf: - - *152 - - *675 + - *162 + - *687 - allOf: - - *153 - - *675 + - *163 + - *687 - allOf: - - *154 - - *675 + - *164 + - *687 - allOf: - - *155 - - *675 + - *165 + - *687 - allOf: - - *156 - - *675 + - *166 + - *687 - allOf: - - *157 - - *675 + - *167 + - *687 - allOf: - - *677 - - *675 + - *689 + - *687 examples: default: value: @@ -102485,8 +103500,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - name: includes_parents @@ -102497,7 +103512,7 @@ paths: schema: type: boolean default: true - - *678 + - *690 responses: '200': description: Response @@ -102505,7 +103520,7 @@ paths: application/json: schema: type: array - items: *158 + items: *168 examples: default: value: @@ -102552,8 +103567,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 requestBody: description: Request body required: true @@ -102573,16 +103588,16 @@ paths: - tag - push default: branch - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *147 + conditions: *142 rules: type: array description: An array of rules within the ruleset. - items: *679 + items: *691 required: - name - enforcement @@ -102613,9 +103628,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: &688 + default: &700 value: id: 42 name: super cool ruleset @@ -102662,12 +103677,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *430 - - *431 - - *680 - - *94 - - *681 - - *682 + - *442 + - *443 + - *692 + - *99 + - *693 + - *694 - *17 - *19 responses: @@ -102675,9 +103690,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *695 examples: - default: *684 + default: *696 '404': *6 '500': *38 x-github: @@ -102698,17 +103713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *430 - - *431 - - *685 + - *442 + - *443 + - *697 responses: '200': description: Response content: application/json: - schema: *686 + schema: *698 examples: - default: *687 + default: *699 '404': *6 '500': *38 x-github: @@ -102736,8 +103751,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102757,9 +103772,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *688 + default: *700 '404': *6 '500': *38 put: @@ -102777,8 +103792,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102803,16 +103818,16 @@ paths: - branch - tag - push - enforcement: *136 + enforcement: *146 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *147 + conditions: *142 rules: description: An array of rules within the ruleset. type: array - items: *679 + items: *691 examples: default: value: @@ -102840,9 +103855,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *168 examples: - default: *688 + default: *700 '404': *6 '500': *38 delete: @@ -102860,8 +103875,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102884,8 +103899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 - name: ruleset_id @@ -102901,9 +103916,9 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: - default: *383 + default: *395 '404': *6 '500': *38 x-github: @@ -102922,8 +103937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *430 - - *431 + - *442 + - *443 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102941,7 +103956,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *396 examples: default: value: @@ -102996,21 +104011,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: - - *430 - - *431 - - *385 - - *386 - - *387 - - *388 - - *99 + - *442 + - *443 + - *397 + - *398 + - *399 + - *400 + - *104 - *19 - *17 - - *689 - - *690 - - *389 - - *390 - - *391 - - *392 + - *701 + - *702 + - *401 + - *402 + - *403 + - *404 responses: '200': description: Response @@ -103018,24 +104033,24 @@ paths: application/json: schema: type: array - items: &694 + items: &706 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *691 - resolution: *692 + state: *703 + resolution: *704 resolved_at: type: - string @@ -103129,7 +104144,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *693 + - *705 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103252,7 +104267,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103274,16 +104289,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: - - *430 - - *431 - - *516 - - *392 + - *442 + - *443 + - *528 + - *404 responses: '200': description: Response content: application/json: - schema: *694 + schema: *706 examples: default: value: @@ -103314,7 +104329,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103335,9 +104350,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 requestBody: required: true content: @@ -103345,8 +104360,8 @@ paths: schema: type: object properties: - state: *691 - resolution: *692 + state: *703 + resolution: *704 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103365,7 +104380,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *706 examples: default: value: @@ -103418,7 +104433,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103440,9 +104455,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: - - *430 - - *431 - - *516 + - *442 + - *443 + - *528 - *19 - *17 responses: @@ -103453,7 +104468,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &880 type: object properties: type: @@ -103480,19 +104495,19 @@ paths: - commit details: oneOf: - - *695 - - *696 - - *697 - - *698 - - *699 - - *700 - - *701 - - *702 - - *703 - - *704 - - *705 - - *706 - *707 + - *708 + - *709 + - *710 + - *711 + - *712 + - *713 + - *714 + - *715 + - *716 + - *717 + - *718 + - *719 examples: default: value: @@ -103556,7 +104571,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103578,8 +104593,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -103587,14 +104602,14 @@ paths: schema: type: object properties: - reason: &709 + reason: &721 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *708 + placeholder_id: *720 required: - reason - placeholder_id @@ -103611,7 +104626,7 @@ paths: schema: type: object properties: - reason: *709 + reason: *721 expire_at: type: - string @@ -103635,7 +104650,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *163 + '503': *173 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103647,6 +104662,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -103655,13 +104673,13 @@ 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: - - *430 - - *431 + - *442 + - *443 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *163 + '503': *173 '200': description: Response content: @@ -103671,7 +104689,7 @@ paths: properties: incremental_scans: type: array - items: &710 + items: &722 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103699,15 +104717,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *710 + items: *722 backfill_scans: type: array - items: *710 + items: *722 custom_pattern_backfill_scans: type: array items: allOf: - - *710 + - *722 - type: object properties: pattern_name: @@ -103777,9 +104795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *430 - - *431 - - *99 + - *442 + - *443 + - *104 - name: sort description: The property to sort the results by. in: query @@ -103791,8 +104809,8 @@ paths: - updated - published default: created - - *97 - - *98 + - *102 + - *103 - name: per_page description: The number of advisories to return per page. 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)." @@ -103822,9 +104840,9 @@ paths: application/json: schema: type: array - items: *711 + items: *723 examples: - default: *712 + default: *724 '400': *14 '404': *6 x-github: @@ -103847,8 +104865,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -103928,7 +104946,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *409 required: - login - type @@ -104018,9 +105036,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *723 examples: - default: &714 + default: &726 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104253,8 +105271,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -104367,7 +105385,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *723 examples: default: value: @@ -104514,17 +105532,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 responses: '200': description: Response content: application/json: - schema: *711 + schema: *723 examples: - default: *714 + default: *726 '403': *27 '404': *6 x-github: @@ -104548,9 +105566,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 requestBody: required: true content: @@ -104630,7 +105648,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *409 required: - login - type @@ -104721,17 +105739,17 @@ paths: description: Response content: application/json: - schema: *711 + schema: *723 examples: - default: *714 - add_credit: *714 + default: *726 + add_credit: *726 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *235 examples: invalid_state_transition: value: @@ -104762,9 +105780,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 responses: '202': *37 '400': *14 @@ -104791,17 +105809,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: - - *430 - - *431 - - *713 + - *442 + - *443 + - *725 responses: '202': description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 '400': *14 '422': *15 '403': *27 @@ -104827,8 +105845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -104924,8 +105942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104934,7 +105952,7 @@ paths: application/json: schema: type: array - items: &715 + items: &727 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104947,7 +105965,7 @@ paths: - 1124 - -435 '202': *37 - '204': *129 + '204': *139 '422': description: Repository contains more than 10,000 commits x-github: @@ -104967,8 +105985,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -105019,7 +106037,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105046,8 +106064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -105119,7 +106137,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105141,8 +106159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105296,8 +106314,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105307,7 +106325,7 @@ paths: application/json: schema: type: array - items: *715 + items: *727 examples: default: value: @@ -105320,7 +106338,7 @@ paths: - - 0 - 2 - 21 - '204': *129 + '204': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105340,8 +106358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *430 - - *431 + - *442 + - *443 - name: sha in: path required: true @@ -105397,7 +106415,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *728 examples: default: value: @@ -105451,8 +106469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -105464,7 +106482,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -105484,14 +106502,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &717 + schema: &729 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105564,8 +106582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: false content: @@ -105591,7 +106609,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *729 examples: default: value: @@ -105618,8 +106636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -105639,8 +106657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -105722,8 +106740,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: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -105731,7 +106749,7 @@ paths: application/json: schema: type: array - items: &718 + items: &730 title: Tag protection description: Tag protection type: object @@ -105788,8 +106806,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: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -105812,7 +106830,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *730 examples: default: value: @@ -105843,8 +106861,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: - - *430 - - *431 + - *442 + - *443 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105881,8 +106899,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *430 - - *431 + - *442 + - *443 - name: ref in: path required: true @@ -105918,8 +106936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *430 - - *431 + - *442 + - *443 - *17 - *19 responses: @@ -105929,9 +106947,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - default: *345 + default: *357 headers: Link: *41 '404': *6 @@ -105951,8 +106969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *430 - - *431 + - *442 + - *443 - *19 - *17 responses: @@ -105960,7 +106978,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &731 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105972,7 +106990,7 @@ paths: required: - names examples: - default: &720 + default: &732 value: names: - octocat @@ -105995,8 +107013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -106027,9 +107045,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *731 examples: - default: *720 + default: *732 '404': *6 '422': *7 x-github: @@ -106050,9 +107068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *430 - - *431 - - &721 + - *442 + - *443 + - &733 name: per description: The time frame to display results for. in: query @@ -106083,7 +107101,7 @@ paths: - 128 clones: type: array - items: &722 + items: &734 title: Traffic type: object properties: @@ -106170,8 +107188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -106265,8 +107283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *430 - - *431 + - *442 + - *443 responses: '200': description: Response @@ -106329,9 +107347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *430 - - *431 - - *721 + - *442 + - *443 + - *733 responses: '200': description: Response @@ -106352,7 +107370,7 @@ paths: - 3782 views: type: array - items: *722 + items: *734 required: - uniques - count @@ -106429,8 +107447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *430 - - *431 + - *442 + - *443 requestBody: required: true content: @@ -106466,7 +107484,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *260 examples: default: value: @@ -106704,8 +107722,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106728,8 +107746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -106751,8 +107769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -106778,8 +107796,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *430 - - *431 + - *442 + - *443 - name: ref in: path required: true @@ -106871,9 +107889,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106914,7 +107932,7 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: default: value: @@ -107024,7 +108042,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &730 + - &742 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107034,7 +108052,7 @@ paths: type: string examples: - members - - &735 + - &747 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107046,7 +108064,7 @@ paths: format: int32 examples: - 1 - - &736 + - &748 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107090,7 +108108,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &725 + items: &737 allOf: - type: object required: @@ -107172,7 +108190,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: &737 + meta: &749 type: object description: The metadata associated with the creation/updates to the user. @@ -107237,30 +108255,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &726 + '400': &738 description: Bad request content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '401': *724 - '403': &727 + schema: *735 + '401': *736 + '403': &739 description: Permission denied - '429': &728 + '429': &740 description: Too many requests content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '500': &729 + schema: *735 + '500': &741 description: Internal server error content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 + schema: *735 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107284,7 +108302,7 @@ paths: required: true content: application/json: - schema: &733 + schema: &745 type: object required: - schemas @@ -107348,9 +108366,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *725 + schema: *737 examples: - group: &731 + group: &743 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107369,13 +108387,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': *726 - '401': *724 - '403': *727 - '409': &734 + '400': *738 + '401': *736 + '403': *739 + '409': &746 description: Duplicate record detected - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107392,7 +108410,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: - - &732 + - &744 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107401,22 +108419,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *730 + - *742 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *725 + schema: *737 examples: - default: *731 - '400': *726 - '401': *724 - '403': *727 + default: *743 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107435,13 +108453,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: - - *732 + - *744 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *745 examples: group: summary: Group @@ -107467,17 +108485,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *725 + schema: *737 examples: - group: *731 - groupWithMembers: *731 - '400': *726 - '401': *724 - '403': *727 + group: *743 + groupWithMembers: *743 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107501,13 +108519,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: - - *732 + - *744 - *39 requestBody: required: true content: application/json: - schema: &744 + schema: &756 type: object required: - Operations @@ -107567,17 +108585,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *725 + schema: *737 examples: - updateGroup: *731 - addMembers: *731 - '400': *726 - '401': *724 - '403': *727 + updateGroup: *743 + addMembers: *743 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107593,17 +108611,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: - - *732 + - *744 - *39 responses: '204': description: Group was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,8 +108655,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *735 - - *736 + - *747 + - *748 - *39 responses: '200': @@ -107672,7 +108690,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &739 + items: &751 allOf: - type: object required: @@ -107764,7 +108782,7 @@ paths: address. examples: - true - roles: &738 + roles: &750 type: array description: The roles assigned to the user. items: @@ -107823,7 +108841,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *737 + meta: *749 startIndex: type: integer description: A starting index for the returned page @@ -107862,11 +108880,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *726 - '401': *724 - '403': *727 - '429': *728 - '500': *729 + '400': *738 + '401': *736 + '403': *739 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107890,7 +108908,7 @@ paths: required: true content: application/json: - schema: &742 + schema: &754 type: object required: - schemas @@ -107983,9 +109001,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *738 + roles: *750 examples: - user: &743 + user: &755 summary: User value: schemas: @@ -108032,9 +109050,9 @@ paths: description: User has been created content: application/scim+json: - schema: *739 + schema: *751 examples: - user: &740 + user: &752 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108060,13 +109078,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: *740 - '400': *726 - '401': *724 - '403': *727 - '409': *734 - '429': *728 - '500': *729 + enterpriseOwner: *752 + '400': *738 + '401': *736 + '403': *739 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108083,7 +109101,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: - - &741 + - &753 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108096,15 +109114,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *739 + schema: *751 examples: - default: *740 - '400': *726 - '401': *724 - '403': *727 + default: *752 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108126,30 +109144,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: - - *741 + - *753 - *39 requestBody: required: true content: application/json: - schema: *742 + schema: *754 examples: - user: *743 + user: *755 responses: '200': description: User was updated content: application/scim+json: - schema: *739 + schema: *751 examples: - user: *740 - '400': *726 - '401': *724 - '403': *727 + user: *752 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108184,13 +109202,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: - - *741 + - *753 - *39 requestBody: required: true content: application/json: - schema: *744 + schema: *756 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108230,18 +109248,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *739 + schema: *751 examples: - userMultiValuedProperties: *740 - userSingleValuedProperties: *740 - disableUser: *740 - '400': *726 - '401': *724 - '403': *727 + userMultiValuedProperties: *752 + userSingleValuedProperties: *752 + disableUser: *752 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *746 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108261,17 +109279,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: - - *741 + - *753 - *39 responses: '204': description: User was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *738 + '401': *736 + '403': *739 '404': *6 - '429': *728 - '500': *729 + '429': *740 + '500': *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108304,7 +109322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *76 + - *81 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -108362,7 +109380,7 @@ paths: - 1 Resources: type: array - items: &745 + items: &757 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108609,22 +109627,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &746 + '404': &758 description: Resource not found content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '403': &747 + schema: *735 + '403': &759 description: Forbidden content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '400': *726 - '429': *728 + schema: *735 + '400': *738 + '429': *740 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108644,15 +109662,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *76 + - *81 responses: '201': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: &748 + default: &760 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108675,17 +109693,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *746 - '403': *747 - '500': *729 + '404': *758 + '403': *759 + '500': *741 '409': description: Conflict content: application/json: - schema: *723 + schema: *735 application/scim+json: - schema: *723 - '400': *726 + schema: *735 + '400': *738 requestBody: required: true content: @@ -108784,18 +109802,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *76 - - *741 + - *81 + - *753 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: *748 - '404': *746 - '403': *747 + default: *760 + '404': *758 + '403': *759 '304': *35 x-github: githubCloudOnly: true @@ -108818,19 +109836,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *76 - - *741 + - *81 + - *753 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: *748 + default: *760 '304': *35 - '404': *746 - '403': *747 + '404': *758 + '403': *759 requestBody: required: true content: @@ -108944,20 +109962,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *76 - - *741 + - *81 + - *753 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *757 examples: - default: *748 + default: *760 '304': *35 - '404': *746 - '403': *747 - '400': *726 + '404': *758 + '403': *759 + '400': *738 '429': description: Response content: @@ -109052,13 +110070,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *76 - - *741 + - *81 + - *753 responses: '204': description: Response - '404': *746 - '403': *747 + '404': *758 + '403': *759 '304': *35 x-github: githubCloudOnly: true @@ -109173,7 +110191,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *260 score: type: number file_size: @@ -109192,7 +110210,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &749 + text_matches: &761 title: Search Result Text Matches type: array items: @@ -109307,7 +110325,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *163 + '503': *173 '422': *15 '403': *27 x-github: @@ -109356,7 +110374,7 @@ paths: enum: - author-date - committer-date - - &750 + - &762 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 @@ -109425,7 +110443,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *499 comment_count: type: integer message: @@ -109444,7 +110462,7 @@ paths: url: type: string format: uri - verification: *603 + verification: *615 required: - author - committer @@ -109459,7 +110477,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *499 parents: type: array items: @@ -109471,12 +110489,12 @@ paths: type: string sha: type: string - repository: *246 + repository: *260 score: type: number node_id: type: string - text_matches: *749 + text_matches: *761 required: - sha - node_id @@ -109669,7 +110687,7 @@ paths: - interactions - created - updated - - *750 + - *762 - *17 - *19 - name: advanced_search @@ -109766,11 +110784,11 @@ paths: type: - string - 'null' - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: type: string state_reason: @@ -109784,7 +110802,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *380 comments: type: integer created_at: @@ -109798,7 +110816,7 @@ paths: - string - 'null' format: date-time - text_matches: *749 + text_matches: *761 pull_request: type: object properties: @@ -109836,10 +110854,10 @@ paths: type: string score: type: number - author_association: *184 + author_association: *195 draft: type: boolean - repository: *67 + repository: *72 body_html: type: string body_text: @@ -109847,12 +110865,12 @@ paths: timeline_url: type: string format: uri - type: *331 + type: *343 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *196 required: - assignee - closed_at @@ -109968,7 +110986,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *163 + '503': *173 '422': *15 '304': *35 '403': *27 @@ -110021,7 +111039,7 @@ paths: enum: - created - updated - - *750 + - *762 - *17 - *19 responses: @@ -110066,7 +111084,7 @@ paths: - 'null' score: type: number - text_matches: *749 + text_matches: *761 required: - id - node_id @@ -110152,7 +111170,7 @@ paths: - forks - help-wanted-issues - updated - - *750 + - *762 - *17 - *19 responses: @@ -110371,7 +111389,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *197 permissions: type: object properties: @@ -110389,7 +111407,7 @@ paths: - admin - pull - push - text_matches: *749 + text_matches: *761 temp_clone_token: type: string allow_merge_commit: @@ -110592,7 +111610,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *163 + '503': *173 '422': *15 '304': *35 x-github: @@ -110698,7 +111716,7 @@ paths: - string - 'null' format: uri - text_matches: *749 + text_matches: *761 related: type: - array @@ -110893,7 +111911,7 @@ paths: - followers - repositories - joined - - *750 + - *762 - *17 - *19 responses: @@ -111003,7 +112021,7 @@ paths: type: - boolean - 'null' - text_matches: *749 + text_matches: *761 blog: type: - string @@ -111065,7 +112083,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *163 + '503': *173 '422': *15 x-github: githubCloudOnly: false @@ -111085,7 +112103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &754 + - &766 name: team_id description: The unique identifier of the team. in: path @@ -111097,9 +112115,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 x-github: githubCloudOnly: false @@ -111126,7 +112144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *754 + - *766 requestBody: required: true content: @@ -111190,16 +112208,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '201': description: Response content: application/json: - schema: *411 + schema: *423 examples: - default: *412 + default: *424 '404': *6 '422': *15 '403': *27 @@ -111227,7 +112245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *754 + - *766 responses: '204': description: Response @@ -111258,8 +112276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *754 - - *99 + - *766 + - *104 - *17 - *19 responses: @@ -111269,9 +112287,9 @@ paths: application/json: schema: type: array - items: *413 + items: *425 examples: - default: *755 + default: *767 headers: Link: *41 x-github: @@ -111300,7 +112318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *754 + - *766 requestBody: required: true content: @@ -111334,9 +112352,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *414 + default: *426 x-github: triggersNotification: true githubCloudOnly: false @@ -111363,16 +112381,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *754 - - *415 + - *766 + - *427 responses: '200': description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *414 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111397,8 +112415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *754 - - *415 + - *766 + - *427 requestBody: required: false content: @@ -111421,9 +112439,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *425 examples: - default: *756 + default: *768 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111448,8 +112466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *754 - - *415 + - *766 + - *427 responses: '204': description: Response @@ -111478,9 +112496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *754 - - *415 - - *99 + - *766 + - *427 + - *104 - *17 - *19 responses: @@ -111490,9 +112508,9 @@ paths: application/json: schema: type: array - items: *416 + items: *428 examples: - default: *757 + default: *769 headers: Link: *41 x-github: @@ -111521,8 +112539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *754 - - *415 + - *766 + - *427 requestBody: required: true content: @@ -111544,9 +112562,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *417 + default: *429 x-github: triggersNotification: true githubCloudOnly: false @@ -111573,17 +112591,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 responses: '200': description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *417 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111608,9 +112626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 requestBody: required: true content: @@ -111632,9 +112650,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *428 examples: - default: *758 + default: *770 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111659,9 +112677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 responses: '204': description: Response @@ -111690,9 +112708,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: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111718,9 +112736,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 x-github: @@ -111749,9 +112767,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: - - *754 - - *415 - - *418 + - *766 + - *427 + - *430 requestBody: required: true content: @@ -111783,9 +112801,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111811,8 +112829,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: - - *754 - - *415 + - *766 + - *427 - 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. @@ -111838,9 +112856,9 @@ paths: application/json: schema: type: array - items: *419 + items: *431 examples: - default: *421 + default: *433 headers: Link: *41 x-github: @@ -111869,8 +112887,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: - - *754 - - *415 + - *766 + - *427 requestBody: required: true content: @@ -111902,9 +112920,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111928,7 +112946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -111938,9 +112956,9 @@ paths: application/json: schema: type: array - items: *328 + items: *340 examples: - default: *329 + default: *341 headers: Link: *41 x-github: @@ -111966,7 +112984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *754 + - *766 - name: role description: Filters members returned by their role in the team. in: query @@ -111989,7 +113007,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '404': *6 @@ -112017,8 +113035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: if user is a member @@ -112054,8 +113072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: Response @@ -112094,8 +113112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: Response @@ -112131,16 +113149,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: - - *754 - - *178 + - *766 + - *188 responses: '200': description: Response content: application/json: - schema: *427 + schema: *439 examples: - response-if-user-is-a-team-maintainer: *759 + response-if-user-is-a-team-maintainer: *771 '404': *6 x-github: githubCloudOnly: false @@ -112173,8 +113191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *766 + - *188 requestBody: required: false content: @@ -112199,9 +113217,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *439 examples: - response-if-users-membership-with-team-is-now-pending: *760 + response-if-users-membership-with-team-is-now-pending: *772 '403': description: Forbidden if team synchronization is set up '422': @@ -112235,8 +113253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *766 + - *188 responses: '204': description: Response @@ -112264,7 +113282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -112274,9 +113292,9 @@ paths: application/json: schema: type: array - items: *428 + items: *440 examples: - default: *761 + default: *773 headers: Link: *41 '404': *6 @@ -112302,16 +113320,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: - - *754 - - *429 + - *766 + - *441 responses: '200': description: Response content: application/json: - schema: *428 + schema: *440 examples: - default: *762 + default: *774 '404': description: Not Found if project is not managed by this team x-github: @@ -112335,8 +113353,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: - - *754 - - *429 + - *766 + - *441 requestBody: required: false content: @@ -112403,8 +113421,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: - - *754 - - *429 + - *766 + - *441 responses: '204': description: Response @@ -112431,7 +113449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -112441,9 +113459,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 '404': *6 @@ -112473,15 +113491,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: - - *754 - - *430 - - *431 + - *766 + - *442 + - *443 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *763 + schema: *775 examples: alternative-response-with-extra-repository-information: value: @@ -112632,9 +113650,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: - - *754 - - *430 - - *431 + - *766 + - *442 + - *443 requestBody: required: false content: @@ -112684,9 +113702,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: - - *754 - - *430 - - *431 + - *766 + - *442 + - *443 responses: '204': description: Response @@ -112715,15 +113733,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: - - *754 + - *766 responses: '200': description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 '403': *27 '404': *6 x-github: @@ -112750,7 +113768,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: - - *754 + - *766 requestBody: required: true content: @@ -112811,7 +113829,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: default: value: @@ -112842,7 +113860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *754 + - *766 - *17 - *19 responses: @@ -112852,9 +113870,9 @@ paths: application/json: schema: type: array - items: *273 + items: *287 examples: - response-if-child-teams-exist: *764 + response-if-child-teams-exist: *776 headers: Link: *41 '404': *6 @@ -112887,7 +113905,7 @@ paths: application/json: schema: oneOf: - - &766 + - &778 title: Private User description: Private User type: object @@ -113137,7 +114155,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *765 + - *777 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113297,7 +114315,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *778 examples: default: value: @@ -113376,7 +114394,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 '304': *35 '404': *6 '403': *27 @@ -113399,7 +114417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *178 + - *188 responses: '204': description: If the user is blocked @@ -113427,7 +114445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -113451,7 +114469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -113500,9 +114518,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *348 examples: - default: *337 + default: *349 '304': *35 '500': *38 '401': *23 @@ -113641,21 +114659,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113695,7 +114713,7 @@ paths: type: integer secrets: type: array - items: &767 + items: &779 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113737,7 +114755,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *550 headers: Link: *41 x-github: @@ -113809,13 +114827,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: - - *256 + - *270 responses: '200': description: Response content: application/json: - schema: *767 + schema: *779 examples: default: value: @@ -113845,7 +114863,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: - - *256 + - *270 requestBody: required: true content: @@ -113890,7 +114908,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -113918,7 +114936,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: - - *256 + - *270 responses: '204': description: Response @@ -113943,7 +114961,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: - - *256 + - *270 responses: '200': description: Response @@ -113959,9 +114977,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *260 examples: - default: *768 + default: *780 '401': *23 '403': *27 '404': *6 @@ -113986,7 +115004,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: - - *256 + - *270 requestBody: required: true content: @@ -114040,7 +115058,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: - - *256 + - *270 - name: repository_id in: path required: true @@ -114073,7 +115091,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: - - *256 + - *270 - name: repository_id in: path required: true @@ -114105,15 +115123,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: - - *338 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '304': *35 '500': *38 '401': *23 @@ -114139,7 +115157,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: - - *338 + - *350 requestBody: required: false content: @@ -114169,9 +115187,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '401': *23 '403': *27 '404': *6 @@ -114193,7 +115211,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: - - *338 + - *350 responses: '202': *37 '304': *35 @@ -114222,13 +115240,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: - - *338 + - *350 responses: '202': description: Response content: application/json: - schema: &769 + schema: &781 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114281,7 +115299,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &770 + default: &782 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114313,7 +115331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *338 + - *350 - name: export_id in: path required: true @@ -114326,9 +115344,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *781 examples: - default: *770 + default: *782 '404': *6 x-github: githubCloudOnly: false @@ -114349,7 +115367,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *338 + - *350 responses: '200': description: Response @@ -114365,9 +115383,9 @@ paths: type: integer machines: type: array - items: *537 + items: *549 examples: - default: *771 + default: *783 '304': *35 '500': *38 '401': *23 @@ -114396,7 +115414,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: - - *338 + - *350 requestBody: required: true content: @@ -114452,11 +115470,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *455 machine: anyOf: - type: 'null' - - *537 + - *549 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115253,15 +116271,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: - - *338 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '304': *35 '500': *38 '400': *14 @@ -115273,7 +116291,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115293,15 +116311,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: - - *338 + - *350 responses: '200': description: Response content: application/json: - schema: *336 + schema: *348 examples: - default: *536 + default: *548 '500': *38 '401': *23 '403': *27 @@ -115331,9 +116349,9 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: &783 + default: &794 value: - id: 197 name: hello_docker @@ -115434,7 +116452,7 @@ paths: application/json: schema: type: array - items: &772 + items: &784 title: Email description: Email type: object @@ -115504,9 +116522,9 @@ paths: application/json: schema: type: array - items: *772 + items: *784 examples: - default: &785 + default: &796 value: - email: octocat@github.com verified: true @@ -115583,7 +116601,7 @@ paths: application/json: schema: type: array - items: *772 + items: *784 examples: default: value: @@ -115695,7 +116713,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '304': *35 @@ -115728,7 +116746,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 '304': *35 @@ -115750,7 +116768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *178 + - *188 responses: '204': description: if the person is followed by the authenticated user @@ -115780,7 +116798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -115805,7 +116823,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *178 + - *188 responses: '204': description: Response @@ -115841,7 +116859,7 @@ paths: application/json: schema: type: array - items: &773 + items: &785 title: GPG Key description: A unique encryption key type: object @@ -115986,7 +117004,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &810 value: - id: 3 name: Octocat's GPG Key @@ -116071,9 +117089,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *785 examples: - default: &774 + default: &786 value: id: 3 name: Octocat's GPG Key @@ -116130,7 +117148,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: - - &775 + - &787 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116142,9 +117160,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *785 examples: - default: *774 + default: *786 '404': *6 '304': *35 '403': *27 @@ -116167,7 +117185,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: - - *775 + - *787 responses: '204': description: Response @@ -116356,9 +117374,9 @@ paths: type: string repositories: type: array - items: *67 + items: *72 examples: - default: *241 + default: *255 headers: Link: *41 '404': *6 @@ -116383,7 +117401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *254 responses: '204': description: Response @@ -116409,7 +117427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *254 responses: '204': description: Response @@ -116443,12 +117461,12 @@ paths: application/json: schema: anyOf: - - *326 + - *338 - type: object properties: {} additionalProperties: false examples: - default: *327 + default: *339 '204': description: Response when there are no restrictions x-github: @@ -116472,7 +117490,7 @@ paths: required: true content: application/json: - schema: *614 + schema: *626 examples: default: value: @@ -116483,7 +117501,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *338 examples: default: value: @@ -116564,7 +117582,7 @@ paths: - closed - all default: open - - *334 + - *346 - name: sort description: What to sort results by. in: query @@ -116576,8 +117594,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *200 - *17 - *19 responses: @@ -116587,9 +117605,9 @@ paths: application/json: schema: type: array - items: *183 + items: *194 examples: - default: *335 + default: *347 headers: Link: *41 '404': *6 @@ -116622,7 +117640,7 @@ paths: application/json: schema: type: array - items: &776 + items: &788 title: Key description: Key type: object @@ -116725,9 +117743,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *788 examples: - default: &777 + default: &789 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116760,15 +117778,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: - - *640 + - *652 responses: '200': description: Response content: application/json: - schema: *776 + schema: *788 examples: - default: *777 + default: *789 '404': *6 '304': *35 '403': *27 @@ -116791,7 +117809,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: - - *640 + - *652 responses: '204': description: Response @@ -116824,7 +117842,7 @@ paths: application/json: schema: type: array - items: &778 + items: &790 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116892,7 +117910,7 @@ paths: - id - type - login - plan: *200 + plan: *211 required: - billing_cycle - next_billing_date @@ -116903,7 +117921,7 @@ paths: - account - plan examples: - default: &779 + default: &791 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116965,9 +117983,9 @@ paths: application/json: schema: type: array - items: *778 + items: *790 examples: - default: *779 + default: *791 headers: Link: *41 '304': *35 @@ -117007,7 +118025,7 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: default: value: @@ -117109,13 +118127,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *339 + schema: *351 examples: default: value: @@ -117173,7 +118191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *81 requestBody: required: true content: @@ -117198,7 +118216,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *351 examples: default: value: @@ -117266,7 +118284,7 @@ paths: application/json: schema: type: array - items: *341 + items: *353 examples: default: value: @@ -117528,7 +118546,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -117708,7 +118726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *354 - name: exclude in: query required: false @@ -117721,7 +118739,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *353 examples: default: value: @@ -117915,7 +118933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *354 responses: '302': description: Response @@ -117941,7 +118959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *354 responses: '204': description: Response @@ -117970,8 +118988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *780 + - *354 + - *792 responses: '204': description: Response @@ -117995,7 +119013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *342 + - *354 - *17 - *19 responses: @@ -118005,9 +119023,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 '404': *6 @@ -118042,9 +119060,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: *781 + default: *224 headers: Link: *41 '304': *35 @@ -118086,7 +119104,7 @@ paths: - docker - nuget - container - - *782 + - *793 - *19 - *17 responses: @@ -118096,10 +119114,10 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *783 - '400': *784 + default: *794 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118119,16 +119137,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: - - *348 - - *349 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *346 + schema: *358 examples: - default: &800 + default: &811 value: id: 40201 name: octo-name @@ -118241,8 +119259,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: - - *348 - - *349 + - *360 + - *361 responses: '204': description: Response @@ -118272,8 +119290,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: - - *348 - - *349 + - *360 + - *361 - name: token description: package token schema: @@ -118305,8 +119323,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: - - *348 - - *349 + - *360 + - *361 - *19 - *17 - name: state @@ -118326,7 +119344,7 @@ paths: application/json: schema: type: array - items: *350 + items: *362 examples: default: value: @@ -118375,15 +119393,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: - - *348 - - *349 - - *351 + - *360 + - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -118419,9 +119437,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: - - *348 - - *349 - - *351 + - *360 + - *361 + - *363 responses: '204': description: Response @@ -118451,9 +119469,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: - - *348 - - *349 - - *351 + - *360 + - *361 + - *363 responses: '204': description: Response @@ -118511,7 +119529,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -118583,9 +119601,9 @@ paths: application/json: schema: type: array - items: *772 + items: *784 examples: - default: *785 + default: *796 headers: Link: *41 '304': *35 @@ -118696,9 +119714,9 @@ paths: application/json: schema: type: array - items: *67 + items: *72 examples: - default: &792 + default: &803 summary: Default response value: - id: 1296269 @@ -119016,9 +120034,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - default: *445 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119056,9 +120074,9 @@ paths: application/json: schema: type: array - items: *616 + items: *628 examples: - default: *786 + default: *797 headers: Link: *41 '304': *35 @@ -119081,12 +120099,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *330 + - *342 responses: '204': description: Response '403': *27 - '409': *107 + '409': *112 '404': *6 '304': *35 x-github: @@ -119104,11 +120122,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *330 + - *342 responses: '204': description: Response - '409': *107 + '409': *112 '304': *35 '404': *6 '403': *27 @@ -119137,7 +120155,7 @@ paths: application/json: schema: type: array - items: &787 + items: &798 title: Social account description: Social media account type: object @@ -119154,7 +120172,7 @@ paths: - provider - url examples: - default: &788 + default: &799 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +120235,9 @@ paths: application/json: schema: type: array - items: *787 + items: *798 examples: - default: *788 + default: *799 '422': *15 '304': *35 '404': *6 @@ -119307,7 +120325,7 @@ paths: application/json: schema: type: array - items: &789 + items: &800 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +120345,7 @@ paths: - title - created_at examples: - default: &803 + default: &814 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +120412,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *800 examples: - default: &790 + default: &801 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +120445,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: - - &791 + - &802 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +120457,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *800 examples: - default: *790 + default: *801 '404': *6 '304': *35 '403': *27 @@ -119464,7 +120482,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: - - *791 + - *802 responses: '204': description: Response @@ -119493,7 +120511,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: - - &804 + - &815 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -119506,7 +120524,7 @@ paths: - created - updated default: created - - *99 + - *104 - *17 - *19 responses: @@ -119516,13 +120534,13 @@ paths: application/json: schema: type: array - items: *67 + items: *72 examples: - default-response: *792 + default-response: *803 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &816 title: Starred Repository description: Starred Repository type: object @@ -119530,7 +120548,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *72 required: - starred_at - repo @@ -119678,8 +120696,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response if this repository is starred by you @@ -119707,8 +120725,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -119732,8 +120750,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: - - *430 - - *431 + - *442 + - *443 responses: '204': description: Response @@ -119766,9 +120784,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 '304': *35 @@ -119805,7 +120823,7 @@ paths: application/json: schema: type: array - items: *411 + items: *423 examples: default: value: @@ -119883,7 +120901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *202 + - *213 responses: '200': description: Response @@ -119891,10 +120909,10 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *778 + - *777 examples: - default-response: &794 + default-response: &805 summary: Default response value: login: octocat @@ -119929,7 +120947,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &795 + response-with-git-hub-plan-information: &806 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +121007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *804 - *17 responses: '200': @@ -120000,7 +121018,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: example: ; rel="next" @@ -120030,7 +121048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *178 + - *188 responses: '200': description: Response @@ -120038,11 +121056,11 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *778 + - *777 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *805 + response-with-git-hub-plan-information: *806 '404': *6 x-github: githubCloudOnly: false @@ -120066,9 +121084,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *97 - - *98 - - *178 + - *102 + - *103 + - *188 requestBody: required: true content: @@ -120091,8 +121109,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *807 + withPredicateType: *808 responses: '200': description: Response @@ -120146,7 +121164,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120164,7 +121182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *178 + - *188 requestBody: required: true content: @@ -120229,7 +121247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *178 + - *188 - name: subject_digest description: Subject Digest in: path @@ -120260,7 +121278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *178 + - *188 - name: attestation_id description: Attestation ID in: path @@ -120296,9 +121314,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *97 - - *98 - - *178 + - *102 + - *103 + - *188 - name: subject_digest description: Subject Digest in: path @@ -120350,12 +121368,12 @@ paths: initiator: type: string examples: - default: *483 + default: *495 '201': description: Response content: application/json: - schema: *257 + schema: *271 examples: default: value: @@ -120381,7 +121399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *178 + - *188 responses: '200': description: Response @@ -120389,9 +121407,9 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *783 + default: *794 '403': *27 '401': *23 x-github: @@ -120414,7 +121432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120424,7 +121442,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -120486,8 +121504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *178 - - *76 + - *188 + - *81 - *17 - *19 responses: @@ -120497,7 +121515,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -120574,7 +121592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120584,7 +121602,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -120642,7 +121660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120654,7 +121672,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -120673,7 +121691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120685,7 +121703,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *187 headers: Link: *41 x-github: @@ -120704,7 +121722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *178 + - *188 - name: target_user in: path required: true @@ -120731,8 +121749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *178 - - *189 + - *188 + - *200 - *17 - *19 responses: @@ -120742,9 +121760,9 @@ paths: application/json: schema: type: array - items: *190 + items: *201 examples: - default: *191 + default: *202 headers: Link: *41 '422': *15 @@ -120765,7 +121783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120775,9 +121793,9 @@ paths: application/json: schema: type: array - items: *773 + items: *785 examples: - default: *799 + default: *810 headers: Link: *41 x-github: @@ -120801,7 +121819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *178 + - *188 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120873,7 +121891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *178 + - *188 responses: '200': description: Response @@ -120881,7 +121899,7 @@ paths: application/json: schema: *20 examples: - default: *613 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120899,7 +121917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120955,7 +121973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -120965,9 +121983,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: *781 + default: *224 headers: Link: *41 x-github: @@ -121006,8 +122024,8 @@ paths: - docker - nuget - container - - *782 - - *178 + - *793 + - *188 - *19 - *17 responses: @@ -121017,12 +122035,12 @@ paths: application/json: schema: type: array - items: *346 + items: *358 examples: - default: *783 + default: *794 '403': *27 '401': *23 - '400': *784 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121042,17 +122060,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 responses: '200': description: Response content: application/json: - schema: *346 + schema: *358 examples: - default: *800 + default: *811 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121073,9 +122091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 responses: '204': description: Response @@ -121107,9 +122125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 - name: token description: package token schema: @@ -121141,9 +122159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *348 - - *349 - - *178 + - *360 + - *361 + - *188 responses: '200': description: Response @@ -121151,7 +122169,7 @@ paths: application/json: schema: type: array - items: *350 + items: *362 examples: default: value: @@ -121209,16 +122227,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: - - *348 - - *349 - - *351 - - *178 + - *360 + - *361 + - *363 + - *188 responses: '200': description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -121253,10 +122271,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *348 - - *349 - - *178 - - *351 + - *360 + - *361 + - *188 + - *363 responses: '204': description: Response @@ -121288,10 +122306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *348 - - *349 - - *178 - - *351 + - *360 + - *361 + - *188 + - *363 responses: '204': description: Response @@ -121317,7 +122335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *178 + - *188 - name: state description: Indicates the state of the projects to return. in: query @@ -121338,7 +122356,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -121396,15 +122414,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *178 + - *188 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *97 - - *98 + - *102 + - *103 - *17 responses: '200': @@ -121413,9 +122431,9 @@ paths: application/json: schema: type: array - items: *363 + items: *375 examples: - default: *364 + default: *376 headers: Link: *41 '304': *35 @@ -121437,16 +122455,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *365 - - *178 + - *377 + - *188 responses: '200': description: Response content: application/json: - schema: *363 + schema: *375 examples: - default: *364 + default: *376 headers: Link: *41 '304': *35 @@ -121468,11 +122486,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *365 - - *178 + - *377 + - *188 - *17 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -121480,9 +122498,9 @@ paths: application/json: schema: type: array - items: *366 + items: *378 examples: - default: *367 + default: *379 headers: Link: *41 '304': *35 @@ -121504,17 +122522,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *365 - - *801 - - *178 + - *377 + - *812 + - *188 responses: '200': description: Response content: application/json: - schema: *366 + schema: *378 examples: - default: *367 + default: *379 headers: Link: *41 '304': *35 @@ -121537,10 +122555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *365 - - *178 - - *97 - - *98 + - *377 + - *188 + - *102 + - *103 - *17 - 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) @@ -121550,17 +122568,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -121568,9 +122588,9 @@ paths: application/json: schema: type: array - items: *372 + items: *384 examples: - default: *373 + default: *385 headers: Link: *41 '304': *35 @@ -121591,8 +122611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *178 - - *365 + - *188 + - *377 requestBody: required: true description: Details of the item to add to the project. @@ -121629,10 +122649,10 @@ paths: description: Response content: application/json: - schema: *802 + schema: *813 examples: - issue: *371 - pull_request: *371 + issue: *383 + pull_request: *383 '304': *35 '403': *27 '401': *23 @@ -121652,29 +122672,31 @@ 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: - - *365 - - *178 - - *374 + - *377 + - *188 + - *386 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *372 + schema: *384 examples: - default: *373 + default: *385 headers: Link: *41 '304': *35 @@ -121695,9 +122717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *365 - - *178 - - *374 + - *377 + - *188 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121770,13 +122792,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *384 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *23 '403': *27 '404': *6 @@ -121796,9 +122818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *365 - - *178 - - *374 + - *377 + - *188 + - *386 responses: '204': description: Response @@ -121825,7 +122847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -121835,7 +122857,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -121900,7 +122922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -121910,7 +122932,7 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: default: value: @@ -121973,7 +122995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *178 + - *188 - name: type description: Limit results to repositories of the specified type. in: query @@ -122016,9 +123038,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -122042,15 +123064,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *178 + - *188 responses: '200': description: Response content: application/json: - schema: *398 + schema: *410 examples: - default: *399 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122072,15 +123094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *178 + - *188 responses: '200': description: Response content: application/json: - schema: *403 + schema: *415 examples: - default: *404 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122089,7 +123111,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -122097,12 +123122,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *178 - - *169 - - *213 - - *170 - - *215 - - *216 + - *188 + - *179 + - *225 + - *180 + - *227 + - *228 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +123180,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -122210,7 +123235,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122232,15 +123257,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *178 + - *188 responses: '200': description: Response content: application/json: - schema: *405 + schema: *417 examples: - default: *406 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122260,11 +123285,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *178 - - *169 - - *217 - - *170 - - *218 + - *188 + - *179 + - *229 + - *180 + - *230 responses: '200': description: Response when getting a billing usage report @@ -122335,7 +123360,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122353,7 +123378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -122363,9 +123388,9 @@ paths: application/json: schema: type: array - items: *787 + items: *798 examples: - default: *788 + default: *799 headers: Link: *41 x-github: @@ -122385,7 +123410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -122395,9 +123420,9 @@ paths: application/json: schema: type: array - items: *789 + items: *800 examples: - default: *803 + default: *814 headers: Link: *41 x-github: @@ -122421,9 +123446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *178 - - *804 - - *99 + - *188 + - *815 + - *104 - *17 - *19 responses: @@ -122434,11 +123459,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *816 - type: array - items: *67 + items: *72 examples: - default-response: *792 + default-response: *803 headers: Link: *41 x-github: @@ -122457,7 +123482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *178 + - *188 - *17 - *19 responses: @@ -122467,9 +123492,9 @@ paths: application/json: schema: type: array - items: *246 + items: *260 examples: - default: *352 + default: *364 headers: Link: *41 x-github: @@ -122598,7 +123623,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &817 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +123692,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &818 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +123713,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &819 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +123786,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &820 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +123815,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *197 organization: anyOf: - type: 'null' @@ -123674,10 +124699,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -123753,11 +124778,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: &821 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -123980,11 +125005,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -124172,11 +125197,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -124247,7 +125272,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &824 title: Exemption request cancellation event type: object properties: @@ -124255,11 +125280,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: &822 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +125522,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &823 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +125632,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &825 title: Exemption request completed event type: object properties: @@ -124615,11 +125640,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -124689,7 +125714,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &826 title: Exemption request created event type: object properties: @@ -124697,11 +125722,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -124771,7 +125796,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &827 title: Exemption response dismissed event type: object properties: @@ -124779,12 +125804,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -124856,7 +125881,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &828 title: Exemption response submitted event type: object properties: @@ -124864,12 +125889,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -124942,7 +125967,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *824 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +126034,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *825 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +126101,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *826 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +126168,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *827 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +126236,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *828 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +126314,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &830 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +126379,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *198 + repository: *260 status: type: string enum: @@ -125399,7 +126424,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *829 details_url: type: string examples: @@ -125459,7 +126484,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *198 started_at: type: string format: date-time @@ -125497,10 +126522,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -125893,11 +126918,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *830 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -126293,11 +127318,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *830 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 requested_action: description: The action requested by the user. type: object @@ -126702,11 +127727,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *830 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -127698,10 +128723,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -128386,10 +129411,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -129068,10 +130093,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -129240,7 +130265,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129392,20 +130417,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &831 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: *806 - installation: *807 - organization: *808 - ref: &821 + enterprise: *817 + installation: *818 + organization: *819 + ref: &832 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: *809 + repository: *820 sender: *4 required: - action @@ -129572,7 +130597,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129813,12 +130838,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -129916,7 +130941,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130101,12 +131126,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -130275,7 +131300,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130452,12 +131477,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -130560,7 +131585,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130740,9 +131765,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -130750,7 +131775,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *820 sender: *4 required: - action @@ -130849,7 +131874,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *523 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130996,12 +132021,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *831 + enterprise: *817 + installation: *818 + organization: *819 + ref: *832 + repository: *820 sender: *4 required: - action @@ -131263,10 +132288,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -131347,18 +132372,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *819 + pusher_type: &833 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &834 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +132393,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *820 sender: *4 required: - ref @@ -131450,10 +132475,10 @@ webhooks: type: string enum: - created - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *135 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131538,9 +132563,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131617,10 +132642,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *135 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131697,10 +132722,10 @@ webhooks: type: string enum: - updated - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *135 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -131777,19 +132802,19 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *817 + installation: *818 + repository: *820 + organization: *819 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *376 + items: *388 old_property_values: type: array description: The old custom property values for the repository. - items: *376 + items: *388 required: - action - repository @@ -131865,18 +132890,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *817 + installation: *818 + organization: *819 + pusher_type: *833 + ref: *834 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *820 sender: *4 required: - ref @@ -131960,11 +132985,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132048,11 +133073,11 @@ webhooks: type: string enum: - auto_reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132136,11 +133161,11 @@ webhooks: type: string enum: - created - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132222,11 +133247,11 @@ webhooks: type: string enum: - dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132308,11 +133333,11 @@ webhooks: type: string enum: - fixed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132395,11 +133420,11 @@ webhooks: type: string enum: - reintroduced - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132481,11 +133506,11 @@ webhooks: type: string enum: - reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *575 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -132562,9 +133587,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *817 + installation: *818 + key: &835 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132602,8 +133627,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -132680,11 +133705,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + key: *835 + organization: *819 + repository: *820 sender: *4 required: - action @@ -133256,12 +134281,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: &828 + workflow: &839 title: Workflow type: - object @@ -133999,13 +135024,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *569 + deployment: *581 pull_requests: type: array - items: *658 - repository: *809 - organization: *808 - installation: *807 + items: *670 + repository: *820 + organization: *819 + installation: *818 sender: *4 responses: '200': @@ -134076,7 +135101,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &836 type: object properties: avatar_url: @@ -134119,11 +135144,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: &837 type: array items: type: object @@ -134204,7 +135229,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &838 type: object properties: conclusion: @@ -134950,18 +135975,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *836 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: *837 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *838 workflow_job_runs: type: array items: @@ -135678,13 +136703,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *817 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *818 + organization: *819 + repository: *820 + requestor: &844 title: User type: - object @@ -137627,12 +138652,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +139348,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &842 type: object properties: author_association: @@ -138483,11 +139508,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -138614,11 +139639,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -138701,11 +139726,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -138787,7 +139812,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &841 type: object properties: author_association: @@ -138947,11 +139972,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139034,12 +140059,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *841 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139134,12 +140159,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *841 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139223,11 +140248,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139309,11 +140334,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139413,11 +140438,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139499,10 +140524,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *840 + enterprise: *817 + installation: *818 + label: &843 title: Label type: object properties: @@ -139535,8 +140560,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139619,11 +140644,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139705,11 +140730,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139791,11 +140816,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139880,16 +140905,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *840 + new_repository: *820 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -139972,10 +140997,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *840 + old_answer: *842 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140057,12 +141082,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140145,11 +141170,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140231,11 +141256,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *840 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -140304,7 +141329,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *826 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +141392,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *828 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +141458,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *824 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +141524,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *825 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +141590,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *826 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +141656,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *827 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +141722,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *828 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +141789,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *817 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +142467,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - forkee @@ -141590,9 +142615,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pages: description: The pages that were updated. type: array @@ -141630,7 +142655,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *820 sender: *4 required: - pages @@ -141706,10 +142731,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: &834 + organization: *819 + repositories: &845 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +142760,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *820 + requester: *844 sender: *4 required: - action @@ -141811,11 +142836,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -141892,11 +142917,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -141973,10 +142998,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories_added: &835 + organization: *819 + repositories_added: &846 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +143047,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *820 + repository_selection: &847 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *844 sender: *4 required: - action @@ -142109,10 +143134,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories_added: *835 + organization: *819 + repositories_added: *846 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +143164,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *820 + repository_selection: *847 + requester: *844 sender: *4 required: - action @@ -142220,11 +143245,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -142407,10 +143432,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 target_type: type: string @@ -142489,11 +143514,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *817 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -142741,8 +143766,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143559,8 +144584,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143577,7 +144602,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -143921,8 +144946,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -144002,7 +145027,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &848 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +145194,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144983,8 +146008,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145001,7 +146026,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -145347,8 +146372,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -145428,7 +146453,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &872 description: The changes to the comment. type: object properties: @@ -145440,9 +146465,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *848 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146258,8 +147283,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146276,7 +147301,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -146620,8 +147645,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146705,15 +147730,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *194 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + blocking_issue_repo: *72 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146801,15 +147826,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *194 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + blocking_issue_repo: *72 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146896,15 +147921,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 - blocked_issue_repo: *67 + blocked_issue: *194 + blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146992,15 +148017,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 - blocked_issue_repo: *67 + blocked_issue: *194 + blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -147085,10 +148110,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *844 + enterprise: *817 + installation: *818 + issue: &851 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147900,11 +148925,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147921,7 +148946,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -148024,8 +149049,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -148105,8 +149130,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148923,11 +149948,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148944,7 +149969,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -149190,8 +150215,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149270,8 +150295,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150079,11 +151104,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150100,7 +151125,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -150202,8 +151227,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -150282,8 +151307,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151114,11 +152139,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151135,7 +152160,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -151216,7 +152241,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &849 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +152384,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -151459,8 +152484,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152272,11 +153297,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +153315,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *343 title: description: Title of the issue type: string @@ -152396,9 +153421,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -152478,8 +153503,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153290,11 +154315,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153308,7 +154333,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *343 title: description: Title of the issue type: string @@ -153414,9 +154439,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -153496,8 +154521,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154333,11 +155358,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154351,7 +155376,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *343 title: description: Title of the issue type: string @@ -154434,8 +155459,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -154514,8 +155539,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155345,11 +156370,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155366,7 +156391,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -155446,9 +156471,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -156340,11 +157365,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156440,7 +157465,7 @@ webhooks: required: - login - id - type: *331 + type: *343 required: - id - number @@ -156921,8 +157946,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157734,11 +158759,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +158780,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -157857,8 +158882,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -157938,9 +158963,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *817 + installation: *818 + issue: &850 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158746,11 +159771,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158767,7 +159792,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -158869,8 +159894,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -158949,8 +159974,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159784,11 +160809,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159885,9 +160910,9 @@ webhooks: format: uri user_view_type: type: string - type: *331 - organization: *808 - repository: *809 + type: *343 + organization: *819 + repository: *820 sender: *4 required: - action @@ -160776,11 +161801,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160797,7 +161822,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -161379,11 +162404,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161463,12 +162488,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + type: *343 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161549,7 +162574,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &875 title: User type: - object @@ -161621,11 +162646,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161704,12 +162729,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161789,8 +162814,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162624,11 +163649,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *763 + issue_dependencies_summary: *764 issue_field_values: type: array - items: *753 + items: *765 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162645,7 +163670,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *343 updated_at: type: string format: date-time @@ -162725,8 +163750,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -162806,11 +163831,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -162889,12 +163914,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + issue: *851 + type: *343 + organization: *819 + repository: *820 sender: *4 required: - action @@ -162974,11 +163999,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163056,11 +164081,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163170,11 +164195,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + label: *843 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163256,9 +164281,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *817 + installation: *818 + marketplace_purchase: &852 title: Marketplace Purchase type: object required: @@ -163346,8 +164371,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *819 + previous_marketplace_purchase: &853 title: Marketplace Purchase type: object properties: @@ -163431,7 +164456,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *820 sender: *4 required: - action @@ -163511,10 +164536,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +164627,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *820 sender: *4 required: - action @@ -163684,10 +164709,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +164798,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *820 sender: *4 required: - action @@ -163854,8 +164879,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +164966,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -164023,12 +165048,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -164130,11 +165155,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164236,11 +165261,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164319,11 +165344,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164401,11 +165426,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +165508,7 @@ webhooks: required: - login - id - team: &843 + team: &854 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +165738,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +165821,7 @@ webhooks: required: - login - id - team: *843 + team: *854 required: - action - scope @@ -164878,8 +165903,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *818 + merge_group: &855 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164898,15 +165923,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *515 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164992,10 +166017,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *818 + merge_group: *855 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165068,7 +166093,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *817 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +166202,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *818 + organization: *819 repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -165262,11 +166287,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165345,9 +166370,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *817 + installation: *818 + milestone: &856 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +166514,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165569,11 +166594,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165683,11 +166708,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165767,11 +166792,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + milestone: *856 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165850,11 +166875,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165933,11 +166958,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166016,9 +167041,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *817 + installation: *818 + membership: &857 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +167153,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166207,11 +167232,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166290,8 +167315,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +167438,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 - user: *833 + user: *844 required: - action - invitation @@ -166494,11 +167519,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166585,11 +167610,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166665,9 +167690,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -167190,7 +168215,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &858 title: Ruby Gems metadata type: object properties: @@ -167287,7 +168312,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -167363,9 +168388,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -167727,7 +168752,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *858 source_url: type: string format: uri @@ -167798,7 +168823,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -167979,12 +169004,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *817 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - id @@ -168061,7 +169086,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &859 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +169236,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *817 + organization: *819 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168291,11 +169316,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168371,11 +169396,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168450,11 +169475,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *859 + organization: *819 + enterprise: *817 sender: *4 - installation: *807 + installation: *818 required: - action - personal_access_token_request @@ -168559,7 +169584,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *860 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +169616,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +169862,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *817 + installation: *818 + organization: *819 + project_card: &861 title: Project Card type: object properties: @@ -168963,7 +169988,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *820 sender: *4 required: - action @@ -169044,11 +170069,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -169128,9 +170153,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 project_card: title: Project Card type: object @@ -169260,7 +170285,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -169354,11 +170379,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -169452,9 +170477,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 project_card: allOf: - title: Project Card @@ -169651,7 +170676,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *820 sender: *4 required: - action @@ -169731,10 +170756,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *817 + installation: *818 + organization: *819 + project: &863 title: Project type: object properties: @@ -169861,7 +170886,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *820 sender: *4 required: - action @@ -169941,10 +170966,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *817 + installation: *818 + organization: *819 + project_column: &862 title: Project Column type: object properties: @@ -169984,7 +171009,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *820 sender: *4 required: - action @@ -170063,14 +171088,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -170159,11 +171184,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -170243,11 +171268,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -170327,11 +171352,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -170411,14 +171436,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 repository: anyOf: - type: 'null' - - *809 + - *820 sender: *4 required: - action @@ -170519,11 +171544,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -170602,11 +171627,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -170687,9 +171712,9 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -170770,9 +171795,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -170853,9 +171878,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -170976,9 +172001,9 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -171061,7 +172086,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &867 type: object properties: archived_at: @@ -171077,9 +172102,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *818 + organization: *819 + projects_v2_item: &864 title: Projects v2 Item description: An item belonging to a project type: object @@ -171097,7 +172122,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *382 creator: *4 created_at: type: string @@ -171219,9 +172244,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171303,9 +172328,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171386,9 +172411,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171493,7 +172518,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &865 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +172542,7 @@ webhooks: required: - id - name - - &855 + - &866 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +172582,8 @@ webhooks: oneOf: - type: string - type: integer - - *854 - - *855 + - *865 + - *866 type: - 'null' - string @@ -171581,9 +172606,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171680,9 +172705,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171765,10 +172790,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *867 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -171850,9 +172875,9 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 - projects_v2: *363 + installation: *818 + organization: *819 + projects_v2: *375 sender: *4 required: - action @@ -171933,9 +172958,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -172016,9 +173041,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -172164,9 +173189,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -172237,10 +173262,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - repository @@ -172317,13 +173342,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *844 + enterprise: *817 + installation: *818 + number: &869 description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -174672,7 +175697,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -174754,11 +175779,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -177100,7 +178125,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *820 sender: *4 required: - action @@ -177182,11 +178207,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -179528,7 +180553,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *820 sender: *4 required: - action @@ -179610,13 +180635,13 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: &870 allOf: - - *658 + - *670 - type: object properties: allow_auto_merge: @@ -179678,7 +180703,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *820 sender: *4 required: - action @@ -179759,12 +180784,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -179844,11 +180869,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + enterprise: *817 + milestone: *380 + number: *869 + organization: *819 + pull_request: &871 title: Pull Request type: object properties: @@ -182175,7 +183200,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -182254,11 +183279,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -184604,7 +185629,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *820 sender: *4 required: - action @@ -184728,12 +185753,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -184813,11 +185838,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -187148,7 +188173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -187228,11 +188253,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + label: *843 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -189580,7 +190605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -189661,10 +190686,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -192010,7 +193035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -192090,12 +193115,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + enterprise: *817 + milestone: *380 + number: *869 + organization: *819 + pull_request: *871 + repository: *820 sender: *4 required: - action @@ -192174,12 +193199,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -192260,12 +193285,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -192345,12 +193370,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -192725,9 +193750,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -194957,7 +195982,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *820 sender: *4 required: - action @@ -195037,7 +196062,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &873 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195330,9 +196355,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -197550,7 +198575,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *820 sender: *4 required: - action @@ -197630,11 +198655,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *872 + comment: *873 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -199855,7 +200880,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *820 sender: *4 required: - action @@ -199936,9 +200961,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -202171,7 +203196,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *820 review: description: The review that was affected. type: object @@ -202422,9 +203447,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -204538,8 +205563,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *820 + review: &874 description: The review that was affected. type: object properties: @@ -204777,12 +205802,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -207129,7 +208154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_reviewer: title: User type: @@ -207215,12 +208240,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -209574,7 +210599,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +210794,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -212123,7 +213148,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_reviewer: title: User type: @@ -212210,12 +213235,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *808 + organization: *819 pull_request: title: Pull Request type: object @@ -214555,7 +215580,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +215764,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -216977,8 +218002,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *820 + review: *874 sender: *4 required: - action @@ -217058,9 +218083,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -219191,7 +220216,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *820 sender: *4 thread: type: object @@ -219588,9 +220613,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -221704,7 +222729,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *820 sender: *4 thread: type: object @@ -222103,10 +223128,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -224441,7 +225466,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -224523,11 +225548,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *875 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -226877,7 +227902,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -226956,11 +227981,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + label: *843 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -229299,7 +230324,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -229380,10 +230405,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -231712,7 +232737,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *820 sender: *4 required: - action @@ -231915,7 +232940,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *817 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +233035,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *818 + organization: *819 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +233624,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -233078,7 +234103,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *858 summary: type: string tag_name: @@ -233134,7 +234159,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -233212,9 +234237,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -233526,7 +234551,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *858 summary: type: string tag_name: @@ -233576,7 +234601,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *820 sender: *4 required: - action @@ -233653,10 +234678,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *817 + installation: *818 + organization: *819 + release: &876 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +235012,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *820 sender: *4 required: - action @@ -234064,11 +235089,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -234185,11 +235210,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -234267,9 +235292,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +235630,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *820 sender: *4 required: - action @@ -234681,10 +235706,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *817 + installation: *818 + organization: *819 + release: &877 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +236042,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *820 sender: *4 required: - action @@ -235093,11 +236118,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -235173,11 +236198,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + release: *877 + repository: *820 sender: *4 required: - action @@ -235253,11 +236278,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *723 sender: *4 required: - action @@ -235333,11 +236358,11 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *723 sender: *4 required: - action @@ -235413,10 +236438,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235493,10 +236518,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235574,10 +236599,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235662,10 +236687,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235780,10 +236805,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -235855,10 +236880,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 status: type: string @@ -235939,10 +236964,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236019,10 +237044,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236116,10 +237141,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236199,11 +237224,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_ruleset: *168 sender: *4 required: - action @@ -236281,11 +237306,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_ruleset: *168 sender: *4 required: - action @@ -236363,11 +237388,11 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_ruleset: *168 changes: type: object properties: @@ -236386,16 +237411,16 @@ webhooks: properties: added: type: array - items: *132 + items: *142 deleted: type: array - items: *132 + items: *142 updated: type: array items: type: object properties: - condition: *132 + condition: *142 changes: type: object properties: @@ -236428,16 +237453,16 @@ webhooks: properties: added: type: array - items: *679 + items: *691 deleted: type: array - items: *679 + items: *691 updated: type: array items: type: object properties: - rule: *679 + rule: *691 changes: type: object properties: @@ -236674,10 +237699,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236755,10 +237780,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -236836,7 +237861,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &878 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +237985,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237173,10 +238198,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237254,11 +238279,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *878 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237460,10 +238485,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237541,17 +238566,17 @@ webhooks: type: string enum: - created - alert: &868 + alert: &879 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri @@ -237655,10 +238680,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -237739,11 +238764,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *879 + installation: *818 + location: *880 + organization: *819 + repository: *820 sender: *4 required: - location @@ -237981,11 +239006,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238063,11 +239088,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238145,11 +239170,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238227,11 +239252,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238361,10 +239386,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *820 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -238442,11 +239467,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: &881 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238463,7 +239488,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: array items: @@ -238632,11 +239657,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: *881 sender: *4 required: - action @@ -238709,10 +239734,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238730,7 +239755,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: array items: @@ -238898,11 +239923,11 @@ webhooks: from: type: object properties: - security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 - repository: *443 + security_and_analysis: *389 + enterprise: *817 + installation: *818 + organization: *819 + repository: *455 sender: *4 required: - changes @@ -238980,12 +240005,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: &871 + sponsorship: &882 type: object properties: created_at: @@ -239290,12 +240315,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - sponsorship @@ -239383,12 +240408,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - changes @@ -239465,17 +240490,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &883 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - sponsorship @@ -239549,7 +240574,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &884 type: object properties: tier: @@ -239593,13 +240618,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *883 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - changes @@ -239676,13 +240701,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *884 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *871 + sponsorship: *882 required: - action - changes @@ -239756,10 +240781,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +240868,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +241305,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *817 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *818 name: type: string - organization: *808 - repository: *809 + organization: *819 + repository: *820 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +241423,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - parent_issue_repo: *67 + parent_issue: *194 + parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240490,15 +241515,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - parent_issue_repo: *67 + parent_issue: *194 + parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240582,15 +241607,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - sub_issue_repo: *67 + sub_issue: *194 + sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240674,15 +241699,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - sub_issue_repo: *67 + sub_issue: *194 + sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *194 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240759,12 +241784,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - team: &874 + team: &885 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +242019,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -241466,7 +242491,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -241542,9 +242567,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -242014,7 +243039,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -242091,9 +243116,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -242563,7 +243588,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -242707,9 +243732,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -243179,7 +244204,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - changes @@ -243257,9 +244282,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -243729,7 +244754,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *885 required: - action - team @@ -243805,10 +244830,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243881,17 +244906,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *817 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *818 + organization: *819 ref: type: string - repository: *809 + repository: *820 sender: *4 workflow: type: string @@ -243973,10 +244998,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -244232,7 +245257,7 @@ webhooks: type: string required: - conclusion - deployment: *569 + deployment: *581 required: - action - repository @@ -244311,10 +245336,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -244596,7 +245621,7 @@ webhooks: required: - status - steps - deployment: *569 + deployment: *581 required: - action - repository @@ -244675,10 +245700,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -244824,7 +245849,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *581 required: - action - repository @@ -244903,10 +245928,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -245053,7 +246078,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *581 required: - action - repository @@ -245133,12 +246158,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Workflow Run type: object @@ -246157,12 +247182,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Workflow Run type: object @@ -247166,12 +248191,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *828 + workflow: *839 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 13d5fb5fa..070debada 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -2509,6 +2513,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -2529,6 +2540,11 @@ "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean", "default": false + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -2580,6 +2596,281 @@ } } }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an enterprise", + "description": "List custom images for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get an enterprise custom image definition for GitHub Actions Hosted Runners", + "description": "Get an enterprise custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the enterprise", + "description": "Delete a custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an enterprise", + "description": "List image versions of a custom image for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the enterprise", + "description": "Delete an image version of custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", @@ -2946,6 +3237,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -8689,6 +8987,216 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-28-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-28-day-report" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -8738,12 +9246,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -10233,7 +10735,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -10540,6 +11042,9 @@ "parameters": [ { "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/cost-center-state" } ], "responses": { @@ -11133,7 +11638,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -11501,6 +12006,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -11818,16 +12333,62 @@ "subcategory": "enterprise-team-members" } }, - "put": { - "summary": "Add team member", - "description": "Add a team member to an enterprise team.", + "put": { + "summary": "Add team member", + "description": "Add a team member to an enterprise team.", + "tags": [ + "enterprise-team-memberships" + ], + "operationId": "enterprise-team-memberships/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "201": { + "description": "Successfully added team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/simple-user" + }, + "examples": { + "exampleKey1": { + "$ref": "#/components/examples/simple-user" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + }, + "delete": { + "summary": "Remove team membership", + "description": "Remove membership of a specific user from a particular team in an enterprise.", "tags": [ "enterprise-team-memberships" ], - "operationId": "enterprise-team-memberships/add", + "operationId": "enterprise-team-memberships/remove", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" }, "parameters": [ { @@ -11840,17 +12401,304 @@ "$ref": "#/components/parameters/username" } ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], "responses": { "201": { - "description": "Successfully added team member", + "description": "Successfully assigned the enterprise team to the organization.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/organization-simple" }, "examples": { - "exampleKey1": { - "$ref": "#/components/examples/simple-user" + "default": { + "$ref": "#/components/examples/organization-simple" } } } @@ -11861,19 +12709,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } }, "delete": { - "summary": "Remove team membership", - "description": "Remove membership of a specific user from a particular team in an enterprise.", + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", "tags": [ - "enterprise-team-memberships" + "enterprise-team-organizations" ], - "operationId": "enterprise-team-memberships/remove", + "operationId": "enterprise-team-organizations/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" }, "parameters": [ { @@ -11883,22 +12731,19 @@ "$ref": "#/components/parameters/enterprise-team" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/org" } ], "responses": { "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -12003,6 +12848,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -15462,7 +16317,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -16119,6 +16974,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -16137,6 +16999,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -16189,6 +17056,281 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/actions-custom-image-definition-id" + }, + { + "$ref": "#/components/parameters/actions-custom-image-version" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -16555,6 +17697,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -21105,6 +22254,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -25584,12 +26804,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -32816,17 +34030,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -33004,17 +34222,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -55708,16 +56930,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "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).\"", @@ -55733,12 +56945,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -73421,7 +74627,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -88970,17 +90176,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -89149,17 +90359,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -89708,7 +90922,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -120205,6 +121419,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -120375,6 +121596,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -120387,6 +121612,128 @@ "platform" ] }, + "actions-hosted-runner-custom-image": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "actions-hosted-runner-custom-image-version": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, "actions-hosted-runner-curated-image": { "title": "GitHub-hosted runner image details.", "description": "Provides details of a hosted runner image", @@ -124212,6 +125559,60 @@ ], "additionalProperties": true }, + "copilot-usage-metrics-1-day-report": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "copilot-usage-metrics-28-day-report": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, "dependabot-alert-package": { "type": "object", "description": "Details for the vulnerable package.", @@ -127708,7 +129109,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -127716,7 +129117,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -127724,7 +129125,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -132219,7 +133620,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -132227,7 +133628,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -132235,7 +133636,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -133126,6 +134527,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "campaign-summary": { "title": "Campaign summary", "description": "The campaign metadata and alert stats.", @@ -159764,7 +161174,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -159772,7 +161182,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -159780,7 +161190,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -308637,6 +310047,45 @@ "last_active_on": "2022-10-09T23:39:01Z" } }, + "actions-hosted-runner-custom-image-versions": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + }, + "actions-hosted-runner-custom-image": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + }, + "actions-hosted-runner-custom-image-version": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + }, "actions-hosted-runner-curated-image": { "value": { "id": "ubuntu-20.04", @@ -310165,6 +311614,25 @@ } ] }, + "copilot-usage-metrics-1-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + }, + "copilot-usage-metrics-28-day-report": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + }, "dependabot-alerts-for-organization": { "value": [ { @@ -311227,6 +312695,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -312747,24 +314249,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "organization-custom-repository-role-example": { "value": { "id": 8030, @@ -313773,6 +315257,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -340065,6 +341561,25 @@ "type": "string" } }, + "actions-custom-image-definition-id": { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + "actions-custom-image-version": { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + }, "hosted-runner-id": { "name": "hosted_runner_id", "description": "Unique identifier of the GitHub-hosted runner.", @@ -340280,6 +341795,19 @@ "type": "integer" } }, + "day": { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + }, "dependabot-alert-comma-separated-states": { "name": "state", "in": "query", @@ -340367,29 +341895,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}